Function at 0x57fcc0
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, 0x7c
push ebx
push esi
push edi
mov dword [ebp - 0x14], esp
mov dword [ebp - 0x10], 0x403460
xor edi, edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], 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 - 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 - 0x70], edi
mov edx, 0x4b89ec
mov ecx, 0x58a0b4
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov esi, dword [ebp - 0x2c]
cmp esi, edi
jne 0x57fd46
lea eax, [ebp - 0x2c]
push eax
push 0x4ac418
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov esi, dword [ebp - 0x2c]
mov ebx, dword [esi]
push 0x4ac43c
mov ecx, dword [0x58a268]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
push 0x4aede8
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
push esi
call dword [ebx + 0x24]
fnclex
cmp eax, edi
jge 0x57fd9a
push 0x24
push 0x4ac428
push esi
push eax
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
call ebx
jmp 0x57fda0
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0x30]
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
mov eax, dword [ebp - 0x2c]
cmp eax, edi
jne 0x57fdcc
lea ecx, [ebp - 0x2c]
push ecx
push 0x4ac418
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov eax, dword [ebp - 0x2c]
mov esi, eax
mov edx, dword [eax]
push 0xffffffffffffffff
push 0x4ab1e0
push 0x4ab1e0
push 0x4ab1e0
push eax
call dword [edx + 0x50]
fnclex
cmp eax, edi
jge 0x57fdf6
push 0x50
push 0x4ac428
push esi
push eax
call ebx
mov eax, dword [ebp - 0x20]
cmp eax, edi
jne 0x57fe0f
lea eax, [ebp - 0x20]
push eax
push 0x4ac588
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov eax, dword [ebp - 0x20]
mov esi, eax
mov ecx, dword [eax]
push 3
push eax
call dword [ecx + 0xf0]
fnclex
cmp eax, edi
jge 0x57fe30
push 0xf0
push 0x4ac598
push esi
push eax
call ebx
push 0x4b8a0c
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
call esi
mov edx, eax
lea ecx, [ebp - 0x30]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
call ebx
push eax
push 0x4ab1e0
call esi
mov edx, eax
lea ecx, [ebp - 0x28]
call ebx
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
cmp dword [ebp - 0x20], edi
jne 0x57fe7c
lea ecx, [ebp - 0x20]
push ecx
push 0x4ac588
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov esi, dword [ebp - 0x20]
cmp dword [ebp - 0x2c], edi
jne 0x57fe93
lea edx, [ebp - 0x2c]
push edx
push 0x4ac418
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov eax, 9
mov ecx, dword [ebp - 0x28]
mov edx, 8
mov edi, dword [esi]
push 0xffffffffffffffff
push 3
push 2
sub esp, 0x10
mov ebx, esp
mov dword [ebx], eax
mov eax, dword [ebp - 0x68]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x60]
mov dword [ebx + 0xc], eax
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [ebp - 0x58]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x50]
mov dword [eax + 0xc], ecx
push esi
call dword [edi + 0xa0]
fnclex
test eax, eax
jge 0x57fefa
push 0xa0
push 0x4ac598
push esi
push eax
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
call edi
jmp 0x57ff00
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x57ff1d
lea edx, [ebp - 0x20]
push edx
push 0x4ac588
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaNew2]
call ebx
mov eax, dword [ebp - 0x20]
jmp 0x57ff23
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov esi, eax
mov ecx, dword [eax]
lea edx, [ebp - 0x70]
push edx
push eax
call dword [ecx + 0x68]
fnclex
test eax, eax
jge 0x57ff40
push 0x68
push 0x4ac598
push esi
push eax
call edi
cmp dword [ebp - 0x70], 1
jl 0x580057
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x57ff5f
lea eax, [ebp - 0x20]
push eax
push 0x4ac588
call ebx
mov eax, dword [ebp - 0x20]
mov esi, eax
mov ecx, dword [eax]
push eax
call dword [ecx + 0x98]
fnclex
test eax, eax
jge 0x57ff7e
push 0x98
push 0x4ac598
push esi
push eax
call edi
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x57ff93
lea edx, [ebp - 0x20]
push edx
push 0x4ac588
call ebx
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 0x57ffb0
push 0x54
push 0x4ac598
push esi
push eax
call edi
mov eax, dword [ebp - 0x38]
mov esi, eax
mov ecx, 0x4af330
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 - 0x58]
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x50]
mov dword [ebx + 0xc], ecx
push eax
call dword [edi + 0x28]
fnclex
test eax, eax
jge 0x57fff8
push 0x28
push 0x4ac5d0
push esi
push eax
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
call edi
jmp 0x57fffe
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 0x58001e
push 0x34
push 0x4ac870
push esi
push eax
call edi
lea edx, [ebp - 0x4c]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
mov ecx, 0x58a0b4
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x38]
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x58006c
lea edx, [ebp - 0x2c]
push edx
push 0x4ac418
call ebx
mov eax, dword [ebp - 0x2c]
mov esi, eax
mov ecx, dword [eax]
push eax
call dword [ecx + 0x3c]
fnclex
test eax, eax
jge 0x580085
push 0x3c
push 0x4ac428
push esi
push eax
call edi
push 0x4ac408
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaCastObj]
push eax
lea edx, [ebp - 0x2c]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x5800b2
lea eax, [ebp - 0x20]
push eax
push 0x4ac588
call ebx
mov eax, dword [ebp - 0x20]
mov esi, eax
mov ecx, dword [eax]
lea edx, [ebp - 0x70]
push edx
push eax
call dword [ecx + 0x68]
fnclex
test eax, eax
jge 0x5800cf
push 0x68
push 0x4ac598
push esi
push eax
call edi
mov eax, dword [ebp - 0x70]
test eax, eax
jg 0x5800d6
call dword [sym.imp.MSVBVM60.DLL___vbaExitProc]
push 0x58012a
jmp 0x580110
lea ecx, [ebp - 0x20]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
call esi
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x2c]
call esi
ret