Function at 0x426470
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x403616
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x90
push ebx
push esi
push edi
mov dword [ebp - 0x14], esp
mov dword [ebp - 0x10], 0x401778
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x80], ebx
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 0x28], ebx
push 0x40ee88
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
call esi
mov edx, eax
lea ecx, [ebp - 0x2c]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
call edi
push eax
push 0x40ef74
call esi
mov edx, eax
lea ecx, [ebp - 0x30]
call edi
push eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
call esi
mov edx, eax
lea ecx, [ebp - 0x34]
call edi
push eax
push 0x40c8bc
call esi
mov edx, eax
lea ecx, [ebp - 0x24]
call edi
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x2c]
push eax
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0x10
cmp dword [ebp - 0x20], ebx
jne 0x42654f
lea ecx, [ebp - 0x20]
push ecx
push 0x40e894
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov edi, dword [ebp - 0x20]
cmp dword [0x450134], ebx
jne 0x42656a
push 0x450134
push 0x405f20
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov esi, dword [0x450134]
mov edx, dword [esi]
lea eax, [ebp - 0x80]
push eax
push esi
call dword [edx + 0x164]
fnclex
cmp eax, ebx
jge 0x426595
push 0x164
push 0x40b7d8
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov ecx, dword [edi]
movsx edx, word [ebp - 0x80]
push edx
push edi
call dword [ecx + 0xf0]
fnclex
cmp eax, ebx
jge 0x4265bb
push 0xf0
push 0x40e8a4
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
cmp dword [ebp - 0x20], ebx
jne 0x4265cf
lea eax, [ebp - 0x20]
push eax
push 0x40e894
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov esi, dword [ebp - 0x20]
cmp dword [0x450014], ebx
jne 0x4265ea
push 0x450014
push 0x40ca78
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov eax, 9
mov ecx, dword [ebp - 0x24]
mov edx, 8
mov edi, dword [esi]
push 1
push 1
push ebx
sub esp, 0x10
mov ebx, esp
mov dword [ebx], eax
mov eax, dword [ebp - 0x78]
mov dword [ebx + 4], eax
mov eax, dword [0x450014]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x70]
mov dword [ebx + 0xc], eax
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [ebp - 0x68]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x60]
mov dword [eax + 0xc], ecx
push esi
call dword [edi + 0xa0]
fnclex
test eax, eax
jge 0x426652
push 0xa0
push 0x40e8a4
push esi
push eax
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
call ebx
jmp 0x426658
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x426675
lea edx, [ebp - 0x20]
push edx
push 0x40e894
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaNew2]
call edi
mov eax, dword [ebp - 0x20]
jmp 0x42667b
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov esi, eax
mov ecx, dword [eax]
lea edx, [ebp - 0x80]
push edx
push eax
call dword [ecx + 0x50]
fnclex
test eax, eax
jge 0x426698
push 0x50
push 0x40e8a4
push esi
push eax
call ebx
cmp word [ebp - 0x80], 0
mov eax, dword [ebp - 0x20]
jne 0x42688e
test eax, eax
jne 0x4266b8
lea eax, [ebp - 0x20]
push eax
push 0x40e894
call edi
mov eax, dword [ebp - 0x20]
mov esi, eax
mov ecx, dword [eax]
lea edx, [ebp - 0x38]
push edx
push eax
call dword [ecx + 0x54]
fnclex
test eax, eax
jge 0x4266d5
push 0x54
push 0x40e8a4
push esi
push eax
call ebx
mov eax, dword [ebp - 0x38]
mov esi, eax
mov ecx, 0x40efa4
mov edx, 8
mov edi, dword [eax]
lea ebx, [ebp - 0x3c]
push ebx
sub esp, 0x10
mov ebx, esp
mov dword [ebx], edx
mov edx, dword [ebp - 0x68]
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x60]
mov dword [ebx + 0xc], ecx
push eax
call dword [edi + 0x28]
fnclex
test eax, eax
jge 0x426719
push 0x28
push 0x40e8c0
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x4c], 9
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcUpperCaseVar]
lea ecx, [ebp - 0x5c]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
mov ecx, dword [ebp + 0x10]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea edx, [ebp - 0x5c]
push edx
lea eax, [ebp - 0x4c]
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x426785
lea ecx, [ebp - 0x20]
push ecx
push 0x40e894
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov eax, dword [ebp - 0x20]
mov esi, eax
mov edx, dword [eax]
lea ecx, [ebp - 0x38]
push ecx
push eax
call dword [edx + 0x54]
fnclex
test eax, eax
jge 0x4267a6
push 0x54
push 0x40e8a4
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x38]
mov esi, eax
mov ecx, 0x40efb4
mov edx, 8
mov edi, dword [eax]
lea ebx, [ebp - 0x3c]
push ebx
sub esp, 0x10
mov ebx, esp
mov dword [ebx], edx
mov edx, dword [ebp - 0x68]
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x60]
mov dword [ebx + 0xc], ecx
push eax
call dword [edi + 0x28]
fnclex
test eax, eax
jge 0x4267ee
push 0x28
push 0x40e8c0
push esi
push eax
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
call edi
jmp 0x4267f4
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x3c]
mov esi, eax
mov edx, dword [eax]
lea ecx, [ebp - 0x4c]
push ecx
push eax
call dword [edx + 0x34]
fnclex
test eax, eax
jge 0x426814
push 0x34
push 0x40e8d0
push esi
push eax
call edi
lea edx, [ebp - 0x4c]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaI4Var]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp - 0x38]
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x426858
lea ecx, [ebp - 0x20]
push ecx
push 0x40e894
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov eax, dword [ebp - 0x20]
mov esi, eax
mov edx, dword [eax]
push eax
call dword [edx + 0x80]
fnclex
test eax, eax
jge 0x426877
push 0x80
push 0x40e8a4
push esi
push eax
call edi
mov dword [ebp - 0x28], 0xffffffff
call dword [sym.imp.MSVBVM60.DLL___vbaExitProc]
push 0x426924
jmp 0x426911
test eax, eax
jne 0x4268a0
lea eax, [ebp - 0x20]
push eax
push 0x40e894
call edi
mov eax, dword [ebp - 0x20]
mov esi, eax
mov ecx, dword [eax]
push eax
call dword [ecx + 0x80]
fnclex
test eax, eax
jge 0x4268cc
push 0x80
push 0x40e8a4
push esi
push eax
call ebx
call dword [sym.imp.MSVBVM60.DLL___vbaExitProc]
push 0x426924
jmp 0x426911
call dword [sym.imp.MSVBVM60.DLL___vbaExitProc]
push 0x426924
jmp 0x426911
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
ret