Function at 0x464a50
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x401f26
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc8
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x401e60
mov edx, dword [ebp + 8]
xor ebx, ebx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0xb8], ebx
mov dword [ebp - 0xbc], ebx
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
sub esp, 0x10
mov ecx, 8
mov edx, esp
mov edi, ecx
mov eax, 0x40b640
push 1
mov dword [edx], ecx
mov ecx, dword [ebp - 0x70]
push 0x40b644
mov dword [ebp - 0x20], ebx
mov dword [edx + 4], ecx
mov ecx, dword [0x46902c]
push ecx
mov esi, 0x40b674
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x68]
mov dword [edx + 0xc], eax
lea edx, [ebp - 0x44]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaLateMemCallLd]
mov edx, dword [eax]
add esp, 0x10
mov ecx, esp
sub esp, 0x10
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov edx, dword [ebp - 0xa0]
mov dword [ecx + 0xc], eax
mov ecx, esp
mov eax, dword [ebp - 0x98]
push 2
mov dword [ecx], edi
push 0x40b678
mov dword [ecx + 4], edx
lea edx, [ebp - 0x54]
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], eax
mov ecx, dword [0x46902c]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaLateMemCallLd]
add esp, 0x30
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaI4Var]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x54]
lea ecx, [ebp - 0x44]
push eax
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
mov edx, dword [ebp - 0x14]
add esp, 0xc
push edx
push 0x410538
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
call edi
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
lea ecx, [ebp - 0x28]
call esi
push eax
mov eax, dword [ebp - 0x18]
push eax
call edi
mov edx, eax
lea ecx, [ebp - 0x2c]
call esi
push eax
push 0x410d04
call edi
mov edx, eax
lea ecx, [ebp - 0x14]
call esi
lea ecx, [ebp - 0x2c]
lea edx, [ebp - 0x28]
push ecx
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
mov eax, dword [ebp - 0x14]
add esp, 0xc
push eax
push 0x410d3c
call edi
mov edx, eax
lea ecx, [ebp - 0x14]
call esi
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrI4]
mov edx, eax
lea ecx, [ebp - 0x28]
call esi
push eax
call edi
mov edx, eax
lea ecx, [ebp - 0x2c]
call esi
push eax
push 0x410db8
call edi
mov edx, eax
lea ecx, [ebp - 0x14]
call esi
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x28]
push eax
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
mov edx, dword [ebp - 0x14]
add esp, 0xc
push edx
push 0x410e24
call edi
mov edx, eax
lea ecx, [ebp - 0x14]
call esi
push 0x40a00c
mov ecx, 0x4008
sub esp, 0x10
lea eax, [ebp - 0x14]
mov edi, esp
mov edx, 1
mov esi, 2
mov dword [ebp - 0x7c], edx
mov dword [edi], ecx
mov ecx, esp
mov dword [ebp - 0xd8], edi
mov edi, dword [ebp - 0x70]
mov dword [ecx + 4], edi
mov dword [ebp - 0x84], esi
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x68]
sub esp, 0x10
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x80]
mov ecx, esp
push esi
push 0x409fe8
mov dword [ecx], esi
mov dword [ecx + 4], eax
mov eax, dword [0x46902c]
push eax
mov dword [ecx + 8], edx
mov edx, dword [ebp - 0x78]
mov dword [ecx + 0xc], edx
lea ecx, [ebp - 0x44]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaLateMemCallLd]
add esp, 0x30
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaCastObjVar]
lea edx, [ebp - 0x1c]
push eax
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0xb8]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
cmp eax, ebx
fnclex
jge 0x464cd2
mov ecx, dword [ebp - 0x1c]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x28
push 0x40a00c
push ecx
push eax
call esi
jmp 0x464cd8
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0xbc]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x30]
cmp eax, ebx
fnclex
jge 0x464cfc
mov edx, dword [ebp - 0x1c]
push 0x30
push 0x40a00c
push edx
push eax
call esi
xor eax, eax
cmp word [ebp - 0xbc], bx
sete al
xor ecx, ecx
cmp word [ebp - 0xb8], bx
sete cl
or eax, ecx
je 0x464df2
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x30]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x24]
cmp eax, ebx
fnclex
jge 0x464d3d
mov edx, dword [ebp - 0x1c]
push 0x24
push 0x40a00c
push edx
push eax
call esi
lea esi, [ebp - 0x34]
mov eax, dword [ebp - 0x30]
push esi
mov ecx, 8
sub esp, 0x10
mov edx, dword [eax]
mov esi, esp
mov dword [ebp - 0xc4], eax
push eax
mov dword [esi], ecx
mov ecx, 0x40e7d8
mov dword [esi + 4], edi
mov dword [esi + 8], ecx
mov ecx, dword [ebp - 0x68]
mov dword [esi + 0xc], ecx
call dword [edx + 0x34]
cmp eax, ebx
fnclex
jge 0x464d88
mov edx, dword [ebp - 0xc4]
push 0x34
push 0x40a030
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x44]
push eax
push ecx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x44], 9
call dword [sym.imp.MSVBVM60.DLL_rtcTrimVar]
lea edx, [ebp - 0x54]
lea eax, [ebp - 0x84]
push edx
push eax
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0x84], 0x8002
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
lea ecx, [ebp - 0x30]
mov esi, eax
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea ecx, [ebp - 0x54]
lea edx, [ebp - 0x44]
push ecx
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
cmp si, bx
je 0x464df2
mov dword [ebp - 0x20], 0xffffffff
push 0x40a00c
push ebx
call dword [sym.imp.MSVBVM60.DLL___vbaCastObj]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
push 0x464e62
jmp 0x464e48
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x14]
call esi
lea ecx, [ebp - 0x18]
call esi
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
ret