Function at 0x42ab50
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x401e36
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
push ebx
push esi
push edi
mov dword [ebp - 0xc], esp
mov dword [ebp - 8], 0x4013a0
xor esi, esi
mov edx, 0x404568
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x70], esi
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
lea eax, [ebp - 0x70]
lea ecx, [ebp - 0x20]
push eax
push ecx
call fcn.0042ce90
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
call fcn.0042bab0
mov edi, dword [0x461098]
mov ecx, 0xa
mov dword [ebp - 0x4c], ecx
mov edx, 0x80020004
mov ebx, dword [edi]
lea edi, [ebp - 0x28]
push edi
mov eax, edx
sub esp, 0x10
mov dword [ebp - 0x44], edx
mov edi, esp
sub esp, 0x10
mov dword [edi], ecx
mov ecx, dword [ebp - 0x68]
mov dword [edi + 4], ecx
mov ecx, esp
sub esp, 0x10
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x60]
mov dword [edi + 0xc], eax
mov eax, 0xa
mov dword [ecx], eax
mov eax, dword [ebp - 0x58]
mov dword [ecx + 4], eax
mov eax, esp
push 0x4045ac
mov dword [ecx + 8], edx
mov edx, dword [ebp - 0x50]
mov dword [ecx + 0xc], edx
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x48]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x44]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x40]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [ebp + 8]
mov cx, word [eax]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrI2]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
lea ecx, [ebp - 0x20]
call edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x24]
call edi
mov edx, dword [0x461098]
push eax
push edx
call dword [ebx + 0xbc]
fnclex
cmp eax, esi
jge 0x42ac80
mov ecx, dword [0x461098]
push 0xbc
push 0x403a14
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x18]
push eax
push edx
mov dword [ebp - 0x28], esi
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x20]
push eax
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
mov eax, dword [ebp - 0x18]
add esp, 0xc
lea ecx, [ebp - 0x28]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0xb4]
cmp eax, esi
fnclex
jge 0x42accf
mov edx, dword [ebp - 0x18]
push 0xb4
push 0x403a24
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea ebx, [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
push ebx
mov edx, 8
sub esp, 0x10
mov edi, dword [eax]
mov ebx, esp
mov ecx, 0x4045f8
push eax
mov dword [ebp - 0x78], eax
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
call dword [edi + 0x30]
cmp eax, esi
fnclex
jge 0x42ad17
mov edx, dword [ebp - 0x78]
push 0x30
push 0x40427c
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x3c]
push edx
push eax
mov ecx, dword [eax]
mov edi, eax
call dword [ecx + 0x44]
cmp eax, esi
fnclex
jge 0x42ad3b
push 0x44
push 0x40428c
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea ecx, [ebp - 0x2c]
lea edx, [ebp - 0x28]
push ecx
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
push 0x42adb9
jmp 0x42adaf
lea ecx, [ebp - 0x18]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
ret