Function at 0x4da4a0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x404486
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x402b88
mov edi, dword [ebp + 8]
push 1
xor eax, eax
mov ecx, dword [edi]
mov dword [ebp - 0x28], eax
push ecx
push 0x415848
push 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 - 0x88], eax
mov dword [ebp - 0x98], eax
call dword [sym.imp.MSVBVM60.DLL___vbaInStr]
mov ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
mov ebx, dword [sym.imp.MSVBVM60.DLL_rtcTrimVar]
mov esi, eax
lea edx, [ebp - 0x88]
lea eax, [ebp - 0x28]
push edx
push eax
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x88], 0x4008
call ebx
lea ecx, [ebp - 0x98]
lea edx, [ebp - 0x38]
push ecx
push edx
mov dword [ebp - 0x90], edi
mov dword [ebp - 0x98], 0x4008
call ebx
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x48]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaLenVar]
mov edx, eax
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
add si, 1
lea edx, [ebp - 0x58]
jo 0x4da5fc
movsx eax, si
push edx
lea ecx, [ebp - 0x28]
push eax
lea edx, [ebp - 0x68]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcMidCharVar]
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0x78]
push eax
push ecx
call ebx
lea edx, [ebp - 0x78]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaI4ErrVar]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x78]
lea ecx, [ebp - 0x78]
push eax
lea edx, [ebp - 0x68]
push ecx
lea eax, [ebp - 0x58]
push edx
lea ecx, [ebp - 0x28]
push eax
lea edx, [ebp - 0x38]
push ecx
push edx
push 6
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x1c
push 0x4da5e6
jmp 0x4da5e5
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push ebp
mov ebp, esp
sub esp, 0xc
push 0x404486
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x104
push ebx
push esi
push edi
mov dword [ebp - 0xc], esp
mov dword [ebp - 8], 0x402b98
mov eax, dword [ebp + 8]
mov esi, dword [sym.imp.MSVBVM60.DLL_rtcTrimVar]
lea ecx, [ebp - 0xd0]
lea edx, [ebp - 0x30]
xor ebx, ebx
push ecx
push edx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0xc0], ebx
mov dword [ebp - 0xe0], ebx
mov dword [ebp - 0xf0], ebx
mov dword [ebp - 0x100], ebx
mov dword [ebp - 0x110], ebx
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xd0], 0x4008
call esi
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x20]
call dword [fcn.0040134c]
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov edi, dword [sym.imp.MSVBVM60.DLL_rtcMidCharVar]
jmp 0x4da6d4
xor ebx, ebx
lea edx, [ebp - 0xd0]
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x20]
push edx
push eax
mov dword [ebp - 0xc8], ecx
mov dword [ebp - 0xd0], 0x4008
call esi
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x30]
push 1
push eax
mov edx, dword [ecx]
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0xd8], edx
push ecx
lea edx, [ebp - 0x40]
push ebx
push edx
mov dword [ebp - 0xe0], 8
call dword [sym.imp.MSVBVM60.DLL___vbaInStrVar]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaI4Var]
mov ebx, eax
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x30]
push eax
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
test ebx, ebx
je 0x4dab2a
cmp ebx, 1
jne 0x4da8a4
mov edx, dword [ebp + 0x10]
lea ecx, [ebp - 0xd0]
lea eax, [ebp - 0x20]
push ecx
cmp word [edx], 0xffff
lea edx, [ebp - 0x30]
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xd0], 0x4008
push edx
jne 0x4da824
call esi
mov eax, dword [ebp + 0x14]
lea edx, [ebp - 0x20]
mov dword [ebp - 0xf0], 8
mov dword [ebp - 0xd8], edx
mov ecx, dword [eax]
lea eax, [ebp - 0xe0]
mov dword [ebp - 0xe8], ecx
lea ecx, [ebp - 0x40]
push eax
push ecx
mov dword [ebp - 0xe0], 0x4008
call esi
lea edx, [ebp - 0x40]
lea eax, [ebp - 0x50]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaLenVar]
mov edx, eax
lea ecx, [ebp - 0x60]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea ecx, [ebp - 0x60]
lea edx, [ebp - 0x30]
push ecx
push 2
lea eax, [ebp - 0x70]
push edx
push eax
call edi
lea ecx, [ebp - 0xf0]
lea edx, [ebp - 0x70]
push ecx
lea eax, [ebp - 0x80]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarAdd]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x20]
call dword [fcn.0040134c]
lea ecx, [ebp - 0x80]
lea edx, [ebp - 0x70]
push ecx
lea eax, [ebp - 0x60]
push edx
lea ecx, [ebp - 0x30]
push eax
lea edx, [ebp - 0x40]
push ecx
push edx
push 5
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x18
jmp 0x4dab22
call esi
lea ecx, [ebp - 0xe0]
lea edx, [ebp - 0x40]
lea eax, [ebp - 0x20]
push ecx
push edx
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xe0], 0x4008
call esi
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x50]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaLenVar]
mov edx, eax
lea ecx, [ebp - 0x60]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea edx, [ebp - 0x60]
lea eax, [ebp - 0x30]
push edx
push 2
lea ecx, [ebp - 0x70]
push eax
push ecx
call edi
lea edx, [ebp - 0x70]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x20]
call dword [fcn.0040134c]
lea eax, [ebp - 0x70]
lea ecx, [ebp - 0x60]
push eax
lea edx, [ebp - 0x30]
push ecx
lea eax, [ebp - 0x40]
push edx
push eax
push 4
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x14
jmp 0x4dab22
mov ecx, dword [ebp + 0x10]
cmp word [ecx], 0xffff
jne 0x4daa03
lea eax, [ebp - 0xd0]
lea ecx, [ebp - 0x30]
lea edx, [ebp - 0x20]
push eax
push ecx
mov dword [ebp - 0xc8], edx
mov dword [ebp - 0xd0], 0x4008
call esi
lea eax, [ebp - 0x100]
lea ecx, [ebp - 0x70]
lea edx, [ebp - 0x20]
push eax
push ecx
mov dword [ebp - 0xf8], edx
mov dword [ebp - 0x100], 0x4008
call esi
mov edx, ebx
lea eax, [ebp - 0x40]
sub edx, 1
push eax
jo 0x4dabac
mov dword [ebp - 0x38], edx
lea ecx, [ebp - 0x30]
push 1
lea edx, [ebp - 0x50]
push ecx
push edx
mov dword [ebp - 0x40], 3
call edi
mov eax, dword [ebp + 0x14]
lea edx, [ebp - 0x20]
mov dword [ebp - 0xf0], 8
mov dword [ebp - 0x108], edx
mov ecx, dword [eax]
lea eax, [ebp - 0x110]
mov dword [ebp - 0xe8], ecx
lea ecx, [ebp - 0x80]
push eax
push ecx
mov dword [ebp - 0x110], 0x4008
call esi
lea edx, [ebp - 0x80]
lea eax, [ebp - 0x90]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaLenVar]
mov edx, eax
lea ecx, [ebp - 0xa0]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
mov edx, ebx
lea ecx, [ebp - 0xa0]
add edx, 1
push ecx
jo 0x4dabac
lea eax, [ebp - 0x70]
push edx
lea ecx, [ebp - 0xb0]
push eax
push ecx
call edi
lea edx, [ebp - 0x50]
lea eax, [ebp - 0xf0]
push edx
lea ecx, [ebp - 0x60]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarAdd]
push eax
lea edx, [ebp - 0xb0]
lea eax, [ebp - 0xc0]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarAdd]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x20]
call dword [fcn.0040134c]
lea ecx, [ebp - 0xc0]
lea edx, [ebp - 0xb0]
push ecx
lea eax, [ebp - 0x60]
push edx
lea ecx, [ebp - 0xa0]
push eax
lea edx, [ebp - 0x70]
push ecx
lea eax, [ebp - 0x80]
push edx
lea ecx, [ebp - 0x50]
push eax
lea edx, [ebp - 0x40]
push ecx
lea eax, [ebp - 0x30]
push edx
push eax
push 9
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x28
jmp 0x4dab22
lea edx, [ebp - 0xd0]
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x20]
push edx
push eax
mov dword [ebp - 0xc8], ecx
mov dword [ebp - 0xd0], 0x4008
call esi
lea edx, [ebp - 0xf0]
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0x20]
push edx
push eax
mov dword [ebp - 0xe8], ecx
mov dword [ebp - 0xf0], 0x4008
call esi
mov ecx, ebx
lea edx, [ebp - 0x40]
sub ecx, 1
push edx
jo 0x4dabac
mov dword [ebp - 0x38], ecx
lea eax, [ebp - 0x30]
push 1
lea ecx, [ebp - 0x50]
push eax
push ecx
mov dword [ebp - 0x40], 3
call edi
lea eax, [ebp - 0x100]
lea ecx, [ebp - 0x70]
lea edx, [ebp - 0x20]
push eax
push ecx
mov dword [ebp - 0xf8], edx
mov dword [ebp - 0x100], 0x4008
call esi
lea edx, [ebp - 0x70]
lea eax, [ebp - 0x80]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaLenVar]
mov edx, eax
lea ecx, [ebp - 0x90]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
mov edx, ebx
lea ecx, [ebp - 0x90]
add edx, 1
push ecx
jo 0x4dabac
lea eax, [ebp - 0x60]
push edx
lea ecx, [ebp - 0xa0]
push eax
push ecx
call edi
lea edx, [ebp - 0x50]
lea eax, [ebp - 0xa0]
push edx
lea ecx, [ebp - 0xb0]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarAdd]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x20]
call dword [fcn.0040134c]
lea edx, [ebp - 0xb0]
lea eax, [ebp - 0xa0]
push edx
lea ecx, [ebp - 0x50]
push eax
lea edx, [ebp - 0x90]
push ecx
lea eax, [ebp - 0x60]
push edx
lea ecx, [ebp - 0x70]
push eax
push ecx
lea edx, [ebp - 0x40]
lea eax, [ebp - 0x30]
push edx
push eax
push 8
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x24
test ebx, ebx
jne 0x4da6d2
mov edx, dword [ebp - 0x20]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
push 0x4dab96
jmp 0x4dab8c
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop