Function at 0x42d5b0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x401f26
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
push ebx
push esi
push edi
mov dword [ebp - 0x14], esp
mov dword [ebp - 0x10], 0x401500
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x74], eax
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov eax, 0x409d38
mov ecx, 8
sub esp, 0x10
mov edx, esp
mov dword [edx], ecx
mov edi, dword [ebp - 0x60]
mov dword [edx + 4], edi
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x58]
mov dword [edx + 0xc], eax
push 1
push 0x408bcc
mov ecx, dword [0x46902c]
push ecx
lea edx, [ebp - 0x54]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaLateMemCallLd]
add esp, 0x20
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjVar]
push eax
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSetAddref]
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov eax, 0x469378
mov ecx, 0x4008
mov edx, 0x46937c
mov esi, 0x6008
sub esp, 0x10
mov ebx, esp
mov dword [ebx], ecx
mov dword [ebx + 4], edi
mov dword [ebx + 8], eax
mov ecx, dword [ebp - 0x58]
mov dword [ebx + 0xc], ecx
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov ecx, dword [ebp - 0x70]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov edx, dword [ebp - 0x68]
mov dword [eax + 0xc], edx
push 2
push 0x409d5c
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaLateMemCall]
add esp, 0x2c
mov ecx, dword [0x46937c]
push ecx
push 1
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaUbound]
call ebx
cmp eax, 0x112
jl 0x42d738
mov ecx, dword [0x46937c]
test ecx, ecx
je 0x42d6f8
cmp word [ecx], 1
jne 0x42d6f8
mov esi, 0x112
sub esi, dword [ecx + 0x14]
cmp esi, dword [ecx + 0x10]
jb 0x42d6ef
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [0x46937c]
lea eax, [esi*4]
jmp 0x42d704
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [0x46937c]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + eax]
push eax
mov edi, dword [sym.imp.MSVBVM60.DLL_rtcTrimBstr]
call edi
mov edx, eax
lea ecx, [ebp - 0x40]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
call esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaI2Str]
mov word [0x469374], ax
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
jmp 0x42d744
mov edi, dword [sym.imp.MSVBVM60.DLL_rtcTrimBstr]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov word [0x4693f4], 0
mov ecx, dword [0x46937c]
push ecx
push 1
call ebx
cmp eax, 0x139
jl 0x42d7ef
mov ecx, dword [0x46937c]
test ecx, ecx
je 0x42d795
cmp word [ecx], 1
jne 0x42d795
mov ebx, 0x139
sub ebx, dword [ecx + 0x14]
cmp ebx, dword [ecx + 0x10]
jb 0x42d78c
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [0x46937c]
lea eax, [ebx*4]
jmp 0x42d7a1
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [0x46937c]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + eax]
push eax
call edi
mov edx, eax
lea ecx, [ebp - 0x40]
call esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaI2Str]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrI2]
mov edx, eax
lea ecx, [ebp - 0x24]
call esi
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaR8Str]
fcomp qword [0x401528]
fnstsw ax
test ah, 0x40
je 0x42d7ef
mov word [0x4693f4], 0xffff
mov ecx, dword [0x46937c]
test ecx, ecx
je 0x42d821
cmp word [ecx], 1
jne 0x42d821
mov ebx, 0x12f
sub ebx, dword [ecx + 0x14]
cmp ebx, dword [ecx + 0x10]
jb 0x42d818
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [0x46937c]
lea eax, [ebx*4]
jmp 0x42d82d
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [0x46937c]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + eax]
push eax
call edi
mov edx, eax
lea ecx, [ebp - 0x24]
call esi
xor ebx, ebx
mov ecx, dword [ebp - 0x24]
push ecx
call edi
mov edx, eax
lea ecx, [ebp - 0x40]
call esi
push eax
push 0x407918
call dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
mov esi, eax
neg esi
sbb esi, esi
neg esi
neg esi
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
test si, si
je 0x42d9f8
lea eax, [ebp - 0x24]
mov ecx, 0x4008
mov edx, 0x40934c
mov esi, 8
sub esp, 0x10
mov edi, esp
mov dword [edi], ecx
mov ecx, dword [ebp - 0x60]
mov dword [edi + 4], ecx
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x58]
mov dword [edi + 0xc], eax
sub esp, 0x10
mov ecx, esp
mov dword [ecx], esi
mov eax, dword [ebp - 0x70]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
mov edx, dword [ebp - 0x68]
mov dword [ecx + 0xc], edx
push 2
push 0x409d84
mov eax, dword [0x46902c]
push eax
lea ecx, [ebp - 0x54]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaLateMemCallLd]
add esp, 0x30
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaI2Var]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 0x30], ebx
mov dx, word [ebp - 0x28]
cmp word [ebp - 0x30], dx
jg 0x42d9f8
mov si, bx
add si, 1
jo 0x42dab0
movsx edi, si
push edi
mov eax, dword [ebp - 0x24]
push eax
push 0x40934c
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaInStr]
mov ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
mov ebx, eax
test bx, bx
jne 0x42d931
mov dword [ebp - 0x4c], 0x80020004
mov dword [ebp - 0x54], 0xa
jmp 0x42d948
mov ax, bx
sub ax, si
jo 0x42dab0
mov word [ebp - 0x4c], ax
mov dword [ebp - 0x54], 2
lea ecx, [ebp - 0x54]
push ecx
push edi
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcMidCharBstr]
mov edx, eax
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov edi, dword [ebp - 0x20]
movsx esi, di
push 0
push esi
push 1
push 8
push 0x4693e8
push 4
push 0x180
call dword [sym.imp.MSVBVM60.DLL___vbaRedimPreserve]
add esp, 0x1c
mov ecx, dword [0x4693e8]
test ecx, ecx
je 0x42d9ba
cmp word [ecx], 1
jne 0x42d9ba
sub esi, dword [ecx + 0x14]
cmp esi, dword [ecx + 0x10]
jb 0x42d9b1
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [0x4693e8]
lea eax, [esi*4]
jmp 0x42d9c6
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [0x4693e8]
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ecx + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
add di, 1
jo 0x42dab0
mov dword [ebp - 0x20], edi
mov eax, 1
add ax, word [ebp - 0x30]
jo 0x42dab0
mov dword [ebp - 0x30], eax
jmp 0x42d8e2
lea eax, [ebp - 0x3c]
mov ecx, 0x4009
sub esp, 0x10
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [ebp - 0x60]
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x58]
mov dword [edx + 0xc], eax
push 1
push 0x409da4
mov ecx, dword [0x46902c]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaLateMemCall]
add esp, 0x1c
call dword [sym.imp.MSVBVM60.DLL___vbaExitProc]
wait
push 0x42da9f
jmp 0x42da85
lea ecx, [ebp - 0x24]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
call esi
lea ecx, [ebp - 0x2c]
call esi
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop