Function at 0x4543a0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x413306
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x144
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x406ff8
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
push 0xc
push 0x41d21c
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryConstruct2]
mov dword [ebp - 4], 3
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 4], 5
mov dword [ebp - 0xe4], 0
mov edx, 0x41d084
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
cmp dword [ebp - 0x24], 0
jne 0x454444
lea ecx, [ebp - 0x24]
push ecx
push 0x416ddc
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x114], edx
jmp 0x45444d
lea eax, [ebp - 0x24]
mov dword [ebp - 0x114], eax
lea ecx, [ebp - 0xe4]
push ecx
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x114]
push ecx
call fcn.00455cb0
mov word [ebp - 0xe8], ax
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
movsx edx, word [ebp - 0xe8]
test edx, edx
je 0x454da3
mov dword [ebp - 4], 7
lea eax, [ebp - 0x40]
mov dword [ebp - 0xe4], eax
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0xac], 0x600c
cmp dword [ebp - 0x24], 0
jne 0x4544cd
lea edx, [ebp - 0x24]
push edx
push 0x416ddc
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
lea eax, [ebp - 0x24]
mov dword [ebp - 0x118], eax
jmp 0x4544d6
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x118], ecx
lea edx, [ebp - 0xac]
push edx
mov eax, dword [ebp - 0x118]
push eax
call fcn.00452210
movsx ecx, ax
test ecx, ecx
je 0x454da3
mov dword [ebp - 4], 9
cmp dword [ebp - 0x24], 0
jne 0x45451b
lea edx, [ebp - 0x24]
push edx
push 0x416ddc
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
lea eax, [ebp - 0x24]
mov dword [ebp - 0x11c], eax
jmp 0x454524
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x11c], ecx
mov edx, dword [ebp - 0x11c]
mov eax, dword [edx]
mov dword [ebp - 0xe8], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [ebp - 0xb4], edx
mov dword [ebp - 0xbc], 8
mov dword [ebp - 0xa4], 0x41d258
mov dword [ebp - 0xac], 8
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov eax, esp
mov ecx, dword [ebp - 0xbc]
mov dword [eax], ecx
mov edx, dword [ebp - 0xb8]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0xb4]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0xb0]
mov dword [eax + 0xc], edx
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov eax, esp
mov ecx, dword [ebp - 0xac]
mov dword [eax], ecx
mov edx, dword [ebp - 0xa8]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0xa4]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0xa0]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0xe8]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xe8]
push edx
call dword [ecx + 0x100]
fnclex
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 0
jge 0x454605
push 0x100
push 0x416ff4
mov eax, dword [ebp - 0xe8]
push eax
mov ecx, dword [ebp - 0xec]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x120], eax
jmp 0x45460f
mov dword [ebp - 0x120], 0
mov dword [ebp - 4], 0xb
cmp dword [ebp - 0x24], 0
jne 0x454636
lea edx, [ebp - 0x24]
push edx
push 0x416ddc
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
lea eax, [ebp - 0x24]
mov dword [ebp - 0x124], eax
jmp 0x45463f
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x124], ecx
mov edx, dword [ebp - 0x124]
mov eax, dword [edx]
mov dword [ebp - 0xe8], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov dword [ebp - 0xb4], edx
mov dword [ebp - 0xbc], 8
mov dword [ebp - 0xa4], 0x41d288
mov dword [ebp - 0xac], 8
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov eax, esp
mov ecx, dword [ebp - 0xbc]
mov dword [eax], ecx
mov edx, dword [ebp - 0xb8]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0xb4]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0xb0]
mov dword [eax + 0xc], edx
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov eax, esp
mov ecx, dword [ebp - 0xac]
mov dword [eax], ecx
mov edx, dword [ebp - 0xa8]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0xa4]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0xa0]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0xe8]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xe8]
push edx
call dword [ecx + 0x100]
fnclex
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 0
jge 0x454720
push 0x100
push 0x416ff4
mov eax, dword [ebp - 0xe8]
push eax
mov ecx, dword [ebp - 0xec]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x128], eax
jmp 0x45472a
mov dword [ebp - 0x128], 0
mov dword [ebp - 4], 0xd
cmp dword [ebp - 0x24], 0
jne 0x454751
lea edx, [ebp - 0x24]
push edx
push 0x416ddc
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
lea eax, [ebp - 0x24]
mov dword [ebp - 0x12c], eax
jmp 0x45475a
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x12c], ecx
mov edx, dword [ebp - 0x12c]
mov eax, dword [edx]
mov dword [ebp - 0xe8], eax
lea ecx, [ebp - 0x6c]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcGetPresentDate]
mov dword [ebp - 0xa4], 0x41b3e8
mov dword [ebp - 0xac], 8
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov edx, esp
mov eax, dword [ebp - 0x6c]
mov dword [edx], eax
mov ecx, dword [ebp - 0x68]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x64]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x60]
mov dword [edx + 0xc], ecx
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov edx, esp
mov eax, dword [ebp - 0xac]
mov dword [edx], eax
mov ecx, dword [ebp - 0xa8]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0xa4]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0xa0]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp - 0xe8]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xe8]
push ecx
call dword [eax + 0x100]
fnclex
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 0
jge 0x454824
push 0x100
push 0x416ff4
mov edx, dword [ebp - 0xe8]
push edx
mov eax, dword [ebp - 0xec]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x130], eax
jmp 0x45482e
mov dword [ebp - 0x130], 0
lea ecx, [ebp - 0x6c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 0xf
cmp dword [0x4d6aa0], 0
jne 0x454863
push 0x4d6aa0
push 0x4171fc
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov dword [ebp - 0x134], 0x4d6aa0
jmp 0x45486d
mov dword [ebp - 0x134], 0x4d6aa0
mov ecx, dword [ebp - 0x134]
mov edx, dword [ecx]
mov dword [ebp - 0xe8], edx
lea eax, [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0xe8]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xe8]
push eax
call dword [edx + 0x14]
fnclex
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 0
jge 0x4548c5
push 0x14
push 0x4171ec
mov ecx, dword [ebp - 0xe8]
push ecx
mov edx, dword [ebp - 0xec]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x138], eax
jmp 0x4548cf
mov dword [ebp - 0x138], 0
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0xf0], eax
lea ecx, [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0xf0]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xf0]
push ecx
call dword [eax + 0x58]
fnclex
mov dword [ebp - 0xf4], eax
cmp dword [ebp - 0xf4], 0
jge 0x454922
push 0x58
push 0x41720c
mov edx, dword [ebp - 0xf0]
push edx
mov eax, dword [ebp - 0xf4]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x13c], eax
jmp 0x45492c
mov dword [ebp - 0x13c], 0
cmp dword [ebp - 0x24], 0
jne 0x45494c
lea ecx, [ebp - 0x24]
push ecx
push 0x416ddc
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x140], edx
jmp 0x454955
lea eax, [ebp - 0x24]
mov dword [ebp - 0x140], eax
mov ecx, dword [ebp - 0x140]
mov edx, dword [ecx]
mov dword [ebp - 0xf8], edx
mov eax, dword [ebp - 0x48]
push eax
push 0x418230
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
mov ecx, dword [0x4d6174]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x6c], 8
push 0x64
lea edx, [ebp - 0x6c]
push edx
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcLeftCharVar]
mov dword [ebp - 0xa4], 0x41d2b8
mov dword [ebp - 0xac], 8
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov ecx, esp
mov edx, dword [ebp - 0x7c]
mov dword [ecx], edx
mov eax, dword [ebp - 0x78]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x74]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x70]
mov dword [ecx + 0xc], eax
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov ecx, esp
mov edx, dword [ebp - 0xac]
mov dword [ecx], edx
mov eax, dword [ebp - 0xa8]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0xa4]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0xa0]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0xf8]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xf8]
push eax
call dword [edx + 0x100]
fnclex
mov dword [ebp - 0xfc], eax
cmp dword [ebp - 0xfc], 0
jge 0x454a57
push 0x100
push 0x416ff4
mov ecx, dword [ebp - 0xf8]
push ecx
mov edx, dword [ebp - 0xfc]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x144], eax
jmp 0x454a61
mov dword [ebp - 0x144], 0
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x48]
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea edx, [ebp - 0x7c]
push edx
lea eax, [ebp - 0x6c]
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
mov dword [ebp - 4], 0x11
cmp dword [ebp - 0x24], 0
jne 0x454ab7
lea ecx, [ebp - 0x24]
push ecx
push 0x416ddc
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x148], edx
jmp 0x454ac0
lea eax, [ebp - 0x24]
mov dword [ebp - 0x148], eax
mov ecx, dword [ebp - 0x148]
mov edx, dword [ecx]
mov dword [ebp - 0xe8], edx
mov dword [ebp - 0xa4], 0x419cb8
mov dword [ebp - 0xac], 8
lea edx, [ebp - 0xac]
lea ecx, [ebp - 0x6c]
call dword [sym.imp.MSVBVM60.DLL___vbaVarDup]
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x7c]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcEnvironVar]
mov dword [ebp - 0xb4], 0x4171d8
mov dword [ebp - 0xbc], 8
mov edx, dword [0x4d60fc]
mov dword [ebp - 0xc4], edx
mov dword [ebp - 0xcc], 8
mov dword [ebp - 0xd4], 0x41d2e0
mov dword [ebp - 0xdc], 8
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0xbc]
push ecx
lea edx, [ebp - 0x8c]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0x9c]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
mov edx, eax
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov eax, esp
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov eax, esp
mov ecx, dword [ebp - 0xdc]
mov dword [eax], ecx
mov edx, dword [ebp - 0xd8]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0xd4]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0xd0]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0xe8]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xe8]
push edx
call dword [ecx + 0x100]
fnclex
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 0
jge 0x454c09
push 0x100
push 0x416ff4
mov eax, dword [ebp - 0xe8]
push eax
mov ecx, dword [ebp - 0xec]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x14c], eax
jmp 0x454c13
mov dword [ebp - 0x14c], 0
lea edx, [ebp - 0x9c]
push edx
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x7c]
push ecx
lea edx, [ebp - 0x6c]
push edx
push 4
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x14
mov dword [ebp - 4], 0x13
cmp dword [ebp - 0x24], 0
jne 0x454c5b
lea eax, [ebp - 0x24]
push eax
push 0x416ddc
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x150], ecx
jmp 0x454c64
lea edx, [ebp - 0x24]
mov dword [ebp - 0x150], edx
mov eax, dword [ebp - 0x150]
mov ecx, dword [eax]
mov dword [ebp - 0xe8], ecx
mov dword [ebp - 0xa4], 0x41d308
mov dword [ebp - 0xac], 8
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov edx, esp
mov eax, dword [0x4d612c]
mov dword [edx], eax
mov ecx, dword [0x4d6130]
mov dword [edx + 4], ecx
mov eax, dword [0x4d6134]
mov dword [edx + 8], eax
mov ecx, dword [0x4d6138]
mov dword [edx + 0xc], ecx
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov edx, esp
mov eax, dword [ebp - 0xac]
mov dword [edx], eax
mov ecx, dword [ebp - 0xa8]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0xa4]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0xa0]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp - 0xe8]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xe8]
push ecx
call dword [eax + 0x100]
fnclex
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 0
jge 0x454d2e
push 0x100
push 0x416ff4
mov edx, dword [ebp - 0xe8]
push edx
mov eax, dword [ebp - 0xec]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x154], eax
jmp 0x454d38
mov dword [ebp - 0x154], 0
mov dword [ebp - 4], 0x15
lea ecx, [ebp - 0x40]
mov dword [ebp - 0xe4], ecx
lea edx, [ebp - 0xe4]
mov dword [ebp - 0xa4], edx
mov dword [ebp - 0xac], 0x600c
cmp dword [ebp - 0x24], 0
jne 0x454d7e
lea eax, [ebp - 0x24]
push eax
push 0x416ddc
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x158], ecx
jmp 0x454d87
lea edx, [ebp - 0x24]
mov dword [ebp - 0x158], edx
lea eax, [ebp - 0xac]
push eax
mov ecx, dword [ebp - 0x158]
push ecx
call fcn.00457720
movsx edx, ax
test edx, edx
jne 0x454da3
jmp 0x454db0
mov dword [ebp - 4], 0x1f
mov word [ebp - 0x28], 0xffff
mov dword [ebp - 4], 0x22
cmp dword [ebp - 0x24], 0
jne 0x454dd7
lea eax, [ebp - 0x24]
push eax
push 0x416ddc
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x15c], ecx
jmp 0x454de0
lea edx, [ebp - 0x24]
mov dword [ebp - 0x15c], edx
mov eax, dword [ebp - 0x15c]
push eax
call fcn.00452fc0
jmp 0x45500b
call dword [sym.imp.MSVBVM60.DLL___vbaExitProc]
push 0x455084
jmp 0x455062
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea eax, [ebp - 0x40]
mov dword [ebp - 0xe4], eax
lea ecx, [ebp - 0xe4]
push ecx
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaAryDestruct]
ret