Function at 0x4096b0
Capabilities:
Parse pe header

Disassembly:
call dword [sym.imp.MSVBVM60.DLL_rtcMidCharBstr]
jmp 0x40946e
call dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
jmp 0x4091a4
call dword [sym.imp.MSVBVM60.DLL_rtcAnsiValueBstr]
jmp 0x409480
mov ax, word [0x41005c]
mov esi, dword [0x410060]
mov cx, ax
jmp 0x4094ae
and ecx, 0xff
jmp 0x409721
mov eax, dword [0x410068]
jmp 0x4093a4
push ebx
push esi
mov esi, dword [esp + 0x10]
mov eax, dword [esi]
push eax
push 0x403738
jmp 0x4026a3
test eax, eax
je 0x4091ae
push esi
call 0x4093d0
mov ebx, dword [esp + 0xc]
mov ecx, dword [ebx]
push ecx
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaUbound]
test eax, eax
mov dword [esp + 0x10], eax
mov dword [0x410068], 0
jl 0x4093bc
push ebp
mov ebp, dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
push edi
movsx esi, word [0x41005c]
cmp esi, 0x100
jb 0x4091ec
call ebp
mov edx, dword [0x410098]
movsx edi, word [0x41005e]
movzx ax, byte [edx + esi + 0x100]
cmp edi, 0x100
mov word [0x41005c], ax
jb 0x409212
call ebp
movsx esi, word [0x41005c]
cmp esi, 0x100
jb 0x409223
call ebp
mov edx, dword [0x4100bc]
xor ecx, ecx
mov cl, byte [edx + esi]
mov esi, ecx
cmp esi, 0x100
jb 0x40923a
call ebp
mov ecx, dword [0x410098]
shl esi, 8
add esi, ecx
movzx ax, byte [esi + edi]
movsx esi, word [0x41005c]
cmp esi, 0x100
mov word [0x41005e], ax
jb 0x409261
call ebp
mov ecx, dword [0x4100bc]
mov dl, byte [ecx + esi]
movsx esi, word [0x41005e]
cmp esi, 0x100
mov byte [0x410062], dl
jb 0x409281
call ebp
movsx edi, word [0x41005c]
cmp edi, 0x100
jb 0x409292
call ebp
mov eax, dword [0x4100bc]
mov cl, byte [eax + esi]
mov byte [eax + edi], cl
movsx esi, word [0x41005e]
cmp esi, 0x100
jb 0x4092ae
call ebp
mov eax, dword [0x4100bc]
mov dl, byte [0x410062]
mov byte [eax + esi], dl
movsx esi, word [0x41005c]
cmp esi, 0x100
jb 0x4092cd
call ebp
mov edx, dword [0x4100bc]
xor ecx, ecx
mov cl, byte [edx + esi]
mov edi, ecx
cmp edi, 0x100
jb 0x4092e4
call ebp
movsx esi, word [0x41005e]
cmp esi, 0x100
jb 0x4092f5
call ebp
mov ecx, dword [0x4100bc]
xor eax, eax
mov al, byte [ecx + esi]
mov esi, eax
cmp esi, 0x100
jb 0x40930c
call ebp
mov ecx, dword [0x410098]
xor edx, edx
shl esi, 8
add esi, ecx
mov dl, byte [esi + edi]
mov esi, edx
cmp esi, 0x100
jb 0x409328
call ebp
mov eax, dword [0x4100bc]
mov cl, byte [eax + esi]
mov byte [0x410063], cl
mov eax, dword [ebx]
test eax, eax
je 0x409362
cmp word [eax], 1
jne 0x409362
mov ecx, dword [0x410068]
mov edi, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
mov esi, ecx
sub esi, edi
cmp esi, edx
jb 0x40935e
call ebp
mov ecx, dword [0x410068]
mov edi, esi
jmp 0x40936c
call ebp
mov ecx, dword [0x410068]
mov edi, eax
mov eax, dword [ebx]
test eax, eax
je 0x409388
cmp word [eax], 1
jne 0x409388
sub ecx, dword [eax + 0x14]
mov esi, ecx
mov ecx, dword [eax + 0x10]
cmp esi, ecx
jb 0x40938c
call ebp
jmp 0x40938c
call ebp
mov esi, eax
mov edx, dword [ebx]
mov ecx, dword [edx + 0xc]
mov dl, byte [0x410063]
mov al, byte [ecx + edi]
xor al, dl
mov byte [ecx + esi], al
jmp 0x402b30
mov ecx, dword [esp + 0x18]
add eax, 1
jo 0x4093c1
cmp eax, ecx
mov dword [0x410068], eax
jle 0x4091db
pop edi
pop ebp
pop esi
pop ebx
ret 8
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
nop
nop
nop
nop
nop
nop
push ebp
mov ebp, esp
sub esp, 8
push 0x401436
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x4011e8
xor esi, esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x24], esi
call 0x4096b0
call fcn.00409090
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaLenBstr]
mov ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
mov word [0x410060], ax
sub ax, 1
jo 0x4096a2
mov dword [ebp - 0x4c], eax
xor ax, ax
cmp ax, word [ebp - 0x4c]
mov word [0x41005c], ax
jg 0x409523
add ax, 1
lea ecx, [ebp - 0x24]
jo 0x4096a2
movsx edx, ax
mov eax, dword [ebx]
push ecx
push edx
push eax
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x24], 2
jmp 0x40260c
mov edx, eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
jmp 0x4026cc
mov ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaUI1I2]
lea ecx, [ebp - 0x14]
mov byte [0x410063], al
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
jmp 0x402a30
mov dword [ebp - 0x54], 0xff
mov word [0x41005e], cx
mov dx, si
sar dx, 0xf
mov di, dx
xor edx, dword [ebp - 0x54]
xor di, cx
cmp di, dx
jg 0x409510
movsx edi, cx
cmp edi, 0x100
jb 0x4094e2
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [0x41007c]
mov dl, byte [0x410063]
mov byte [ecx + edi], dl
mov cx, word [0x41005e]
mov ax, word [0x41005c]
add cx, si
jo 0x4096a2
mov word [0x41005e], cx
jmp 0x4094bc
mov ecx, 1
add ax, cx
jo 0x4096a2
jmp 0x409435
xor eax, eax
mov dword [ebp - 0x5c], 0xff
mov word [0x41005e], ax
mov dword [ebp - 0x58], 1
cmp ax, word [ebp - 0x5c]
mov word [0x41005c], ax
jg 0x409666
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
movsx esi, ax
cmp esi, 0x100
jb 0x40955c
call ebx
mov ecx, dword [0x4100bc]
xor eax, eax
mov al, byte [ecx + esi]
mov edi, eax
cmp edi, 0x100
jb 0x409573
call ebx
movsx esi, word [0x41005c]
cmp esi, 0x100
jb 0x409584
call ebx
mov eax, dword [0x41007c]
xor edx, edx
mov dl, byte [eax + esi]
mov esi, edx
cmp esi, 0x100
jb 0x40959a
call ebx
mov ecx, dword [0x410098]
shl esi, 8
add esi, ecx
movzx cx, byte [esi + edi]
movsx edi, word [0x41005e]
cmp edi, 0x100
mov word [0x410060], cx
jb 0x4095c2
call ebx
movsx esi, word [0x410060]
cmp esi, 0x100
jb 0x4095d3
call ebx
mov ecx, dword [0x410098]
shl esi, 8
add esi, ecx
movzx dx, byte [esi + edi]
movsx esi, word [0x41005c]
cmp esi, 0x100
mov word [0x41005e], dx
jb 0x4095fb
call ebx
mov eax, dword [0x4100bc]
mov cl, byte [eax + esi]
movsx esi, word [0x41005e]
cmp esi, 0x100
mov byte [0x410063], cl
jb 0x40961a
call ebx
movsx edi, word [0x41005c]
cmp edi, 0x100
jb 0x40962b
call ebx
mov eax, dword [0x4100bc]
mov dl, byte [eax + esi]
mov byte [eax + edi], dl
movsx esi, word [0x41005e]
cmp esi, 0x100
jb 0x409647
call ebx
mov eax, dword [0x4100bc]
mov cl, byte [0x410063]
mov byte [eax + esi], cl
mov ax, word [0x41005c]
add ax, word [ebp - 0x58]
jo 0x4096a2
jmp 0x409539
xor eax, eax
push 0x40968f
mov word [0x41005c], ax
mov word [0x41005e], ax
jmp 0x40968e
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [0x4100c8]
cmp word [eax], 0
jne 0x409777
push ebx
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaUI1I2]
push ebp
mov ebp, dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
xor ax, ax
push esi
push edi
mov word [0x41005e], ax
xor cx, cx
mov word [0x41005c], cx
movsx edi, cx
cmp edi, 0x100
jb 0x4096fc
call ebp
mov cx, word [0x41005c]
mov ax, word [0x41005e]
movsx esi, ax
cmp esi, 0x100
jb 0x409716
call ebp
mov cx, word [0x41005c]
mov ax, word [0x41005e]
add cx, ax
jo 0x409778
jmp 0x402a44
call ebx
mov ecx, dword [0x410098]
shl esi, 8
add esi, ecx
mov byte [esi + edi], al
mov cx, word [0x41005c]
mov ax, word [0x41005e]
add cx, 1
jo 0x409778
cmp cx, 0xff
mov word [0x41005c], cx
jle 0x4096e2
add ax, 1
jo 0x409778
cmp ax, 0xff
mov word [0x41005e], ax
jle 0x4096d8
mov ecx, dword [0x4100c8]
pop edi
pop esi
pop ebp
mov word [ecx], 0xffff
pop ebx
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop