Function at 0x45ff40
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x401916
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe4
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x4017a0
mov eax, dword [0x469870]
xor edi, edi
cmp eax, edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x98], edi
mov dword [ebp - 0xa8], edi
mov dword [ebp - 0xb8], edi
mov dword [ebp - 0xd8], edi
jne 0x45ffc3
push 0x469870
push 0x4053dc
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov esi, dword [0x469870]
lea ecx, [ebp - 0x58]
push ecx
push esi
mov eax, dword [esi]
call dword [eax + 0x14]
cmp eax, edi
fnclex
jge 0x45ffe8
push 0x14
push 0x4053cc
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x54]
push ecx
push eax
mov edx, dword [eax]
mov esi, eax
call dword [edx + 0x50]
cmp eax, edi
fnclex
jge 0x46000c
push 0x50
push 0x4074d8
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov edx, dword [ebp - 0x54]
push edx
push 0x407bfc
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea edx, [ebp - 0x68]
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x68], 8
call ebx
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x54]
call esi
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea eax, [ebp - 0x68]
mov dword [ebp - 0x60], 0x80020004
push eax
mov dword [ebp - 0x68], 0xa
call dword [sym.imp.MSVBVM60.DLL_rtcFreeFile]
lea edx, [ebp - 0xa8]
lea ecx, [ebp - 0x38]
mov word [ebp - 0xa0], ax
mov dword [ebp - 0xa8], 2
call ebx
lea ecx, [ebp - 0x68]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
lea ecx, [ebp - 0x4c]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarCopy]
mov edx, eax
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaI2Var]
lea edx, [ebp - 0x38]
push eax
push edx
call edi
push eax
push 0xffffffffffffffff
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFileOpen]
lea ecx, [ebp - 0x54]
call esi
mov edx, 0x407cec
lea ecx, [ebp - 0x14]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
lea eax, [ebp - 0x14]
push eax
call fcn.0044fb30
push eax
push 0x4690f4
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov ecx, dword [0x4690f4]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaLateMemCallLd]
push 0
push 0x405974
lea edx, [ebp - 0x68]
push ecx
push edx
mov dword [ebp - 0x90], 1
mov dword [ebp - 0x98], 0x8002
call esi
add esp, 0x10
push eax
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstLt]
lea ecx, [ebp - 0x68]
mov dword [ebp - 0xdc], eax
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
cmp word [ebp - 0xdc], 0
je 0x46020b
lea ecx, [ebp - 0x38]
push 0x407c1c
push ecx
call edi
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaPrintFile]
push eax
push 0x407ad0
call esi
add esp, 0xc
lea edx, [ebp - 0x38]
push 0x407c34
push edx
call edi
push eax
push 0x407ad0
call esi
add esp, 0xc
lea eax, [ebp - 0x38]
push 0x407c50
push eax
call edi
push eax
push 0x407ad0
call esi
add esp, 0xc
lea ecx, [ebp - 0x38]
push 0x407c6c
push ecx
call edi
push eax
push 0x407ad0
call esi
add esp, 0xc
lea edx, [ebp - 0x38]
push 0x407c8c
push edx
call edi
push eax
push 0x407ad0
call esi
add esp, 0xc
lea eax, [ebp - 0x98]
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x90], 0x469188
push eax
push ecx
mov dword [ebp - 0x98], 0x4008
call dword [sym.imp.MSVBVM60.DLL_rtcTrimVar]
lea edx, [ebp - 0xa8]
lea eax, [ebp - 0x68]
push edx
lea ecx, [ebp - 0x78]
push eax
push ecx
mov dword [ebp - 0xa0], 0x407cdc
mov dword [ebp - 0xa8], 8
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
lea edx, [ebp - 0x38]
push eax
push edx
call edi
push eax
push 0x407a3c
call esi
jmp 0x4603ef
sub esp, 0x10
mov ecx, 2
mov edx, esp
mov dword [ebp - 0x98], ecx
or eax, 0xffffffff
push 1
mov dword [edx], ecx
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x90], eax
push 0x407d80
mov dword [edx + 4], ecx
mov ecx, dword [0x4690f4]
push ecx
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x8c]
mov dword [edx + 0xc], eax
lea edx, [ebp - 0x68]
push edx
call esi
add esp, 0x20
mov edx, eax
lea ecx, [ebp - 0x24]
call ebx
mov eax, dword [0x4690f4]
push 0
push 0x405974
lea ecx, [ebp - 0x68]
push eax
push ecx
call esi
add esp, 0x10
push eax
call edi
lea ecx, [ebp - 0x68]
mov dword [ebp - 0xf0], eax
mov esi, 1
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
cmp si, word [ebp - 0xf0]
jg 0x46038e
mov dx, si
xor eax, eax
sub dx, 1
mov ecx, 2
jo 0x4604a5
sub esp, 0x10
mov word [ebp - 0x90], dx
mov ebx, esp
mov edx, ecx
sub esp, 0x10
mov dword [ebp - 0x98], edx
mov dword [ebx], ecx
mov ecx, dword [ebp - 0xb4]
mov dword [ebx + 4], ecx
mov ecx, esp
push 2
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0xac]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x90]
mov dword [ecx], edx
mov edx, dword [ebp - 0x94]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x8c]
mov dword [ecx + 8], eax
lea eax, [ebp - 0x50]
push eax
mov dword [ecx + 0xc], edx
lea ecx, [ebp - 0x24]
lea edx, [ebp - 0x68]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarIndexLoadRefLock]
add esp, 0x30
push eax
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcTrimVar]
lea ecx, [ebp - 0x50]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
lea edx, [ebp - 0x78]
lea eax, [ebp - 0xd8]
push edx
lea ecx, [ebp - 0x88]
push eax
push ecx
mov dword [ebp - 0xd0], 0x4045f0
mov dword [ebp - 0xd8], 8
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
lea edx, [ebp - 0x38]
push eax
push edx
call edi
push eax
push 0x407a3c
call dword [sym.imp.MSVBVM60.DLL___vbaPrintFile]
lea eax, [ebp - 0x88]
lea ecx, [ebp - 0x78]
push eax
lea edx, [ebp - 0x68]
push ecx
push edx
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
mov eax, 1
add esp, 0x1c
add ax, si
jo 0x4604a5
mov esi, eax
jmp 0x460286
lea eax, [ebp - 0x98]
lea ecx, [ebp - 0x68]
push eax
push ecx
mov dword [ebp - 0x90], 0x469188
mov dword [ebp - 0x98], 0x4008
call dword [sym.imp.MSVBVM60.DLL_rtcTrimVar]
lea edx, [ebp - 0xa8]
lea eax, [ebp - 0x68]
push edx
lea ecx, [ebp - 0x78]
push eax
push ecx
mov dword [ebp - 0xa0], 0x407cdc
mov dword [ebp - 0xa8], 8
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
lea edx, [ebp - 0x38]
push eax
push edx
call edi
push eax
push 0x407a3c
call dword [sym.imp.MSVBVM60.DLL___vbaPrintFile]
lea eax, [ebp - 0x78]
lea ecx, [ebp - 0x68]
push eax
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
mov edx, dword [0x4690f4]
push 0
push 0x405998
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaLateMemCall]
add esp, 0x24
push 0
push 0x4690f4
call dword [sym.imp.MSVBVM60.DLL___vbaObjSetAddref]
lea eax, [ebp - 0x38]
push eax
call edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaFileClose]
push 0x460494
jmp 0x46046e
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x14]
call edi
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
lea ecx, [ebp - 0x24]
call esi
lea ecx, [ebp - 0x28]
call edi
lea ecx, [ebp - 0x38]
call esi
lea ecx, [ebp - 0x4c]
call esi
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
nop
nop