Function at 0x457060
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x402066
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb4
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x4017f8
mov edx, dword [ebp + 8]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
xor edi, edi
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x94], edi
mov dword [ebp - 0x98], edi
call esi
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x20]
call esi
mov eax, dword [ebp - 0x24]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
push 0x41343c
push eax
call esi
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
lea ecx, [ebp - 0x28]
call ebx
push eax
push 0x413460
call esi
mov edx, eax
lea ecx, [ebp - 0x18]
call ebx
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov eax, dword [0x49a540]
mov ecx, dword [ebp - 0x18]
cmp eax, edi
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x84], 8
jne 0x45713d
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaNew2]
push 0x49a540
push 0x40efd0
call esi
jmp 0x457143
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaNew2]
cmp dword [0x49a534], edi
jne 0x457157
push 0x49a534
push 0x40f004
call esi
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x80]
sub esp, 0x10
mov edx, esp
push 0x49a540
push 0x49a534
mov dword [edx], eax
mov eax, dword [ebp - 0x7c]
mov dword [edx + 4], ecx
mov ecx, dword [ebp - 0x78]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
call fcn.004545d0
cmp dword [0x49a540], edi
jne 0x457199
push 0x49a540
push 0x40efd0
call esi
mov esi, dword [0x49a540]
lea eax, [ebp - 0x30]
push eax
push esi
mov edx, dword [esi]
call dword [edx + 0x54]
cmp eax, edi
fnclex
jge 0x4571be
push 0x54
push 0x40f2cc
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x98]
push edx
push eax
mov ecx, dword [eax]
mov esi, eax
call dword [ecx + 0x1c]
cmp eax, edi
fnclex
jge 0x4571e5
push 0x1c
push 0x413474
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov ecx, dword [ebp - 0x98]
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
mov ebx, 1
lea ecx, [ebp - 0x30]
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0x14], ebx
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
cmp bx, word [ebp - 0xbc]
jg 0x457390
lea ecx, [ebp - 0x84]
lea edx, [ebp - 0x44]
lea eax, [ebp - 0x20]
push ecx
push edx
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x84], 0x4008
call dword [sym.imp.MSVBVM60.DLL_rtcUpperCaseVar]
cmp dword [0x49a540], edi
jne 0x45724e
push 0x49a540
push 0x40efd0
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov esi, dword [0x49a540]
lea ecx, [ebp - 0x30]
push ecx
push esi
mov eax, dword [esi]
call dword [eax + 0x54]
cmp eax, edi
fnclex
jge 0x457273
push 0x54
push 0x40f2cc
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
sub bx, 1
mov eax, dword [ebp - 0x30]
jo 0x457476
mov word [ebp - 0x8c], bx
lea ebx, [ebp - 0x34]
push ebx
mov ecx, 2
sub esp, 0x10
mov edx, dword [eax]
mov ebx, esp
mov esi, eax
push eax
mov dword [ebx], ecx
mov ecx, dword [ebp - 0x90]
mov dword [ebx + 4], ecx
mov ecx, dword [ebp - 0x8c]
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x88]
mov dword [ebx + 0xc], ecx
call dword [edx + 0x28]
cmp eax, edi
fnclex
jge 0x4572cf
push 0x28
push 0x40f2f8
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x28]
push ecx
push eax
mov edx, dword [eax]
mov esi, eax
call dword [edx + 0x2c]
cmp eax, edi
fnclex
jge 0x4572f3
push 0x2c
push 0x40f308
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x54]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x64]
push edx
push eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x54], 8
call dword [sym.imp.MSVBVM60.DLL_rtcUpperCaseVar]
lea ecx, [ebp - 0x44]
lea edx, [ebp - 0x64]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
mov esi, eax
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x30]
push eax
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
lea edx, [ebp - 0x64]
lea eax, [ebp - 0x44]
push edx
lea ecx, [ebp - 0x54]
push eax
push ecx
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x1c
cmp si, di
jne 0x457366
mov eax, 1
add ax, word [ebp - 0x14]
jo 0x457476
mov ebx, eax
mov dword [ebp - 0x14], ebx
jmp 0x457208
mov eax, dword [0x49a540]
mov dword [ebp - 0x1c], 0xffffffff
cmp eax, edi
jne 0x457386
push 0x49a540
push 0x40efd0
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
push 0x49a540
call fcn.004548e0
cmp dword [0x49a540], edi
jne 0x4573a8
push 0x49a540
push 0x40efd0
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
push 0x49a540
call fcn.004548e0
cmp word [ebp - 0x1c], di
jne 0x457406
mov edx, dword [ebp - 0x24]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
push edx
push 0x413488
call esi
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
lea ecx, [ebp - 0x28]
call edi
push eax
mov eax, dword [ebp - 0x20]
push eax
call esi
mov edx, eax
lea ecx, [ebp - 0x2c]
call edi
push eax
push 0x41349c
call esi
mov ecx, dword [ebp + 0x10]
mov edx, eax
call edi
lea ecx, [ebp - 0x2c]
lea edx, [ebp - 0x28]
push ecx
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
push 0x45745f
jmp 0x457449
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x18]
call esi
lea ecx, [ebp - 0x20]
call esi
lea ecx, [ebp - 0x24]
call esi
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
nop