Function at 0x447e50
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x401e76
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x401878
mov edx, dword [ebp + 8]
xor ebx, ebx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x80], ebx
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
lea ecx, [ebp - 0x5c]
lea edx, [ebp - 0x2c]
mov edi, 8
lea eax, [ebp - 0x1c]
push ecx
push edx
mov dword [ebp - 0x64], 0x40e8d8
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x5c], 0x4008
call dword [sym.imp.MSVBVM60.DLL_rtcLowerCaseVar]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
lea eax, [ebp - 0x6c]
lea ecx, [ebp - 0x2c]
push eax
lea edx, [ebp - 0x3c]
push ecx
push edx
mov dword [ebp - 0x74], 0x40a9b8
mov dword [ebp - 0x7c], edi
call esi
push eax
lea eax, [ebp - 0x7c]
lea ecx, [ebp - 0x4c]
push eax
push ecx
call esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea edx, [ebp - 0x4c]
lea eax, [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x2c]
push eax
push ecx
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
mov esi, dword [ebp + 0xc]
add esp, 0x10
mov edx, dword [esi]
push ebx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjIs]
test ax, ax
je 0x447f9b
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x54], eax
mov eax, dword [0x460118]
cmp eax, ebx
jne 0x447f59
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaNew2]
push 0x460118
push 0x40a468
call edi
jmp 0x447f5f
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaNew2]
cmp dword [0x46010c], ebx
jne 0x447f73
push 0x46010c
push 0x40a434
call edi
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x58]
sub esp, 0x10
mov ecx, esp
push 0x460118
push 0x46010c
mov dword [ecx], edx
mov edx, dword [ebp - 0x54]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x50]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
jmp 0x447fe9
mov eax, dword [0x460118]
mov ecx, dword [ebp - 0x14]
cmp eax, ebx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x5c], edi
jne 0x447fc1
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaNew2]
push 0x460118
push 0x40a468
call edi
jmp 0x447fc7
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x58]
sub esp, 0x10
mov edx, esp
push 0x460118
push esi
mov dword [edx], eax
mov eax, dword [ebp - 0x54]
mov dword [edx + 4], ecx
mov ecx, dword [ebp - 0x50]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
call fcn.00444a80
cmp dword [0x460118], ebx
jne 0x448002
push 0x460118
push 0x40a468
call edi
mov esi, dword [0x460118]
lea eax, [ebp - 0x80]
push eax
push esi
mov edx, dword [esi]
call dword [edx + 0x68]
cmp eax, ebx
fnclex
jge 0x448027
push 0x68
push 0x40a47c
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
cmp dword [ebp - 0x80], 1
jne 0x448036
mov dword [ebp - 0x18], 0xffffffff
jmp 0x448052
mov ecx, dword [ebp - 0x1c]
push ecx
push 0x40e960
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
mov ecx, 0x46011c
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
cmp dword [0x460118], ebx
jne 0x448066
push 0x460118
push 0x40a468
call edi
push 0x460118
call fcn.00444d90
push 0x4480a0
jmp 0x44808f
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x14]
call esi
lea ecx, [ebp - 0x1c]
call esi
ret