Function at 0x459840
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x405df6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0xc0
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x404268
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov dword [ebp - 4], 2
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 4], 3
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
test eax, eax
je 0x459f62
mov dword [ebp - 4], 4
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [ebp - 0xa8], edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xa8]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xa8]
push eax
call dword [edx + 0x68]
fnclex
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0
jge 0x459911
push 0x68
push 0x40ead0
mov ecx, dword [ebp - 0xa8]
push ecx
mov edx, dword [ebp - 0xac]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0xc4], eax
jmp 0x45991b
mov dword [ebp - 0xc4], 0
mov dword [ebp - 4], 5
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0xa8], ecx
push 0x410028
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
push 0x410088
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
push 0x4100b0
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
mov edx, dword [ebp + 0x1c]
lea ecx, [ebp - 0x90]
call dword [sym.imp.MSVBVM60.DLL___vbaVarVargNofree]
mov ecx, eax
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov edx, esp
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
call fcn.0045f530
mov edx, eax
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
push 0x4100dc
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xa8]
push ecx
call dword [eax + 0x20]
fnclex
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0
jge 0x459a43
push 0x20
push 0x40ead0
mov edx, dword [ebp - 0xa8]
push edx
mov eax, dword [ebp - 0xac]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0xc8], eax
jmp 0x459a4d
mov dword [ebp - 0xc8], 0
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x34]
push ecx
push 7
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0x20
mov dword [ebp - 4], 6
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [ebp - 0xa8], eax
lea ecx, [ebp - 0xa4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xa8]
push edx
call dword [ecx + 0x24]
fnclex
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0
jge 0x459ad7
push 0x24
push 0x40ead0
mov eax, dword [ebp - 0xa8]
push eax
mov ecx, dword [ebp - 0xac]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0xcc], eax
jmp 0x459ae1
mov dword [ebp - 0xcc], 0
mov dword [ebp - 4], 7
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov dword [ebp - 0xa8], eax
lea ecx, [ebp - 0xa4]
push ecx
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xa8]
push ecx
call dword [eax + 0x34]
fnclex
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0
jge 0x459b40
push 0x34
push 0x40af54
mov edx, dword [ebp - 0xa8]
push edx
mov eax, dword [ebp - 0xac]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0xd0], eax
jmp 0x459b4a
mov dword [ebp - 0xd0], 0
movsx ecx, word [ebp - 0xa4]
test ecx, ecx
je 0x459ebc
mov dword [ebp - 4], 8
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xa8]
push ecx
call dword [eax + 0x68]
fnclex
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0
jge 0x459bb5
push 0x68
push 0x40ead0
mov edx, dword [ebp - 0xa8]
push edx
mov eax, dword [ebp - 0xac]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0xd4], eax
jmp 0x459bbf
mov dword [ebp - 0xd4], 0
mov dword [ebp - 4], 9
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [ebp - 0xa8], edx
push 0x410028
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
push 0x410088
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
push 0x410114
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
mov edx, dword [ebp + 0x1c]
lea ecx, [ebp - 0x90]
call dword [sym.imp.MSVBVM60.DLL___vbaVarVargNofree]
mov ecx, eax
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov edx, esp
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
call fcn.0045f530
mov edx, eax
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
push 0x410154
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xa8]
push ecx
call dword [eax + 0x20]
fnclex
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0
jge 0x459ce7
push 0x20
push 0x40ead0
mov edx, dword [ebp - 0xa8]
push edx
mov eax, dword [ebp - 0xac]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0xd8], eax
jmp 0x459cf1
mov dword [ebp - 0xd8], 0
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x34]
push ecx
push 7
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0x20
mov dword [ebp - 4], 0xa
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [ebp - 0xa8], eax
lea ecx, [ebp - 0xa4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xa8]
push edx
call dword [ecx + 0x24]
fnclex
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0
jge 0x459d7b
push 0x24
push 0x40ead0
mov eax, dword [ebp - 0xa8]
push eax
mov ecx, dword [ebp - 0xac]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0xdc], eax
jmp 0x459d85
mov dword [ebp - 0xdc], 0
mov dword [ebp - 4], 0xb
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov dword [ebp - 0xa8], eax
lea ecx, [ebp - 0xa4]
push ecx
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xa8]
push ecx
call dword [eax + 0x34]
fnclex
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0
jge 0x459de4
push 0x34
push 0x40af54
mov edx, dword [ebp - 0xa8]
push edx
mov eax, dword [ebp - 0xac]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0xe0], eax
jmp 0x459dee
mov dword [ebp - 0xe0], 0
movsx ecx, word [ebp - 0xa4]
test ecx, ecx
je 0x459e13
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0x3ff00000
jmp 0x459eb7
mov dword [ebp - 4], 0xe
mov dword [ebp - 0x68], 1
mov dword [ebp - 0x70], 2
mov dword [ebp - 0x88], 0x410184
mov dword [ebp - 0x90], 8
lea edx, [ebp - 0x90]
lea ecx, [ebp - 0x60]
call dword [sym.imp.MSVBVM60.DLL___vbaVarDup]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
lea ecx, [ebp - 0x50]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSetAddref]
lea edx, [ebp - 0x70]
push edx
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0x80]
push edx
call fcn.0044e670
push 0x40af44
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaCastObj]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea edx, [ebp - 0x80]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaR8Var]
fstp qword [ebp - 0x28]
lea ecx, [ebp - 0x50]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x70]
push ecx
lea edx, [ebp - 0x60]
push edx
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x10
jmp 0x459f60
mov dword [ebp - 4], 0x11
mov dword [ebp - 0x68], 1
mov dword [ebp - 0x70], 2
mov dword [ebp - 0x88], 0x410184
mov dword [ebp - 0x90], 8
lea edx, [ebp - 0x90]
lea ecx, [ebp - 0x60]
call dword [sym.imp.MSVBVM60.DLL___vbaVarDup]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x50]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSetAddref]
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x60]
push ecx
lea edx, [ebp - 0x50]
push edx
lea eax, [ebp - 0x80]
push eax
call fcn.0044e670
push 0x40af44
mov ecx, dword [ebp - 0x50]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaCastObj]
push eax
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaR8Var]
fstp qword [ebp - 0x28]
lea ecx, [ebp - 0x50]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea ecx, [ebp - 0x80]
push ecx
lea edx, [ebp - 0x70]
push edx
lea eax, [ebp - 0x60]
push eax
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x10
jmp 0x459f77
mov dword [ebp - 4], 0x14
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0x3ff00000
mov dword [ebp - 4], 0x16
fld qword [ebp - 0x28]
fcomp qword [0x404318]
fnstsw ax
test ah, 1
je 0x459fa3
mov dword [ebp - 4], 0x17
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0x3ff00000
mov dword [ebp - 4], 0x19
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x2c], edx
jmp 0x459feb
call dword [sym.imp.MSVBVM60.DLL___vbaExitProc]
wait
push 0x45a042
jmp 0x45a041
ret