Function at 0x5a15c0
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x405f86
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x4041d8
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x48]
xor edi, edi
push eax
push esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x48], edi
call fcn.005a0f80
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], eax
push ecx
push esi
call fcn.005a0f80
lea edx, [ebp - 0x44]
mov dword [ebp - 0x40], eax
push edx
push esi
mov dword [ebp - 0x44], eax
call fcn.005a0fd0
add eax, dword [ebp - 0x40]
jo 0x5a1942
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.005a0fd0
mov ecx, dword [ebp - 0x40]
add eax, ecx
lea ecx, [ebp - 0x44]
push ecx
push esi
jo 0x5a1942
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], eax
call fcn.005a0fd0
mov ecx, dword [ebp - 0x40]
lea edx, [ebp - 0x44]
add eax, ecx
push edx
jo 0x5a1942
push esi
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], eax
call fcn.005a0fd0
add eax, dword [ebp - 0x40]
jo 0x5a1942
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.005a0fd0
mov ebx, dword [ebp - 0x40]
lea ecx, [ebp - 0x44]
add eax, ebx
push ecx
jo 0x5a1942
push esi
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], eax
call fcn.005a0f80
lea edx, [ebp - 0x44]
mov dword [ebp - 0x40], eax
push edx
push esi
call fcn.005a1050
mov ecx, eax
mov eax, dword [ebp - 0x40]
add ecx, eax
jo 0x5a1942
mov dword [ebp - 0x20], ecx
cmp eax, ecx
jge 0x5a18fa
lea eax, [ebp - 0x40]
push eax
push esi
call fcn.005a0f80
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], eax
push ecx
push esi
call fcn.005a0f80
mov ecx, dword [esi]
mov dword [ebp - 0x30], eax
cmp ecx, edi
je 0x5a1720
cmp word [ecx], 1
jne 0x5a1720
mov edx, dword [ecx + 0x14]
mov ebx, eax
add ebx, 2
jo 0x5a1942
sub ebx, edx
mov edx, dword [ecx + 0x10]
cmp ebx, edx
jb 0x5a171b
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x64], ebx
jmp 0x5a172c
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [esi]
cmp ecx, edi
je 0x5a1757
cmp word [ecx], 1
jne 0x5a1757
mov edx, dword [ecx + 0x14]
mov ebx, eax
add ebx, 3
jo 0x5a1942
sub ebx, edx
mov edx, dword [ecx + 0x10]
cmp ebx, edx
jb 0x5a1762
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
jmp 0x5a175f
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ebx, eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [esi]
cmp ecx, edi
je 0x5a178d
cmp word [ecx], 1
jne 0x5a178d
mov edx, dword [ecx + 0x14]
add eax, 4
jo 0x5a1942
sub eax, edx
mov edi, eax
mov eax, dword [ecx + 0x10]
cmp edi, eax
jb 0x5a1795
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
jmp 0x5a1795
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov edi, eax
mov edx, dword [esi]
xor eax, eax
mov ecx, dword [edx + 0xc]
mov dl, byte [ecx + ebx]
mov ebx, dword [ebp - 0x64]
cmp dl, 4
setne al
xor edx, edx
cmp byte [ecx + ebx], 0x55
mov bl, byte [ecx + edi]
setne dl
or eax, edx
neg eax
sbb eax, eax
xor edx, edx
neg eax
cmp bl, 3
setne dl
or eax, edx
jne 0x5a17fb
lea eax, [ebp - 0x30]
push eax
push esi
call fcn.005a0fd0
mov ecx, dword [ebp - 0x30]
add eax, ecx
lea ecx, [ebp - 0x34]
push ecx
push esi
jo 0x5a1942
mov dword [ebp - 0x34], eax
call fcn.005a0f80
lea edx, [ebp - 0x34]
mov ebx, eax
push edx
push esi
call fcn.005a1050
cmp eax, 0xa
jg 0x5a181d
lea eax, [ebp - 0x40]
push eax
push esi
call fcn.005a0fd0
mov ecx, dword [ebp - 0x40]
add eax, ecx
mov ecx, dword [ebp - 0x20]
jo 0x5a1942
mov dword [ebp - 0x40], eax
xor edi, edi
jmp 0x5a16cd
sub eax, 0xb
push 0
jo 0x5a1942
mov edi, eax
add ebx, 0xb
mov ecx, edi
lea edx, [ebp - 0x38]
jo 0x5a1942
sub ecx, 1
mov dword [ebp - 0x3c], ebx
jo 0x5a1942
push ecx
push 1
push 0x11
push edx
push 1
push 0x80
call dword [sym.imp.MSVBVM60.DLL___vbaRedim]
add esp, 0x1c
sub edi, 1
jo 0x5a1942
mov dword [ebp - 0x5c], edi
xor ebx, ebx
cmp ebx, dword [ebp - 0x5c]
jg 0x5a18fa
mov eax, dword [esi]
test eax, eax
je 0x5a189f
cmp word [eax], 1
jne 0x5a189f
mov edi, dword [ebp - 0x3c]
mov edx, dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
add edi, ebx
jo 0x5a1942
sub edi, edx
cmp edi, ecx
jb 0x5a189a
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x68], edi
jmp 0x5a18a8
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x5a18d0
cmp word [ecx], 1
jne 0x5a18d0
mov edx, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
mov edi, ebx
sub edi, edx
cmp edi, eax
jb 0x5a18cc
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0x38]
mov eax, edi
jmp 0x5a18d9
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0x38]
mov edx, dword [esi]
mov edi, dword [ebp - 0x68]
mov ecx, dword [ecx + 0xc]
mov edx, dword [edx + 0xc]
mov dl, byte [edx + edi]
mov byte [ecx + eax], dl
mov eax, 1
add eax, ebx
jo 0x5a1942
mov ebx, eax
jmp 0x5a1868
lea eax, [ebp - 0x38]
push eax
call fcn.005a1210
mov edx, eax
lea ecx, [ebp - 0x18]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push 0x5a192c
jmp 0x5a191f
lea ecx, [ebp - 0x38]
push ecx
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaAryDestruct]
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
nop
nop
nop
nop
nop