Function at 0x57f320
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x403816
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa4
push ebx
push esi
push edi
mov dword [ebp - 0x14], esp
mov dword [ebp - 0x10], 0x403410
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x94], eax
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
push 0x4ac418
call dword [sym.imp.MSVBVM60.DLL___vbaNew]
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov ecx, dword [ebp - 0x20]
mov ebx, dword [ecx]
push 0x4ac43c
mov edx, dword [0x58a268]
push edx
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
call esi
mov edx, eax
lea ecx, [ebp - 0x44]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
call edi
push eax
push 0x4ac49c
call esi
mov edx, eax
lea ecx, [ebp - 0x48]
call edi
push eax
mov eax, dword [ebp - 0x20]
push eax
call dword [ebx + 0x24]
fnclex
test eax, eax
jge 0x57f3f4
push 0x24
push 0x4ac428
mov ecx, dword [ebp - 0x20]
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x44]
push eax
push 2
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
call ebx
add esp, 0xc
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
push 0xffffffffffffffff
push 0x4ab1e0
push 0x4ab1e0
push 0x4ab1e0
push eax
call dword [ecx + 0x50]
fnclex
test eax, eax
jge 0x57f43b
push 0x50
push 0x4ac428
mov edx, dword [ebp - 0x20]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x4b88fc
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrI4]
mov edx, eax
lea ecx, [ebp - 0x44]
call edi
push eax
call esi
mov edx, eax
lea ecx, [ebp - 0x48]
call edi
push eax
push 0x4ab1e0
call esi
mov edx, eax
lea ecx, [ebp - 0x30]
call edi
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x44]
push edx
push 2
call ebx
add esp, 0xc
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x57f492
lea eax, [ebp - 0x2c]
push eax
push 0x4b83cc
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov eax, dword [ebp - 0x2c]
mov esi, eax
mov ecx, dword [eax]
mov edx, dword [ebp - 0x30]
push edx
push eax
call dword [ecx + 0x30]
fnclex
test eax, eax
jge 0x57f4b3
push 0x30
push 0x4b8364
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x57f4cc
lea eax, [ebp - 0x2c]
push eax
push 0x4b83cc
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov eax, dword [ebp - 0x2c]
mov esi, eax
mov ecx, dword [ebp - 0x20]
mov edx, 9
mov edi, dword [eax]
sub esp, 0x10
mov ebx, esp
mov dword [ebx], edx
mov edx, dword [ebp - 0x7c]
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x74]
mov dword [ebx + 0xc], ecx
push eax
call dword [edi + 0x28]
fnclex
test eax, eax
jge 0x57f50b
push 0x28
push 0x4b8364
push esi
push eax
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
call edi
jmp 0x57f511
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x57f52b
lea edx, [ebp - 0x2c]
push edx
push 0x4b83cc
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaNew2]
call ebx
jmp 0x57f531
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov esi, dword [ebp - 0x2c]
mov ecx, 0x80020004
mov dword [ebp - 0x68], ecx
mov eax, 0xa
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0x60]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarg]
mov eax, dword [esi]
lea ecx, [ebp - 0x4c]
push ecx
push 0xffffffffffffffff
lea edx, [ebp - 0x70]
push edx
lea ecx, [ebp - 0x60]
push ecx
push esi
call dword [eax + 0x44]
fnclex
test eax, eax
jge 0x57f578
push 0x44
push 0x4b8364
push esi
push eax
call edi
push 0x4ac578
mov edx, dword [ebp - 0x4c]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaCastObj]
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea ecx, [ebp - 0x70]
push ecx
lea edx, [ebp - 0x60]
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x57f5c3
lea eax, [ebp - 0x24]
push eax
push 0x4ac588
call ebx
mov eax, dword [ebp - 0x24]
mov esi, eax
mov ecx, dword [eax]
lea edx, [ebp - 0x94]
push edx
push eax
call dword [ecx + 0x50]
fnclex
test eax, eax
jge 0x57f5e3
push 0x50
push 0x4ac598
push esi
push eax
call edi
cmp word [ebp - 0x94], 0
je 0x57f61e
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x3c]
fnclex
test eax, eax
jge 0x57f7b3
push 0x3c
push 0x4ac428
mov edx, dword [ebp - 0x20]
push edx
push eax
call edi
call dword [sym.imp.MSVBVM60.DLL___vbaExitProc]
push 0x57f82b
jmp 0x57f803
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x57f633
lea eax, [ebp - 0x24]
push eax
push 0x4ac588
call ebx
mov eax, dword [ebp - 0x24]
mov esi, eax
mov ecx, dword [eax]
lea edx, [ebp - 0x4c]
push edx
push eax
call dword [ecx + 0x54]
fnclex
test eax, eax
jge 0x57f650
push 0x54
push 0x4ac598
push esi
push eax
call edi
mov eax, dword [ebp - 0x4c]
mov esi, eax
mov ecx, 0x4ac860
mov edx, 8
mov edi, dword [eax]
lea ebx, [ebp - 0x50]
push ebx
sub esp, 0x10
mov ebx, esp
mov dword [ebx], edx
mov edx, dword [ebp - 0x7c]
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x74]
mov dword [ebx + 0xc], ecx
push eax
call dword [edi + 0x28]
fnclex
test eax, eax
jge 0x57f698
push 0x28
push 0x4ac5d0
push esi
push eax
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
call edi
jmp 0x57f69e
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x50]
mov esi, eax
mov edx, dword [eax]
lea ecx, [ebp - 0x60]
push ecx
push eax
call dword [edx + 0x34]
fnclex
test eax, eax
jge 0x57f6be
push 0x34
push 0x4ac870
push esi
push eax
call edi
lea edx, [ebp - 0x60]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x4c]
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea ecx, [ebp - 0x60]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x57f708
lea edx, [ebp - 0x24]
push edx
push 0x4ac588
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov eax, dword [ebp - 0x24]
mov esi, eax
mov ecx, dword [eax]
lea edx, [ebp - 0x4c]
push edx
push eax
call dword [ecx + 0x54]
fnclex
test eax, eax
jge 0x57f725
push 0x54
push 0x4ac598
push esi
push eax
call edi
mov eax, dword [ebp - 0x4c]
mov esi, eax
mov ecx, 0x4b8378
mov edx, 8
mov edi, dword [eax]
lea ebx, [ebp - 0x50]
push ebx
sub esp, 0x10
mov ebx, esp
mov dword [ebx], edx
mov edx, dword [ebp - 0x7c]
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x74]
mov dword [ebx + 0xc], ecx
push eax
call dword [edi + 0x28]
fnclex
test eax, eax
jge 0x57f769
push 0x28
push 0x4ac5d0
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x60], 9
lea edx, [ebp - 0x60]
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
push eax
call dword [edx + 0x3c]
fnclex
test eax, eax
jge 0x57f7b3
push 0x3c
push 0x4ac428
mov ecx, dword [ebp - 0x20]
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
call dword [sym.imp.MSVBVM60.DLL___vbaExitProc]
push 0x57f82b
jmp 0x57f803
lea ecx, [ebp - 0x20]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
call esi
lea ecx, [ebp - 0x24]
call esi
lea ecx, [ebp - 0x2c]
call esi
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
ret