Function at 0x4b7ed0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x402526
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], 0x402490
mov eax, dword [ebp + 0xc]
xor edi, edi
push 0x416d98
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 0x4b7fa3
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x2c
push 0x416d98
push esi
push eax
call ebx
jmp 0x4b7fa9
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 0x4160c0
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 0x4b8001
push 0x2c
push 0x4160c0
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 0x4b827a
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 0x4b805d
push 0x54
push 0x40e35c
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 0x4b8080
push 0x1c
push 0x40e5fc
push esi
push eax
call ebx
mov ecx, dword [ebp - 0x114]
sub ecx, 1
jo 0x4b8759
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 0x4b827a
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 0x4b80e2
push 0x54
push 0x40e35c
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 0x4b8144
mov edx, dword [ebp - 0x120]
push 0x28
push 0x40e428
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 0x4b8164
push 0x2c
push 0x40e438
push esi
push eax
call ebx
mov eax, dword [ebp + 0xc]
push 0x4160c0
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 0x4b8219
push 0x3c
push 0x4160c0
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 0x4b8759
mov dword [ebp - 0x14], edx
jmp 0x4b80b1
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 0x4b829d
push 0x50
push 0x40e35c
push esi
push eax
call ebx
cmp word [ebp - 0x110], di
jne 0x4b86da
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 0x4b82ca
push 0x54
push 0x40e35c
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 0x4b8323
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x28
push 0x40e428
push esi
push eax
call ebx
jmp 0x4b8329
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov edx, dword [ebp + 0xc]
push 0x416d98
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 0x4b83cb
push 0x28
push 0x416d98
push esi
push eax
call ebx
mov eax, dword [ebp - 0x3c]
push 0x416680
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 0x4b8442
push 0x54
push 0x40e35c
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 0x4b8465
push 0x1c
push 0x40e5fc
push esi
push eax
call ebx
mov ecx, dword [ebp - 0x114]
sub ecx, 1
jo 0x4b8759
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 0x4b86af
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 0x4b84bb
push 0x54
push 0x40e35c
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 0x4b8513
push 0x28
push 0x40e428
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 0x4b855b
push 0x54
push 0x40e35c
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 0x4b85b1
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x28
push 0x40e428
push edi
push eax
call ebx
jmp 0x4b85b7
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], 0x40e53c
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 0x4b865d
mov edx, dword [ebp - 0x18]
push 0x88
push 0x416680
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 0x4b8759
mov esi, eax
xor edi, edi
jmp 0x4b848e
mov ecx, dword [ebp + 8]
mov esi, dword [ecx]
push esi
mov edx, dword [esi]
call dword [edx + 0x90]
cmp eax, edi
fnclex
jge 0x4b827a
push 0x90
push 0x40e35c
push esi
push eax
call ebx
jmp 0x4b827a
push 0x4b8746
jmp 0x4b8733
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