Function at 0x57f850
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], 0x403438
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
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov esi, dword [ebp - 0x2c]
cmp esi, edi
jne 0x57f8c6
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
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
call edi
mov edx, eax
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
push 0x4ac49c
call edi
mov edx, eax
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
push esi
call dword [ebx + 0x24]
fnclex
test eax, eax
jge 0x57f918
push 0x24
push 0x4ac428
push esi
push eax
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
call ebx
jmp 0x57f91e
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]
test eax, eax
jne 0x57f94a
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
test eax, eax
jge 0x57f974
push 0x50
push 0x4ac428
push esi
push eax
call ebx
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x57f98d
lea eax, [ebp - 0x24]
push eax
push 0x4ac588
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov eax, dword [ebp - 0x24]
mov esi, eax
mov ecx, dword [eax]
push 3
push eax
call dword [ecx + 0xf0]
fnclex
test eax, eax
jge 0x57f9ae
push 0xf0
push 0x4ac598
push esi
push eax
call ebx
push 0x4b8988
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call edi
mov edx, eax
lea ecx, [ebp - 0x30]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
call esi
push eax
push 0x4ad914
call edi
mov edx, eax
lea ecx, [ebp - 0x28]
call esi
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x57f9f6
lea ecx, [ebp - 0x24]
push ecx
push 0x4ac588
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x57fa0f
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 0x57fa76
push 0xa0
push 0x4ac598
push esi
push eax
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
call edi
jmp 0x57fa7c
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x57fa99
lea edx, [ebp - 0x24]
push edx
push 0x4ac588
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaNew2]
call ebx
mov eax, dword [ebp - 0x24]
jmp 0x57fa9f
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 0x57fabc
push 0x68
push 0x4ac598
push esi
push eax
call edi
cmp dword [ebp - 0x70], 1
jl 0x57fbc9
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x57fadb
lea eax, [ebp - 0x24]
push eax
push 0x4ac588
call ebx
mov eax, dword [ebp - 0x24]
mov esi, eax
mov ecx, dword [eax]
push eax
call dword [ecx + 0x98]
fnclex
test eax, eax
jge 0x57fafa
push 0x98
push 0x4ac598
push esi
push eax
call edi
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x57fb0f
lea edx, [ebp - 0x24]
push edx
push 0x4ac588
call ebx
mov eax, dword [ebp - 0x24]
mov esi, eax
mov ecx, dword [eax]
lea edx, [ebp - 0x38]
push edx
push eax
call dword [ecx + 0x54]
fnclex
test eax, eax
jge 0x57fb2c
push 0x54
push 0x4ac598
push esi
push eax
call edi
mov eax, dword [ebp - 0x38]
mov esi, eax
mov ecx, 0x4b126c
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 0x57fb74
push 0x28
push 0x4ac5d0
push esi
push eax
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
call edi
jmp 0x57fb7a
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 0x57fb9a
push 0x34
push 0x4ac870
push esi
push eax
call edi
lea edx, [ebp - 0x4c]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaI4Var]
mov dword [ebp - 0x20], eax
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 0x57fbde
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 0x57fbf7
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 - 0x24]
test eax, eax
jne 0x57fc24
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 - 0x70]
push edx
push eax
call dword [ecx + 0x68]
fnclex
test eax, eax
jge 0x57fc41
push 0x68
push 0x4ac598
push esi
push eax
call edi
mov eax, dword [ebp - 0x70]
test eax, eax
jg 0x57fc48
call dword [sym.imp.MSVBVM60.DLL___vbaExitProc]
push 0x57fc9c
jmp 0x57fc82
lea ecx, [ebp - 0x24]
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