Function at 0x4479d0
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, 0xd4
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x401868
mov edx, dword [ebp + 8]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
xor edi, edi
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x94], edi
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xb4], edi
mov dword [ebp - 0xb8], edi
call esi
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x20]
call esi
mov eax, dword [ebp - 0x24]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
push 0x40c3f4
push eax
call esi
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
lea ecx, [ebp - 0x28]
call ebx
push eax
push 0x40e84c
call esi
mov edx, eax
lea ecx, [ebp - 0x18]
call ebx
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov eax, dword [0x460118]
mov ecx, dword [ebp - 0x18]
cmp eax, edi
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0xa4], 8
jne 0x447abc
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaNew2]
push 0x460118
push 0x40a468
call esi
jmp 0x447ac2
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaNew2]
cmp dword [0x46010c], edi
jne 0x447ad6
push 0x46010c
push 0x40a434
call esi
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0xa0]
sub esp, 0x10
mov edx, esp
push 0x460118
push 0x46010c
mov dword [edx], eax
mov eax, dword [ebp - 0x9c]
mov dword [edx + 4], ecx
mov ecx, dword [ebp - 0x98]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
call fcn.00444a80
cmp dword [0x460118], edi
jne 0x447b21
push 0x460118
push 0x40a468
call esi
mov ebx, dword [0x460118]
lea eax, [ebp - 0x30]
push eax
push ebx
mov edx, dword [ebx]
call dword [edx + 0x54]
cmp eax, edi
fnclex
jge 0x447b46
push 0x54
push 0x40a47c
push ebx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0xb8]
push edx
push eax
mov ecx, dword [eax]
mov ebx, eax
call dword [ecx + 0x1c]
cmp eax, edi
fnclex
jge 0x447b6d
push 0x1c
push 0x40e860
push ebx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov ecx, dword [ebp - 0xb8]
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
mov ebx, 1
lea ecx, [ebp - 0x30]
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0x14], ebx
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
cmp bx, word [ebp - 0xdc]
jg 0x447d54
lea ecx, [ebp - 0xa4]
lea edx, [ebp - 0x44]
lea eax, [ebp - 0x20]
push ecx
push edx
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xa4], 0x4008
call dword [sym.imp.MSVBVM60.DLL_rtcUpperCaseVar]
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x54]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcTrimVar]
cmp dword [0x460118], edi
jne 0x447be3
push 0x460118
push 0x40a468
call esi
mov esi, dword [0x460118]
lea eax, [ebp - 0x30]
push eax
push esi
mov edx, dword [esi]
call dword [edx + 0x54]
cmp eax, edi
fnclex
jge 0x447c08
push 0x54
push 0x40a47c
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
sub bx, 1
mov eax, dword [ebp - 0x30]
jo 0x447e44
mov word [ebp - 0xac], bx
lea ebx, [ebp - 0x34]
push ebx
mov ecx, 2
sub esp, 0x10
mov edx, dword [eax]
mov ebx, esp
mov esi, eax
push eax
mov dword [ebx], ecx
mov ecx, dword [ebp - 0xb0]
mov dword [ebx + 4], ecx
mov ecx, dword [ebp - 0xac]
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0xa8]
mov dword [ebx + 0xc], ecx
call dword [edx + 0x28]
cmp eax, edi
fnclex
jge 0x447c64
push 0x28
push 0x40a49c
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x28]
push ecx
push eax
mov edx, dword [eax]
mov esi, eax
call dword [edx + 0x2c]
cmp eax, edi
fnclex
jge 0x447c88
push 0x2c
push 0x40a4ac
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x64]
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x74]
push edx
push eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x64], 8
call dword [sym.imp.MSVBVM60.DLL_rtcUpperCaseVar]
lea ecx, [ebp - 0x74]
lea edx, [ebp - 0x84]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcTrimVar]
lea eax, [ebp - 0x54]
lea ecx, [ebp - 0x84]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
mov esi, eax
lea edx, [ebp - 0x34]
lea eax, [ebp - 0x30]
push edx
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
lea ecx, [ebp - 0x84]
lea edx, [ebp - 0x54]
push ecx
lea eax, [ebp - 0x74]
push edx
lea ecx, [ebp - 0x64]
push eax
lea edx, [ebp - 0x44]
push ecx
push edx
push 5
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x24
cmp si, di
jne 0x447d20
mov eax, 1
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaNew2]
add ax, word [ebp - 0x14]
jo 0x447e44
mov ebx, eax
mov dword [ebp - 0x14], ebx
jmp 0x447b90
mov eax, dword [0x460118]
mov dword [ebp - 0x1c], 0xffffffff
cmp eax, edi
jne 0x447d44
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaNew2]
push 0x460118
push 0x40a468
call esi
jmp 0x447d4a
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaNew2]
push 0x460118
call fcn.00444d90
cmp dword [0x460118], edi
jne 0x447d68
push 0x460118
push 0x40a468
call esi
push 0x460118
call fcn.00444d90
cmp word [ebp - 0x1c], di
jne 0x447dc6
mov eax, dword [ebp - 0x24]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
push eax
push 0x40e874
call esi
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
lea ecx, [ebp - 0x28]
call edi
mov ecx, dword [ebp - 0x20]
push eax
push ecx
call esi
mov edx, eax
lea ecx, [ebp - 0x2c]
call edi
push eax
push 0x40e888
call esi
mov ecx, dword [ebp + 0x10]
mov edx, eax
call edi
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x28]
push edx
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
push 0x447e2d
jmp 0x447e17
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x18]
call esi
lea ecx, [ebp - 0x20]
call esi
lea ecx, [ebp - 0x24]
call esi
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
nop
nop
nop