Function at 0x465df0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x401f26
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc4
push ebx
push esi
push edi
mov dword [ebp - 0x14], esp
mov dword [ebp - 0x10], 0x401e98
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 - 0x28], eax
mov dword [ebp - 0x2c], 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 - 0x50], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0xb4], eax
mov edx, dword [ebp + 0x10]
lea ecx, [ebp - 0x2c]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
call esi
mov edx, dword [ebp + 0x14]
lea ecx, [ebp - 0x28]
call esi
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
push 0x410f0c
mov eax, dword [ebp - 0x28]
push eax
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
call edi
mov edx, eax
lea ecx, [ebp - 0x30]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
call esi
push eax
push 0x410918
call edi
mov edx, eax
lea ecx, [ebp - 0x34]
call esi
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call edi
mov edx, eax
lea ecx, [ebp - 0x38]
call esi
push eax
push 0x407918
call edi
mov edx, eax
lea ecx, [ebp - 0x20]
call esi
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x30]
push ecx
push 3
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
call ebx
add esp, 0x10
mov edx, dword [ebp - 0x20]
push edx
push 0x410f90
call edi
mov edx, eax
lea ecx, [ebp - 0x30]
call esi
push eax
mov eax, dword [ebp - 0x28]
push eax
call edi
mov edx, eax
lea ecx, [ebp - 0x34]
call esi
push eax
push 0x40e214
call edi
mov edx, eax
lea ecx, [ebp - 0x20]
call esi
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0x30]
push edx
push 2
call ebx
add esp, 0xc
mov eax, dword [ebp - 0x20]
push eax
push 0x40e04c
call edi
mov edx, eax
lea ecx, [ebp - 0x20]
call esi
mov ecx, dword [ebp - 0x20]
push ecx
push 0x40d2f0
call edi
mov edx, eax
lea ecx, [ebp - 0x30]
call esi
push eax
mov edx, dword [ebp + 0x18]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrI4]
mov edx, eax
lea ecx, [ebp - 0x34]
call esi
push eax
call edi
mov edx, eax
lea ecx, [ebp - 0x38]
call esi
push eax
push 0x411040
call edi
mov edx, eax
lea ecx, [ebp - 0x20]
call esi
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0x30]
push edx
push 3
call ebx
add esp, 0x10
lea eax, [ebp - 0x20]
mov dword [ebp - 0x88], eax
mov ecx, 0x4008
mov dword [ebp - 0x90], ecx
mov edx, 1
mov edi, 2
push 0x40a00c
sub esp, 0x10
mov ebx, esp
mov dword [ebx], ecx
mov ecx, dword [ebp - 0x8c]
mov dword [ebx + 4], ecx
mov dword [ebx + 8], eax
mov dword [ebp - 0xdc], ebx
mov ebx, dword [ebp - 0x84]
mov eax, esp
mov dword [eax + 0xc], ebx
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edi
mov eax, dword [ebp - 0x9c]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
mov edx, dword [ebp - 0x94]
mov dword [ecx + 0xc], edx
push edi
push 0x409fe8
mov eax, dword [0x46902c]
push eax
lea ecx, [ebp - 0x50]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaLateMemCallLd]
add esp, 0x30
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaCastObjVar]
push eax
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea ecx, [ebp - 0x50]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
lea edx, [ebp - 0xb4]
push edx
push eax
call dword [ecx + 0x48]
fnclex
test eax, eax
jge 0x46603d
push 0x48
push 0x40a00c
mov ecx, dword [ebp - 0x24]
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0xb4]
test eax, eax
je 0x466245
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
lea ecx, [ebp - 0x3c]
push ecx
push eax
call dword [edx + 0x24]
fnclex
test eax, eax
jge 0x466070
push 0x24
push 0x40a00c
mov edx, dword [ebp - 0x24]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0x88], 0x410bf4
mov ecx, 8
mov dword [ebp - 0x90], ecx
mov edx, dword [eax]
lea edi, [ebp - 0x40]
push edi
sub esp, 0x10
mov edi, esp
mov dword [edi], ecx
mov ecx, dword [ebp - 0x8c]
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 0x88]
mov dword [edi + 8], ecx
mov dword [edi + 0xc], ebx
push eax
call dword [edx + 0x34]
fnclex
test eax, eax
jge 0x4660cf
push 0x34
push 0x40a030
mov edx, dword [ebp - 0xbc]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x48], eax
mov ecx, 9
mov dword [ebp - 0x50], ecx
sub esp, 0x10
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [ebp - 0x4c]
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x44]
mov dword [edx + 0xc], eax
push 1
push 0x40c344
mov ecx, dword [0x46902c]
push ecx
lea edx, [ebp - 0x60]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaLateMemCallLd]
add esp, 0x20
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
mov ecx, dword [ebp + 0xc]
call esi
lea ecx, [ebp - 0x3c]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
call edi
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x50]
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
lea ecx, [ebp - 0x3c]
push ecx
push eax
call dword [edx + 0x24]
fnclex
test eax, eax
jge 0x466166
push 0x24
push 0x40a00c
mov edx, dword [ebp - 0x24]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0x88], 0x410c08
mov ecx, 8
mov dword [ebp - 0x90], ecx
mov edx, dword [eax]
lea ebx, [ebp - 0x40]
push ebx
sub esp, 0x10
mov dword [ebp - 0xe0], edx
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [ebp - 0x8c]
mov dword [edx + 4], ecx
mov ecx, dword [ebp - 0x88]
mov dword [edx + 8], ecx
mov ebx, dword [ebp - 0x84]
mov dword [edx + 0xc], ebx
push eax
mov edx, dword [ebp - 0xe0]
call dword [edx + 0x34]
fnclex
test eax, eax
jge 0x4661d7
push 0x34
push 0x40a030
mov ecx, dword [ebp - 0xbc]
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x48], eax
mov ecx, 9
mov dword [ebp - 0x50], ecx
sub esp, 0x10
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [ebp - 0x4c]
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x44]
mov dword [edx + 0xc], eax
push 1
push 0x40b7c0
mov ecx, dword [0x46902c]
push ecx
lea edx, [ebp - 0x60]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaLateMemCallLd]
add esp, 0x20
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
mov ecx, dword [ebp + 8]
call esi
lea ecx, [ebp - 0x3c]
call edi
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x50]
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
jmp 0x46624b
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
mov edx, dword [ebp - 0x24]
push edx
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSetAddref]
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x88], eax
mov ecx, 0x4009
mov dword [ebp - 0x90], ecx
sub esp, 0x10
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [ebp - 0x8c]
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
mov dword [edx + 0xc], ebx
push 1
push 0x409da4
mov edx, dword [0x46902c]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaLateMemCall]
add esp, 0x1c
push 0x40a00c
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaCastObj]
push eax
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea ecx, [ebp - 0x3c]
call edi
call dword [sym.imp.MSVBVM60.DLL___vbaExitProc]
push 0x46646d
jmp 0x46644e
lea ecx, [ebp - 0x20]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
call esi
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea ecx, [ebp - 0x28]
call esi
lea ecx, [ebp - 0x2c]
call esi
ret