Function at 0x588974
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x40a936
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push esi
push edi
mov dword [ebp - 0x14], esp
mov dword [ebp - 0x10], 0x407ea8
xor esi, esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x34], esi
push 1
call sub.MSVBVM60.DLL___vbaOnError
mov edx, 0x4681ac
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaStrCopy
cmp dword [0x6255b0], esi
jne 0x5889d9
push 0x6255b0
push 0x450848
call sub.MSVBVM60.DLL___vbaNew2
mov ebx, dword [0x6255b0]
mov edi, 0x80020004
mov dword [ebp - 0x2c], edi
push 0xa
pop esi
mov dword [ebp - 0x34], esi
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaFreeVarg
mov eax, dword [ebx]
lea ecx, [ebp - 0x24]
push ecx
push 0xffffffffffffffff
lea ecx, [ebp - 0x34]
push ecx
push dword [ebp - 0x20]
push ebx
call dword [eax + 0x40]
fnclex
test eax, eax
jge 0x588a1c
push 0x40
push 0x4517d0
push ebx
push eax
call sub.MSVBVM60.DLL___vbaHresultCheckObj
lea ecx, [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaFreeObj
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaFreeVar
mov edx, 0x4683a0
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaStrCopy
cmp dword [0x6255b0], 0
jne 0x588a51
push 0x6255b0
push 0x450848
call sub.MSVBVM60.DLL___vbaNew2
mov ebx, dword [0x6255b0]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x34], esi
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaFreeVarg
mov eax, dword [ebx]
lea ecx, [ebp - 0x24]
push ecx
push 0xffffffffffffffff
lea ecx, [ebp - 0x34]
push ecx
push dword [ebp - 0x20]
push ebx
call dword [eax + 0x40]
fnclex
test eax, eax
jge 0x588a8c
push 0x40
push 0x4517d0
push ebx
push eax
call sub.MSVBVM60.DLL___vbaHresultCheckObj
lea ecx, [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaFreeObj
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaFreeVar
mov edx, 0x468588
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaStrCopy
cmp dword [0x6255b0], 0
jne 0x588ac1
push 0x6255b0
push 0x450848
call sub.MSVBVM60.DLL___vbaNew2
mov ebx, dword [0x6255b0]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x34], esi
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaFreeVarg
mov eax, dword [ebx]
lea ecx, [ebp - 0x24]
push ecx
push 0xffffffffffffffff
lea ecx, [ebp - 0x34]
push ecx
push dword [ebp - 0x20]
push ebx
call dword [eax + 0x40]
fnclex
test eax, eax
jge 0x588afc
push 0x40
push 0x4517d0
push ebx
push eax
call sub.MSVBVM60.DLL___vbaHresultCheckObj
lea ecx, [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaFreeObj
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaFreeVar
mov edx, 0x46877c
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaStrCopy
cmp dword [0x6255b0], 0
jne 0x588b31
push 0x6255b0
push 0x450848
call sub.MSVBVM60.DLL___vbaNew2
mov ebx, dword [0x6255b0]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x34], esi
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaFreeVarg
mov eax, dword [ebx]
lea ecx, [ebp - 0x24]
push ecx
push 0xffffffffffffffff
lea ecx, [ebp - 0x34]
push ecx
push dword [ebp - 0x20]
push ebx
call dword [eax + 0x40]
fnclex
test eax, eax
jge 0x588b6c
push 0x40
push 0x4517d0
push ebx
push eax
call sub.MSVBVM60.DLL___vbaHresultCheckObj
lea ecx, [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaFreeObj
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaFreeVar
mov edx, 0x468974
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaStrCopy
cmp dword [0x6255b0], 0
jne 0x588ba1
push 0x6255b0
push 0x450848
call sub.MSVBVM60.DLL___vbaNew2
mov ebx, dword [0x6255b0]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x34], esi
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaFreeVarg
mov eax, dword [ebx]
lea ecx, [ebp - 0x24]
push ecx
push 0xffffffffffffffff
lea ecx, [ebp - 0x34]
push ecx
push dword [ebp - 0x20]
push ebx
call dword [eax + 0x40]
fnclex
test eax, eax
jge 0x588bdc
push 0x40
push 0x4517d0
push ebx
push eax
call sub.MSVBVM60.DLL___vbaHresultCheckObj
lea ecx, [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaFreeObj
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaFreeVar
jmp 0x588bee
call sub.MSVBVM60.DLL___vbaExitProc
push 0x588c14
jmp 0x588c0b
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaFreeStr
ret