Function at 0x413bb0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x401686
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xec
push ebx
push esi
push edi
mov dword [ebp - 0x14], esp
mov dword [ebp - 0x10], 0x401580
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xe0], eax
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
push 0x406aa4
call fcn.0040ed50
push 0x406b8c
push 0x80000002
call fcn.0040fc00
cmp ax, 0xffff
jne 0x4140a8
push 0x406c30
call fcn.0040ed50
mov edx, 0x406d2c
lea ecx, [ebp - 0x30]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
call esi
xor edx, edx
mov ecx, 0x4190b8
call esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x94], eax
mov ecx, 0x4008
mov dword [ebp - 0x9c], ecx
mov edx, 0x419094
mov dword [ebp - 0xa4], edx
mov esi, 0x4009
mov dword [ebp - 0xac], esi
sub esp, 0x10
mov edi, esp
mov dword [edi], ecx
mov ecx, dword [ebp - 0x98]
mov dword [edi + 4], ecx
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x90]
mov dword [edi + 0xc], eax
sub esp, 0x10
mov ecx, esp
mov dword [ecx], esi
mov eax, dword [ebp - 0xa8]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
mov edx, dword [ebp - 0xa0]
mov dword [ecx + 0xc], edx
push 2
push 0x406e58
mov eax, dword [0x419080]
push eax
lea ecx, [ebp - 0x5c]
push ecx
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaLateMemCallLd]
call esi
add esp, 0x30
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjVar]
push eax
push 0x419078
call dword [sym.imp.MSVBVM60.DLL___vbaObjSetAddref]
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
push 0
push 0x406e68
mov edx, dword [0x419078]
push edx
lea eax, [ebp - 0x5c]
push eax
call esi
add esp, 0x10
push eax
lea ecx, [ebp - 0x6c]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarNot]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaBoolVarNull]
mov word [ebp - 0xe4], ax
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
cmp word [ebp - 0xe4], 0
push 0
je 0x413f2a
push 0x4068bc
mov edx, dword [0x419078]
push edx
lea eax, [ebp - 0x5c]
push eax
call esi
add esp, 0x10
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjVar]
push eax
push 0x41907c
call dword [sym.imp.MSVBVM60.DLL___vbaObjSetAddref]
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov ecx, dword [0x4190b8]
mov dword [ebp - 0xb4], ecx
mov ecx, 8
mov dword [ebp - 0xbc], ecx
mov eax, 0x406a78
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0xc4], 0x406a9c
mov dword [ebp - 0xcc], ecx
lea edx, [ebp - 0xbc]
push edx
sub esp, 0x10
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [ebp - 0x98]
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x90]
mov dword [edx + 0xc], eax
push 1
push 0x406a84
mov ecx, dword [0x41907c]
push ecx
lea edx, [ebp - 0x5c]
push edx
call esi
add esp, 0x20
push eax
lea eax, [ebp - 0x6c]
push eax
call edi
push eax
lea ecx, [ebp - 0xcc]
push ecx
lea edx, [ebp - 0x7c]
push edx
call edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
mov ecx, 0x4190b8
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x6c]
push ecx
lea edx, [ebp - 0x5c]
push edx
push 3
call ebx
add esp, 0x10
mov eax, 0x80020004
mov dword [ebp - 0x84], eax
mov ecx, 0xa
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x6c], ecx
mov eax, 0x406a78
mov dword [ebp - 0x94], eax
mov ecx, 8
mov dword [ebp - 0x9c], ecx
mov edx, dword [0x4190e4]
mov ebx, dword [edx]
lea edx, [ebp - 0x8c]
push edx
lea edx, [ebp - 0x7c]
push edx
lea edx, [ebp - 0x6c]
push edx
sub esp, 0x10
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [ebp - 0x98]
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x90]
mov dword [edx + 0xc], eax
push 1
push 0x406a84
mov ecx, dword [0x41907c]
push ecx
lea edx, [ebp - 0x5c]
push edx
call esi
add esp, 0x20
push eax
mov eax, dword [0x4190e4]
push eax
call dword [ebx + 0x20]
fnclex
test eax, eax
jge 0x413ef2
push 0x20
push 0x406150
mov ecx, dword [0x4190e4]
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea edx, [ebp - 0x8c]
push edx
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x6c]
push ecx
lea edx, [ebp - 0x5c]
push edx
push 4
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
call ebx
push 0
push 0x4066dc
mov eax, dword [0x419078]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaLateMemCall]
add esp, 0x20
jmp 0x413d23
push 0x4066f0
mov ecx, dword [0x419078]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaLateMemCall]
add esp, 0xc
push 0
push 0x41907c
call dword [sym.imp.MSVBVM60.DLL___vbaObjSetAddref]
mov eax, dword [0x4190e4]
mov edx, dword [eax]
lea ecx, [ebp - 0xe0]
push ecx
push eax
call dword [edx + 0x24]
fnclex
test eax, eax
jge 0x413f79
push 0x24
push 0x406150
mov edx, dword [0x4190e4]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0xe0]
test eax, eax
jne 0x413fa4
push 0x406e78
call fcn.0040ed50
mov dword [ebp - 0x28], 0xffffffff
call dword [sym.imp.MSVBVM60.DLL___vbaExitProc]
push 0x414262
jmp 0x414251
push 0x406ee0
call fcn.0040ed50
mov eax, dword [0x4190e4]
mov ecx, dword [eax]
lea edx, [ebp - 0xe0]
push edx
push eax
call dword [ecx + 0x24]
fnclex
test eax, eax
jge 0x413fdb
push 0x24
push 0x406150
mov ecx, dword [0x4190e4]
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov ecx, dword [ebp - 0xe0]
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
mov dword [ebp - 0xf8], eax
mov esi, 1
mov eax, esi
mov dword [ebp - 0x24], eax
cmp ax, word [ebp - 0xf8]
jg 0x4140f7
mov dword [ebp - 0xa4], 0x4035fc
mov dword [ebp - 0xac], 8
lea edx, [ebp - 0x24]
mov dword [ebp - 0x94], edx
mov dword [ebp - 0x9c], 0x4002
mov eax, dword [0x4190e4]
mov ecx, dword [eax]
lea edx, [ebp - 0x5c]
push edx
lea edx, [ebp - 0x9c]
push edx
push eax
call dword [ecx + 0x1c]
fnclex
test eax, eax
jge 0x41405c
push 0x1c
push 0x406150
mov ecx, dword [0x4190e4]
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea edx, [ebp - 0xac]
push edx
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x6c]
push ecx
call edi
push eax
lea edx, [ebp - 0x34]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
push eax
call fcn.0040ed50
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x5c]
push ecx
push 2
call ebx
add esp, 0xc
mov ax, si
add ax, word [ebp - 0x24]
jo 0x414277
jmp 0x413ff4
push 0x4069f0
call fcn.0040ed50
push 0x406b8c
push 0x80000002
call fcn.004100b0
cmp ax, 0xffff
jne 0x4140e8
push 0x40686c
call fcn.0040ed50
mov dword [ebp - 0x28], 0xffffffff
call dword [sym.imp.MSVBVM60.DLL___vbaExitProc]
push 0x414262
jmp 0x414251
push 0x406c88
call fcn.0040ed50
call fcn.00411b00
mov dword [ebp - 0x28], 0xffffffff
call dword [sym.imp.MSVBVM60.DLL___vbaExitProc]
push 0x414262
jmp 0x414251
lea ecx, [ebp - 0x20]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
call esi
lea ecx, [ebp - 0x30]
call esi
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop