Function at 0x43f790
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x401316
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x138
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x4012a8
xor esi, esi
lea edx, [ebp - 0xe8]
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x98], esi
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0xb8], esi
mov dword [ebp - 0xc8], esi
mov dword [ebp - 0xd8], esi
mov dword [ebp - 0xf8], esi
mov dword [ebp - 0x128], esi
mov dword [ebp - 0x12c], esi
mov dword [ebp - 0xe0], 0x402400
mov dword [ebp - 0xe8], 8
call dword [sym.imp.MSVBVM60.DLL___vbaVarDup]
mov edx, dword [ebp + 8]
push esi
lea eax, [ebp - 0x88]
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0xd8]
call dword [sym.imp.MSVBVM60.DLL___vbaVarVargNofree]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
lea ecx, [ebp - 0x58]
push eax
push ecx
call edi
lea edx, [ebp - 0x98]
push eax
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcSplit]
lea edx, [ebp - 0x98]
lea ecx, [ebp - 0x50]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x58]
call ebx
lea ecx, [ebp - 0x88]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
sub esp, 0x10
mov eax, 2
mov edx, esp
mov ecx, eax
mov dword [ebp - 0xd8], ecx
mov dword [ebp - 0xd0], eax
mov dword [edx], ecx
mov ecx, dword [ebp - 0xd4]
push 1
mov dword [edx + 4], ecx
lea ecx, [ebp - 0x54]
push ecx
mov dword [edx + 8], eax
mov eax, dword [ebp - 0xcc]
mov dword [edx + 0xc], eax
lea edx, [ebp - 0x50]
lea eax, [ebp - 0x88]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarIndexLoadRefLock]
add esp, 0x20
push 2
push eax
lea ecx, [ebp - 0x98]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcRightCharVar]
lea edx, [ebp - 0x54]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
lea eax, [ebp - 0x98]
lea ecx, [ebp - 0x58]
push eax
push ecx
call edi
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcR8ValFromBstr]
fstp qword [ebp - 0xf0]
lea edx, [ebp - 0xf8]
lea ecx, [ebp - 0x40]
mov dword [ebp - 0xf8], 5
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea ecx, [ebp - 0x58]
call ebx
lea edx, [ebp - 0x98]
lea eax, [ebp - 0x88]
push edx
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
add esp, 0xc
lea ecx, [ebp - 0xd8]
lea edx, [ebp - 0x88]
push ecx
mov eax, 8
push 0x4420d0
push edx
mov dword [ebp - 0xd0], 0x409aa8
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xe0], 0x409b70
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xf0], 0x4023e4
mov dword [ebp - 0xf8], eax
call ebx
push eax
lea eax, [ebp - 0xe8]
lea ecx, [ebp - 0x98]
push eax
push ecx
call ebx
push eax
lea edx, [ebp - 0x40]
lea eax, [ebp - 0xa8]
push edx
push eax
call ebx
lea ecx, [ebp - 0xf8]
push eax
lea edx, [ebp - 0xb8]
push ecx
push edx
call ebx
mov edx, eax
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea eax, [ebp - 0xa8]
lea ecx, [ebp - 0x98]
push eax
lea edx, [ebp - 0x88]
push ecx
push edx
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
mov eax, dword [0x442010]
mov ecx, dword [0x442034]
add esp, 0x10
mov dword [ebp - 0xd0], eax
mov eax, 9
push 0xffffffffffffffff
push 1
push esi
mov dword [ebp - 0xd8], eax
mov edx, dword [ecx]
sub esp, 0x10
mov ecx, esp
sub esp, 0x10
mov dword [ecx], eax
mov eax, dword [ebp - 0xd4]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0xd0]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0xcc]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x30]
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [ebp - 0x2c]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x28]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x24]
mov dword [ecx + 0xc], eax
mov ecx, dword [0x442034]
push ecx
call dword [edx + 0xa0]
cmp eax, esi
fnclex
jge 0x43fa89
mov edx, dword [0x442034]
push 0xa0
push 0x4020a8
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [0x442034]
lea edx, [ebp - 0x12c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
cmp eax, esi
fnclex
jge 0x43fab6
mov ecx, dword [0x442034]
push 0x50
push 0x4020a8
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
cmp word [ebp - 0x12c], si
jne 0x43fbac
mov eax, dword [0x442034]
push eax
mov edx, dword [eax]
call dword [edx + 0x98]
cmp eax, esi
fnclex
jge 0x43faef
mov ecx, dword [0x442034]
push 0x98
push 0x4020a8
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [0x442034]
lea ecx, [ebp - 0x74]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x54]
cmp eax, esi
fnclex
jge 0x43fb19
mov edx, dword [0x442034]
push 0x54
push 0x4020a8
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea edx, [ebp - 0x78]
mov eax, 8
push edx
mov ecx, dword [ebp - 0x74]
sub esp, 0x10
mov dword [ebp - 0xd8], eax
mov edx, esp
mov dword [ebp - 0xd0], 0x4020d8
mov dword [ebp - 0x138], ecx
mov ecx, dword [ecx]
mov dword [edx], eax
mov eax, dword [ebp - 0xd4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0xd0]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0xcc]
mov dword [edx + 0xc], eax
mov edx, dword [ebp - 0x74]
push edx
call dword [ecx + 0x28]
cmp eax, esi
fnclex
jge 0x43fb81
mov ecx, dword [ebp - 0x138]
push 0x28
push 0x4020e8
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x78]
lea edx, [ebp - 0x88]
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x88], 9
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea ecx, [ebp - 0x74]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
mov eax, dword [0x442034]
push eax
mov edx, dword [eax]
call dword [edx + 0x80]
cmp eax, esi
fnclex
jge 0x43fbd8
mov ecx, dword [0x442034]
push 0x80
push 0x4020a8
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
sub esp, 0x10
mov ecx, 2
mov edx, esp
mov dword [ebp - 0xd8], ecx
mov eax, 3
push 1
mov dword [edx], ecx
mov ecx, dword [ebp - 0xd4]
mov dword [ebp - 0xd0], eax
mov dword [edx + 4], ecx
lea ecx, [ebp - 0x50]
push ecx
mov dword [edx + 8], eax
mov eax, dword [ebp - 0xcc]
mov dword [edx + 0xc], eax
lea edx, [ebp - 0x88]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarIndexLoad]
add esp, 0x1c
lea eax, [ebp - 0x60]
push esi
push 0xffffffffffffffff
push 1
push 0x4420f0
push eax
call edi
lea ecx, [ebp - 0x88]
push eax
lea edx, [ebp - 0x5c]
push ecx
push edx
call edi
mov edx, dword [ebp + 8]
push eax
lea ecx, [ebp - 0xf8]
call dword [sym.imp.MSVBVM60.DLL___vbaVarVargNofree]
push eax
lea eax, [ebp - 0x58]
push eax
call edi
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcReplace]
mov edx, eax
lea ecx, [ebp - 0x70]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
sub esp, 0x10
mov eax, 2
mov edx, esp
mov ecx, eax
push 1
mov dword [edx], ecx
mov ecx, dword [ebp - 0x104]
mov dword [edx + 4], ecx
lea ecx, [ebp - 0x50]
push ecx
mov dword [edx + 8], eax
mov eax, dword [ebp - 0xfc]
mov dword [edx + 0xc], eax
lea edx, [ebp - 0xb8]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarIndexLoad]
mov eax, dword [ebp - 0x70]
add esp, 0x1c
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x148], eax
push esi
push 0xffffffffffffffff
push 1
lea edx, [ebp - 0x128]
push ecx
lea eax, [ebp - 0x98]
push edx
push eax
mov dword [ebp - 0x120], 0x402400
mov dword [ebp - 0x128], 8
mov dword [ebp - 0x70], esi
call ebx
lea ecx, [ebp - 0x20]
push eax
push ecx
lea edx, [ebp - 0xa8]
push edx
call ebx
push eax
lea eax, [ebp - 0x6c]
push eax
call edi
lea ecx, [ebp - 0xb8]
push eax
lea edx, [ebp - 0x68]
push ecx
push edx
call edi
mov edx, dword [ebp - 0x148]
push eax
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcReplace]
lea edx, [ebp - 0xc8]
mov ecx, 0x4420e0
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xc8], 8
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea eax, [ebp - 0x70]
lea ecx, [ebp - 0x6c]
push eax
lea edx, [ebp - 0x68]
push ecx
lea eax, [ebp - 0x64]
push edx
lea ecx, [ebp - 0x60]
push eax
lea edx, [ebp - 0x5c]
push ecx
lea eax, [ebp - 0x58]
push edx
push eax
push 7
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
lea ecx, [ebp - 0xa8]
lea edx, [ebp - 0xb8]
push ecx
lea eax, [ebp - 0x98]
push edx
lea ecx, [ebp - 0x88]
push eax
push ecx
push 4
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x34
wait
push 0x43fe0f
jmp 0x43fdf4
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
lea ecx, [ebp - 0x20]
call esi
lea ecx, [ebp - 0x30]
call esi
lea ecx, [ebp - 0x40]
call esi
lea ecx, [ebp - 0x50]
call esi
ret