Function at 0x44be40
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, 0x4c
push ebx
push esi
push edi
mov dword [ebp - 0x14], esp
mov dword [ebp - 0x10], 0x403278
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x24], ebx
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
push 0x4142c0
mov eax, dword [ebp + 0xc]
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 0x41431c
call esi
mov edx, eax
lea ecx, [ebp - 0x28]
call edi
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x44bedf
lea edx, [ebp - 0x20]
push edx
push 0x40e894
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov eax, dword [ebp - 0x20]
mov esi, eax
mov ecx, dword [eax]
push 2
push eax
call dword [ecx + 0xf0]
fnclex
cmp eax, ebx
jge 0x44bf04
push 0xf0
push 0x40e8a4
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x44bf1d
lea edx, [ebp - 0x20]
push edx
push 0x40e894
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
mov edx, 9
mov esi, dword [ebp - 0x28]
mov edi, dword [eax]
push 1
push 1
push ebx
sub esp, 0x10
mov ebx, esp
mov dword [ebx], edx
mov edx, dword [ebp - 0x48]
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x40]
mov dword [ebx + 0xc], ecx
sub esp, 0x10
mov edx, esp
mov ecx, 8
mov dword [edx], ecx
mov ecx, dword [ebp - 0x38]
mov dword [edx + 4], ecx
mov dword [edx + 8], esi
mov ecx, dword [ebp - 0x30]
mov dword [edx + 0xc], ecx
push eax
call dword [edi + 0xa0]
fnclex
test eax, eax
jge 0x44bf8b
push 0xa0
push 0x40e8a4
mov edx, dword [ebp - 0x54]
push edx
push eax
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
call edi
jmp 0x44bf91
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x44bfaa
lea eax, [ebp - 0x20]
push eax
push 0x40e894
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov eax, dword [ebp - 0x20]
mov esi, eax
mov ecx, dword [eax]
lea edx, [ebp - 0x50]
push edx
push eax
call dword [ecx + 0x50]
fnclex
test eax, eax
jge 0x44bfc7
push 0x50
push 0x40e8a4
push esi
push eax
call edi
cmp word [ebp - 0x50], 0
jne 0x44bfd5
mov dword [ebp - 0x24], 1
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x44bfee
lea eax, [ebp - 0x20]
push eax
push 0x40e894
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov eax, dword [ebp - 0x20]
mov esi, eax
mov ecx, dword [eax]
push eax
call dword [ecx + 0x80]
fnclex
test eax, eax
jge 0x44c01a
push 0x80
push 0x40e8a4
push esi
push eax
call edi
call dword [sym.imp.MSVBVM60.DLL___vbaExitProc]
push 0x44c044
jmp 0x44c031
call dword [sym.imp.MSVBVM60.DLL___vbaExitProc]
push 0x44c044
jmp 0x44c031
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
ret