Function at 0x442000
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x401f26
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x401870
xor esi, esi
lea eax, [ebp - 0x24]
push esi
push eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.MSVBVM60.DLL___vbaObjSetAddref]
mov edi, dword [ebp - 0x44]
sub esp, 0x10
mov edx, esp
mov ecx, 0x4009
mov ebx, dword [ebp - 0x3c]
lea eax, [ebp - 0x24]
mov dword [edx], ecx
push 1
push 0x409da4
mov dword [edx + 4], edi
mov dword [edx + 8], eax
mov eax, dword [0x46902c]
push eax
mov dword [edx + 0xc], ebx
call dword [sym.imp.MSVBVM60.DLL___vbaLateMemCall]
mov ecx, dword [ebp - 0x24]
add esp, 0x1c
push 0x40a00c
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaCastObj]
lea edx, [ebp - 0x1c]
push eax
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
mov eax, dword [ebp + 8]
push 0x40ba98
mov ecx, dword [eax]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
push 0x40baf8
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
push 0x40a00c
mov ecx, 0x4008
sub esp, 0x10
lea eax, [ebp - 0x14]
mov edx, esp
sub esp, 0x10
mov dword [edx], ecx
mov ecx, esp
push 2
push 0x409fe8
mov dword [edx + 4], edi
mov dword [edx + 8], eax
mov eax, 2
mov dword [edx + 0xc], ebx
mov edx, dword [ebp - 0x54]
mov dword [ecx], eax
mov eax, 1
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x4c]
mov dword [ecx + 0xc], eax
mov ecx, dword [0x46902c]
lea edx, [ebp - 0x38]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaLateMemCallLd]
add esp, 0x30
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaCastObjVar]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x6c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
cmp eax, esi
fnclex
jge 0x442179
mov ecx, dword [ebp - 0x1c]
push 0x48
push 0x40a00c
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
cmp dword [ebp - 0x6c], esi
je 0x442249
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x24]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x24]
cmp eax, esi
fnclex
jge 0x4421a7
mov edx, dword [ebp - 0x1c]
push 0x24
push 0x40a00c
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x24]
mov ecx, 8
mov dword [ebp - 0x74], eax
mov edx, dword [eax]
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x88], edx
sub esp, 0x10
mov eax, 0x40b7b0
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [ebp - 0x24]
push ecx
mov dword [edx + 4], edi
mov dword [edx + 8], eax
mov dword [edx + 0xc], ebx
mov edx, dword [ebp - 0x88]
call dword [edx + 0x34]
cmp eax, esi
fnclex
jge 0x4421f8
mov ecx, dword [ebp - 0x74]
push 0x34
push 0x40a030
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x38]
push ecx
push eax
mov edx, dword [eax]
mov dword [ebp - 0x7c], eax
call dword [edx + 0x1c]
cmp eax, esi
fnclex
jge 0x442220
mov edx, dword [ebp - 0x7c]
push 0x1c
push 0x40a040
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaI2Var]
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0x24]
push ecx
push edx
push 2
mov dword [ebp - 0x18], eax
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x24]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSetAddref]
sub esp, 0x10
mov ecx, 0x4009
mov edx, esp
lea eax, [ebp - 0x24]
push 1
push 0x409da4
mov dword [edx], ecx
mov dword [edx + 4], edi
mov dword [edx + 8], eax
mov eax, dword [0x46902c]
push eax
mov dword [edx + 0xc], ebx
call dword [sym.imp.MSVBVM60.DLL___vbaLateMemCall]
mov ecx, dword [ebp - 0x24]
add esp, 0x1c
push 0x40a00c
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaCastObj]
lea edx, [ebp - 0x1c]
push eax
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
push 0x4422e8
jmp 0x4422d5
lea ecx, [ebp - 0x14]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
ret