Function at 0x441370
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x401f26
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x94
push ebx
push esi
push edi
mov dword [ebp - 0x14], esp
mov dword [ebp - 0x10], 0x4017f8
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x8c], eax
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaCyI2]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
push 0x40b800
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrI4]
mov edx, eax
lea ecx, [ebp - 0x30]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
call esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x20]
call esi
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea eax, [ebp - 0x20]
mov ecx, 0x4008
mov edx, 1
mov esi, 2
push 0x40a00c
sub esp, 0x10
mov ebx, esp
mov dword [ebx], ecx
mov edi, dword [ebp - 0x64]
mov dword [ebx + 4], edi
mov dword [ebx + 8], eax
mov dword [ebp - 0xb0], ebx
mov ebx, dword [ebp - 0x5c]
mov eax, esp
mov dword [eax + 0xc], ebx
sub esp, 0x10
mov ecx, esp
mov dword [ecx], esi
mov eax, dword [ebp - 0x74]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
mov edx, dword [ebp - 0x6c]
mov dword [ecx + 0xc], edx
push esi
push 0x409fe8
mov eax, dword [0x46902c]
push eax
lea ecx, [ebp - 0x48]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaLateMemCallLd]
add esp, 0x30
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaCastObjVar]
push eax
lea edx, [ebp - 0x2c]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
lea edx, [ebp - 0x8c]
push edx
push eax
call dword [ecx + 0x48]
fnclex
test eax, eax
jge 0x4414b6
push 0x48
push 0x40a00c
mov ecx, dword [ebp - 0x2c]
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x8c]
test eax, eax
jle 0x4415a0
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
lea ecx, [ebp - 0x34]
push ecx
push eax
call dword [edx + 0x24]
fnclex
test eax, eax
jge 0x4414e9
push 0x24
push 0x40a00c
mov edx, dword [ebp - 0x2c]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x94], eax
mov ecx, 8
mov edx, dword [eax]
lea esi, [ebp - 0x38]
push esi
sub esp, 0x10
mov esi, esp
mov dword [esi], ecx
mov dword [esi + 4], edi
mov ecx, 0x40b890
mov dword [esi + 8], ecx
mov dword [esi + 0xc], ebx
push eax
call dword [edx + 0x34]
fnclex
test eax, eax
jge 0x441531
push 0x34
push 0x40a030
mov ecx, dword [ebp - 0x94]
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x40], eax
mov ecx, 9
mov dword [ebp - 0x48], ecx
sub esp, 0x10
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [ebp - 0x44]
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x3c]
mov dword [edx + 0xc], eax
push 1
push 0x40b7c0
mov ecx, dword [0x46902c]
push ecx
lea edx, [ebp - 0x58]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaLateMemCallLd]
add esp, 0x20
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaCyVar]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x48]
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
call dword [sym.imp.MSVBVM60.DLL_rtcErrObj]
push eax
lea edx, [ebp - 0x34]
push edx
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
call esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x48]
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
push 0x40a00c
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaCastObj]
push eax
lea edx, [ebp - 0x2c]
push edx
call esi
call dword [sym.imp.MSVBVM60.DLL___vbaExitProc]
push 0x441623
jmp 0x441610
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
ret