Function at 0x45c750
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x4023a6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14c
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x401328
mov eax, dword [ebp + 0xc]
xor edi, edi
push 0x4108a8
push edi
mov ecx, dword [eax]
push 7
lea edx, [ebp - 0x4c]
push ecx
push edx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x8c], edi
mov dword [ebp - 0x9c], edi
mov dword [ebp - 0xac], edi
mov dword [ebp - 0xbc], edi
mov dword [ebp - 0xcc], edi
mov dword [ebp - 0xdc], edi
mov dword [ebp - 0xec], edi
mov dword [ebp - 0x110], edi
mov dword [ebp - 0x114], edi
call dword [sym.imp.MSVBVM60.DLL___vbaLateIdCallLd]
add esp, 0x10
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaCastObjVar]
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov esi, eax
push esi
mov ecx, dword [esi]
call dword [ecx + 0x2c]
cmp eax, edi
fnclex
jge 0x45c823
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x2c
push 0x4108a8
push esi
push eax
call ebx
jmp 0x45c829
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov edx, dword [ebp + 0xc]
push 0x4108b8
push edi
push 2
mov eax, dword [edx]
lea ecx, [ebp - 0x4c]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaLateIdCallLd]
add esp, 0x10
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaCastObjVar]
lea edx, [ebp - 0x30]
push eax
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov esi, eax
push esi
mov eax, dword [esi]
call dword [eax + 0x2c]
cmp eax, edi
fnclex
jge 0x45c881
push 0x2c
push 0x4108b8
push esi
push eax
call ebx
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0xbc]
push ecx
push edx
mov dword [ebp - 0xb4], edi
mov dword [ebp - 0xbc], 0x800b
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
test ax, ax
je 0x45cafa
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x30]
push edx
mov esi, dword [eax]
push esi
mov ecx, dword [esi]
call dword [ecx + 0x54]
cmp eax, edi
fnclex
jge 0x45c8dd
push 0x54
push 0x40df94
push esi
push eax
call ebx
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x114]
push edx
push eax
mov ecx, dword [eax]
mov esi, eax
call dword [ecx + 0x1c]
cmp eax, edi
fnclex
jge 0x45c900
push 0x1c
push 0x4114d0
push esi
push eax
call ebx
mov ecx, dword [ebp - 0x114]
sub ecx, 1
jo 0x45cfd9
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], 1
mov dword [ebp - 0x14], edi
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
mov ax, word [ebp - 0x140]
cmp word [ebp - 0x14], ax
jg 0x45cafa
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x30]
push eax
mov esi, dword [ecx]
push esi
mov edx, dword [esi]
call dword [edx + 0x54]
cmp eax, edi
fnclex
jge 0x45c962
push 0x54
push 0x40df94
push esi
push eax
call ebx
mov cx, word [ebp - 0x14]
lea esi, [ebp - 0x34]
push esi
mov eax, dword [ebp - 0x30]
sub esp, 0x10
mov word [ebp - 0xb4], cx
mov esi, esp
mov ecx, 2
mov dword [ebp - 0xbc], ecx
mov edx, dword [eax]
mov dword [esi], ecx
mov ecx, dword [ebp - 0xb8]
push eax
mov dword [ebp - 0x120], eax
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0xb4]
mov dword [esi + 8], ecx
mov ecx, dword [ebp - 0xb0]
mov dword [esi + 0xc], ecx
call dword [edx + 0x28]
cmp eax, edi
fnclex
jge 0x45c9c4
mov edx, dword [ebp - 0x120]
push 0x28
push 0x40dfac
push edx
push eax
call ebx
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x2c]
push edx
push eax
mov ecx, dword [eax]
mov esi, eax
call dword [ecx + 0x2c]
cmp eax, edi
fnclex
jge 0x45c9e4
push 0x2c
push 0x4112f4
push esi
push eax
call ebx
mov eax, dword [ebp + 0xc]
push 0x4108b8
push edi
push 2
mov ecx, dword [eax]
lea edx, [ebp - 0x4c]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaLateIdCallLd]
add esp, 0x10
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaCastObjVar]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov edx, 0xa
mov esi, eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xac], edx
mov dword [ebp - 0x9c], edx
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x5c], edx
lea edx, [ebp - 0x3c]
mov dword [ebp - 0x74], eax
push edx
lea eax, [ebp - 0xac]
lea edx, [ebp - 0x9c]
push eax
push edx
lea eax, [ebp - 0x8c]
lea edx, [ebp - 0x7c]
push eax
mov ecx, 0x80020004
push edx
lea eax, [ebp - 0x6c]
lea edx, [ebp - 0x5c]
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x7c], 8
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x54], ecx
mov ecx, dword [esi]
push eax
push edx
push esi
call dword [ecx + 0x3c]
cmp eax, edi
fnclex
jge 0x45ca99
push 0x3c
push 0x4108b8
push esi
push eax
call ebx
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x38]
push eax
lea edx, [ebp - 0x34]
push ecx
lea eax, [ebp - 0x30]
push edx
push eax
push 4
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
lea ecx, [ebp - 0xac]
lea edx, [ebp - 0x9c]
push ecx
lea eax, [ebp - 0x8c]
push edx
lea ecx, [ebp - 0x7c]
push eax
lea edx, [ebp - 0x6c]
push ecx
lea eax, [ebp - 0x5c]
push edx
lea ecx, [ebp - 0x4c]
push eax
push ecx
push 7
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
mov dx, word [ebp - 0x13c]
add esp, 0x34
add dx, word [ebp - 0x14]
jo 0x45cfd9
mov dword [ebp - 0x14], edx
jmp 0x45c931
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x110]
push edx
mov esi, dword [eax]
push esi
mov ecx, dword [esi]
call dword [ecx + 0x50]
cmp eax, edi
fnclex
jge 0x45cb1d
push 0x50
push 0x40df94
push esi
push eax
call ebx
cmp word [ebp - 0x110], di
jne 0x45cf5a
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x30]
push edx
mov esi, dword [eax]
push esi
mov ecx, dword [esi]
call dword [ecx + 0x54]
cmp eax, edi
fnclex
jge 0x45cb4a
push 0x54
push 0x40df94
push esi
push eax
call ebx
lea ebx, [ebp - 0x34]
mov eax, dword [ebp - 0x30]
push ebx
mov edx, 2
sub esp, 0x10
mov dword [ebp - 0xbc], edx
mov ebx, esp
xor ecx, ecx
mov dword [ebp - 0xb4], ecx
mov edi, dword [eax]
mov dword [ebx], edx
mov edx, dword [ebp - 0xb8]
push eax
mov esi, eax
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0xb0]
mov dword [ebx + 0xc], ecx
call dword [edi + 0x28]
xor edi, edi
cmp eax, edi
fnclex
jge 0x45cba3
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x28
push 0x40dfac
push esi
push eax
call ebx
jmp 0x45cba9
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov edx, dword [ebp + 0xc]
push 0x4108a8
push edi
push 7
mov eax, dword [edx]
lea ecx, [ebp - 0x4c]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaLateIdCallLd]
add esp, 0x10
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaCastObjVar]
lea edx, [ebp - 0x38]
push eax
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov ecx, 0x80020004
mov edx, 0xa
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x9c], edx
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x5c], edx
lea ecx, [ebp - 0x3c]
lea edx, [ebp - 0x9c]
push ecx
push edx
lea ecx, [ebp - 0x8c]
lea edx, [ebp - 0x7c]
mov esi, eax
mov eax, dword [ebp - 0x34]
push ecx
push edx
lea ecx, [ebp - 0x6c]
lea edx, [ebp - 0x5c]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x7c], 9
mov eax, dword [esi]
push ecx
push edx
push esi
call dword [eax + 0x28]
cmp eax, edi
fnclex
jge 0x45cc4b
push 0x28
push 0x4108a8
push esi
push eax
call ebx
mov eax, dword [ebp - 0x3c]
push 0x40e184
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaCastObj]
lea ecx, [ebp - 0x18]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea edx, [ebp - 0x3c]
lea eax, [ebp - 0x38]
push edx
lea ecx, [ebp - 0x30]
push eax
push ecx
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
lea edx, [ebp - 0x9c]
lea eax, [ebp - 0x8c]
push edx
lea ecx, [ebp - 0x7c]
push eax
lea edx, [ebp - 0x6c]
push ecx
lea eax, [ebp - 0x5c]
push edx
lea ecx, [ebp - 0x4c]
push eax
push ecx
push 6
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
mov edx, dword [ebp + 8]
add esp, 0x2c
lea ecx, [ebp - 0x30]
mov esi, dword [edx]
push ecx
push esi
mov eax, dword [esi]
call dword [eax + 0x54]
cmp eax, edi
fnclex
jge 0x45ccc2
push 0x54
push 0x40df94
push esi
push eax
call ebx
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x114]
push ecx
push eax
mov edx, dword [eax]
mov esi, eax
call dword [edx + 0x1c]
cmp eax, edi
fnclex
jge 0x45cce5
push 0x1c
push 0x4114d0
push esi
push eax
call ebx
mov ecx, dword [ebp - 0x114]
sub ecx, 1
jo 0x45cfd9
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x148], eax
mov esi, 1
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
cmp si, word [ebp - 0x148]
jg 0x45cf2f
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x30]
push ecx
mov edi, dword [edx]
push edi
mov eax, dword [edi]
call dword [eax + 0x54]
test eax, eax
fnclex
jge 0x45cd3b
push 0x54
push 0x40df94
push edi
push eax
call ebx
lea ebx, [ebp - 0x34]
mov eax, dword [ebp - 0x30]
push ebx
mov ecx, 2
sub esp, 0x10
mov dword [ebp - 0xbc], ecx
mov ebx, esp
mov word [ebp - 0xb4], si
mov edx, dword [eax]
push eax
mov dword [ebx], ecx
mov ecx, dword [ebp - 0xb8]
mov edi, eax
mov dword [ebx + 4], ecx
mov ecx, dword [ebp - 0xb4]
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0xb0]
mov dword [ebx + 0xc], ecx
call dword [edx + 0x28]
test eax, eax
fnclex
jge 0x45cd93
push 0x28
push 0x40dfac
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x4c]
push edx
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x4c], 9
call dword [sym.imp.MSVBVM60.DLL_rtcIsNull]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x38]
mov edi, dword [eax]
push edx
push edi
mov ecx, dword [edi]
call dword [ecx + 0x54]
test eax, eax
fnclex
jge 0x45cddb
push 0x54
push 0x40df94
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea ebx, [ebp - 0x3c]
mov eax, dword [ebp - 0x38]
push ebx
mov ecx, 2
sub esp, 0x10
mov edx, dword [eax]
mov ebx, esp
mov word [ebp - 0xc4], si
push eax
mov edi, eax
mov dword [ebx], ecx
mov ecx, dword [ebp - 0xc8]
mov dword [ebx + 4], ecx
mov ecx, dword [ebp - 0xc4]
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0xc0]
mov dword [ebx + 0xc], ecx
call dword [edx + 0x28]
test eax, eax
fnclex
jge 0x45ce31
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x28
push 0x40dfac
push edi
push eax
call ebx
jmp 0x45ce37
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0xec]
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x6c], 9
mov dword [ebp - 0xe4], 0x40decc
mov dword [ebp - 0xec], 8
call dword [sym.imp.MSVBVM60.DLL___vbaVarDup]
xor edx, edx
cmp word [ebp - 0x110], 0xffff
lea eax, [ebp - 0x6c]
lea ecx, [ebp - 0x5c]
sete dl
neg edx
mov word [ebp - 0xd4], dx
push eax
lea edx, [ebp - 0xdc]
push ecx
lea eax, [ebp - 0x7c]
push edx
push eax
mov dword [ebp - 0xdc], 0xb
call dword [sym.imp.MSVBVM60.DLL_rtcImmediateIf]
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x7c]
lea eax, [ebp - 0x2c]
push edx
mov edi, dword [ecx]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
mov ecx, dword [ebp - 0x18]
push eax
push esi
push ecx
call dword [edi + 0x88]
test eax, eax
fnclex
jge 0x45cedd
mov edx, dword [ebp - 0x18]
push 0x88
push 0x40e184
push edx
push eax
call ebx
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x30]
push eax
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
lea edx, [ebp - 0x7c]
lea eax, [ebp - 0x6c]
push edx
lea ecx, [ebp - 0x5c]
push eax
lea edx, [ebp - 0xdc]
push ecx
lea eax, [ebp - 0x4c]
push edx
push eax
push 5
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
mov eax, 1
add esp, 0x24
add ax, si
jo 0x45cfd9
mov esi, eax
xor edi, edi
jmp 0x45cd0e
mov ecx, dword [ebp + 8]
mov esi, dword [ecx]
push esi
mov edx, dword [esi]
call dword [edx + 0x90]
cmp eax, edi
fnclex
jge 0x45cafa
push 0x90
push 0x40df94
push esi
push eax
call ebx
jmp 0x45cafa
push 0x45cfc6
jmp 0x45cfb3
lea ecx, [ebp - 0x18]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop