Function at 0x4407f0
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, 0x88
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x4017b0
xor esi, esi
mov edx, 0x40b6e8
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x1c], esi
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
push 0x40a4d4
mov ecx, 0x4008
sub esp, 0x10
lea eax, [ebp - 0x14]
mov ebx, esp
sub esp, 0x10
mov edi, 8
mov edx, 0x40b774
mov dword [ebx], ecx
mov ecx, dword [ebp - 0x54]
mov dword [ebx + 4], ecx
mov ecx, esp
push 2
push 0x40a4b0
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x64]
mov dword [ecx], edi
mov dword [ecx + 4], eax
mov eax, dword [0x46902c]
push eax
mov dword [ecx + 8], edx
mov edx, dword [ebp - 0x5c]
mov dword [ecx + 0xc], edx
lea ecx, [ebp - 0x38]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaLateMemCallLd]
add esp, 0x30
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaCastObjVar]
lea edx, [ebp - 0x18]
push eax
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x24]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x38]
cmp eax, esi
fnclex
jge 0x4408e4
mov ecx, dword [ebp - 0x18]
push 0x38
push 0x40a4d4
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea edi, [ebp - 0x28]
mov eax, dword [ebp - 0x24]
push edi
mov ecx, 2
sub esp, 0x10
mov edx, dword [eax]
mov edi, esp
mov dword [ebp - 0x84], eax
push eax
mov dword [edi], ecx
mov ecx, dword [ebp - 0x54]
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 0x4c]
mov dword [edi + 8], esi
mov dword [edi + 0xc], ecx
call dword [edx + 0x34]
cmp eax, esi
fnclex
jge 0x44092d
mov edx, dword [ebp - 0x84]
push 0x34
push 0x40b3ec
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
sub esp, 0x10
mov eax, dword [ebp - 0x28]
mov edi, esp
mov ecx, 2
mov edx, dword [eax]
push eax
mov dword [edi], ecx
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x8c], eax
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 0x5c]
mov dword [edi + 8], esi
mov dword [edi + 0xc], ecx
call dword [edx + 0x30]
cmp eax, esi
fnclex
jge 0x440972
mov edx, dword [ebp - 0x8c]
push 0x30
push 0x40b3fc
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x24]
push eax
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
mov eax, dword [ebp - 0x18]
add esp, 0xc
lea ecx, [ebp - 0x24]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x38]
cmp eax, esi
fnclex
jge 0x4409aa
mov edx, dword [ebp - 0x18]
push 0x38
push 0x40a4d4
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea ebx, [ebp - 0x28]
mov eax, dword [ebp - 0x24]
push ebx
mov edx, 2
sub esp, 0x10
mov edi, dword [eax]
mov ebx, esp
mov ecx, 1
push eax
mov dword [ebp - 0x84], eax
mov dword [ebx], edx
mov edx, dword [ebp - 0x54]
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x4c]
mov dword [ebx + 0xc], ecx
call dword [edi + 0x34]
cmp eax, esi
fnclex
jge 0x4409f8
mov edx, dword [ebp - 0x84]
push 0x34
push 0x40b3ec
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov ecx, dword [ebp + 8]
sub esp, 0x10
mov eax, dword [ebp - 0x28]
mov ebx, esp
mov ecx, dword [ecx]
mov edx, 8
mov edi, dword [eax]
mov dword [ebx], edx
mov edx, dword [ebp - 0x64]
push eax
mov dword [ebx + 4], edx
mov dword [ebp - 0x8c], eax
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x5c]
mov dword [ebx + 0xc], ecx
call dword [edi + 0x30]
cmp eax, esi
fnclex
jge 0x440a42
mov edx, dword [ebp - 0x8c]
push 0x30
push 0x40b3fc
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x24]
push eax
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
mov edx, dword [ebp - 0x18]
add esp, 0xc
lea eax, [ebp - 0x24]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSetAddref]
sub esp, 0x10
mov ecx, 0x4009
mov ebx, esp
lea eax, [ebp - 0x24]
sub esp, 0x10
mov edi, 2
mov dword [ebx], ecx
mov ecx, dword [ebp - 0x54]
mov edx, 1
mov dword [ebx + 4], ecx
mov ecx, esp
push edi
push 0x40b778
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x64]
mov dword [ecx], edi
mov dword [ecx + 4], eax
mov eax, dword [0x46902c]
push eax
mov dword [ecx + 8], edx
mov edx, dword [ebp - 0x5c]
mov dword [ecx + 0xc], edx
lea ecx, [ebp - 0x38]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaLateMemCallLd]
mov edx, dword [ebp - 0x24]
add esp, 0x30
push 0x40a4d4
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaCastObj]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
push eax
lea eax, [ebp - 0x18]
push eax
call edi
lea ecx, [ebp - 0x38]
push 0x40a00c
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaCastObjVar]
lea edx, [ebp - 0x20]
push eax
push edx
call edi
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea ecx, [ebp - 0x24]
call ebx
lea ecx, [ebp - 0x38]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x7c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
cmp eax, esi
fnclex
jge 0x440b25
mov ecx, dword [ebp - 0x20]
push 0x48
push 0x40a00c
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
cmp dword [ebp - 0x7c], esi
je 0x440c08
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x24]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x24]
cmp eax, esi
fnclex
jge 0x440b53
mov edx, dword [ebp - 0x20]
push 0x24
push 0x40a00c
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea edx, [ebp - 0x28]
mov eax, 8
push edx
mov ecx, dword [ebp - 0x24]
sub esp, 0x10
mov dword [ebp - 0x84], ecx
mov edx, esp
mov ecx, dword [ecx]
mov dword [edx], eax
mov eax, dword [ebp - 0x54]
mov dword [edx + 4], eax
mov eax, 0x40b7b0
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x4c]
mov dword [edx + 0xc], eax
mov edx, dword [ebp - 0x24]
push edx
call dword [ecx + 0x34]
cmp eax, esi
fnclex
jge 0x440ba4
mov ecx, dword [ebp - 0x84]
push 0x34
push 0x40a030
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
sub esp, 0x10
mov eax, dword [ebp - 0x28]
mov edx, esp
mov ecx, 9
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x30], eax
mov dword [edx], ecx
mov ecx, dword [ebp - 0x34]
push 1
push 0x40b7c0
mov dword [edx + 4], ecx
mov ecx, dword [0x46902c]
push ecx
mov dword [ebp - 0x28], esi
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [edx + 0xc], eax
lea edx, [ebp - 0x48]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaLateMemCallLd]
add esp, 0x20
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaI2Var]
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x1c], eax
call ebx
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x38]
push eax
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x24]
push edx
push eax
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 ecx, dword [ebp - 0x54]
mov dword [edx + 4], ecx
mov ecx, dword [0x46902c]
push ecx
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x4c]
mov dword [edx + 0xc], eax
call dword [sym.imp.MSVBVM60.DLL___vbaLateMemCall]
mov edx, dword [ebp - 0x24]
add esp, 0x1c
push 0x40a00c
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaCastObj]
push eax
lea eax, [ebp - 0x20]
push eax
call edi
lea ecx, [ebp - 0x24]
call ebx
push 0x440cab
jmp 0x440c91
lea ecx, [ebp - 0x14]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea ecx, [ebp - 0x18]
call esi
lea ecx, [ebp - 0x20]
call esi
ret