Function at 0x43e410
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x401b66
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa4
push ebx
push esi
push edi
mov dword [ebp - 0xc], esp
mov dword [ebp - 8], 0x401870
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
xor eax, eax
mov edx, 0x41d8ec
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0xac], eax
call esi
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x18]
mov edx, dword [eax]
call esi
mov edi, dword [sym.imp.MSVBVM60.DLL_rtcMidCharVar]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x20], 0xffffffff
mov ecx, dword [ebp - 0x18]
movsx esi, word [ebp - 0x1c]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaLenBstr]
cmp esi, eax
jg 0x43e6bc
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x84], edx
push eax
lea ecx, [ebp - 0x8c]
push esi
lea edx, [ebp - 0x4c]
push ecx
push edx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x3c], 2
mov dword [ebp - 0x8c], 0x4008
call edi
lea eax, [ebp - 0x5c]
push 0x22
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcVarBstrFromAnsi]
lea ecx, [ebp - 0x4c]
lea edx, [ebp - 0x5c]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x4c]
push eax
lea edx, [ebp - 0x3c]
push ecx
push edx
push 3
call ebx
add esp, 0x10
cmp word [ebp - 0xb0], 0
je 0x43e530
mov eax, dword [ebp - 0x20]
not eax
mov dword [ebp - 0x20], eax
jmp 0x43e5e4
cmp word [ebp - 0x20], 0
je 0x43e5e4
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaLenBstr]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x84], eax
push ecx
lea edx, [ebp - 0x8c]
push esi
lea eax, [ebp - 0x4c]
push edx
push eax
mov dword [ebp - 0x3c], 3
mov dword [ebp - 0x8c], 0x4008
call edi
lea ecx, [ebp - 0x4c]
lea edx, [ebp - 0x5c]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcUpperCaseVar]
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0xac]
lea edx, [ebp - 0x6c]
push ecx
push edx
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xac], 0x4008
call dword [sym.imp.MSVBVM60.DLL_rtcUpperCaseVar]
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x6c]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
mov dword [ebp - 0xb0], eax
lea edx, [ebp - 0x6c]
lea eax, [ebp - 0x5c]
push edx
lea ecx, [ebp - 0x4c]
push eax
lea edx, [ebp - 0x3c]
push ecx
push edx
push 4
call ebx
add esp, 0x14
cmp word [ebp - 0xb0], 0
je 0x43e5e4
mov dword [ebp - 0x2c], 0xffffffff
cmp word [ebp - 0x2c], 0
je 0x43e62a
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x28]
push eax
mov edx, dword [ecx]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaLenBstr]
mov ecx, eax
add ecx, esi
jo 0x43e725
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
mov dword [ebp - 0x1c], eax
jmp 0x43e496
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0xa4], edx
mov dword [ebp - 0x84], eax
push ecx
lea edx, [ebp - 0x8c]
push esi
lea eax, [ebp - 0x4c]
push edx
push eax
mov dword [ebp - 0xac], 8
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x3c], 2
mov dword [ebp - 0x8c], 0x4008
call edi
lea ecx, [ebp - 0xac]
lea edx, [ebp - 0x4c]
push ecx
lea eax, [ebp - 0x5c]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea ecx, [ebp - 0x5c]
lea edx, [ebp - 0x4c]
push ecx
lea eax, [ebp - 0x3c]
push edx
push eax
push 3
call ebx
mov cx, word [ebp - 0x1c]
add esp, 0x10
add cx, 1
jo 0x43e725
mov dword [ebp - 0x1c], ecx
jmp 0x43e496
mov edx, dword [ebp - 0x28]
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
push 0x43e70f
jmp 0x43e6fe
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x18]
call esi
lea ecx, [ebp - 0x28]
call esi
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
nop
nop