Function at 0x5a1ca0
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, 0x7c
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x404208
mov edx, dword [ebp + 8]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
xor ebx, ebx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], 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
call esi
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x24]
call esi
mov edx, dword [ebp + 0x10]
lea ecx, [ebp - 0x28]
call esi
movsx eax, word [ebp + 0x14]
sub eax, ebx
je 0x5a1f88
dec eax
je 0x5a1f18
dec eax
je 0x5a1e95
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaLenBstr]
mov ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x70]
push 1
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0x24]
push edx
push eax
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x70], 0x4008
call dword [sym.imp.MSVBVM60.DLL_rtcLeftCharVar]
lea ecx, [ebp - 0x50]
lea edx, [ebp - 0x80]
push ecx
push edx
mov dword [ebp - 0x78], 0x412500
mov dword [ebp - 0x80], 0x8008
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
lea ecx, [ebp - 0x50]
mov esi, eax
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
cmp si, bx
je 0x5a1d9f
mov ax, word [ebp - 0x14]
sub ax, 1
jo 0x5a2036
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x14]
push 0x41a6b8
push edx
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x70], 0x4002
call dword [sym.imp.MSVBVM60.DLL_rtcStrFromVar]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
lea ecx, [ebp - 0x2c]
call esi
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcLeftTrimBstr]
mov edx, eax
lea ecx, [ebp - 0x30]
call esi
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
push eax
call edi
mov edx, eax
lea ecx, [ebp - 0x34]
call esi
push eax
push 0x41a6c4
call edi
mov edx, eax
lea ecx, [ebp - 0x1c]
call esi
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x30]
push eax
lea edx, [ebp - 0x2c]
push ecx
push edx
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0x10
push ebx
call dword [sym.imp.MSVBVM60.DLL___vbaStrI2]
mov edx, eax
lea ecx, [ebp - 0x2c]
call esi
push eax
mov eax, dword [ebp - 0x20]
push eax
call edi
mov edx, eax
lea ecx, [ebp - 0x30]
call esi
mov ecx, dword [ebp - 0x24]
push eax
push ecx
call edi
mov edx, eax
lea ecx, [ebp - 0x34]
call esi
mov edx, dword [ebp - 0x28]
push eax
push edx
call edi
mov edx, eax
lea ecx, [ebp - 0x38]
call esi
push eax
mov eax, dword [ebp - 0x1c]
push eax
call edi
mov edx, eax
lea ecx, [ebp - 0x3c]
call esi
push eax
push 0x4115f4
call edi
mov edx, eax
lea ecx, [ebp - 0x40]
call esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaI2Str]
lea ecx, [ebp - 0x40]
lea edx, [ebp - 0x3c]
push ecx
lea eax, [ebp - 0x38]
push edx
lea ecx, [ebp - 0x34]
push eax
lea edx, [ebp - 0x30]
push ecx
lea eax, [ebp - 0x2c]
push edx
push eax
push 6
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0x1c
push 0x5a2023
jmp 0x5a2008
push ebx
call dword [sym.imp.MSVBVM60.DLL___vbaStrI2]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
lea ecx, [ebp - 0x2c]
call esi
mov ecx, dword [ebp - 0x20]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
push eax
push ecx
call edi
mov edx, eax
lea ecx, [ebp - 0x30]
call esi
mov edx, dword [ebp - 0x24]
push eax
push edx
call edi
mov edx, eax
lea ecx, [ebp - 0x34]
call esi
push eax
mov eax, dword [ebp - 0x28]
push eax
call edi
mov edx, eax
lea ecx, [ebp - 0x38]
call esi
push eax
push 0x4115f4
call edi
mov edx, eax
lea ecx, [ebp - 0x3c]
call esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaI2Str]
lea ecx, [ebp - 0x3c]
lea edx, [ebp - 0x38]
push ecx
lea eax, [ebp - 0x34]
push edx
lea ecx, [ebp - 0x30]
push eax
lea edx, [ebp - 0x2c]
push ecx
push edx
push 5
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0x18
push 0x5a2023
jmp 0x5a2008
push ebx
call dword [sym.imp.MSVBVM60.DLL___vbaStrI2]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
lea ecx, [ebp - 0x2c]
call esi
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
push eax
mov eax, dword [ebp - 0x20]
push eax
call edi
mov edx, eax
lea ecx, [ebp - 0x30]
call esi
mov ecx, dword [ebp - 0x24]
push eax
push ecx
call edi
mov edx, eax
lea ecx, [ebp - 0x34]
call esi
mov edx, dword [ebp - 0x28]
push eax
push edx
call edi
mov edx, eax
lea ecx, [ebp - 0x38]
call esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaI2Str]
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x34]
push eax
lea edx, [ebp - 0x30]
push ecx
lea eax, [ebp - 0x2c]
push edx
push eax
push 4
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0x14
push 0x5a2023
jmp 0x5a2008
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
push ecx
push edx
call esi
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
lea ecx, [ebp - 0x2c]
call edi
push eax
mov eax, dword [ebp - 0x28]
push eax
call esi
mov edx, eax
lea ecx, [ebp - 0x30]
call edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaI2Str]
lea ecx, [ebp - 0x30]
lea edx, [ebp - 0x2c]
push ecx
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
push 0x5a2023
jmp 0x5a2008
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x1c]
call esi
lea ecx, [ebp - 0x20]
call esi
lea ecx, [ebp - 0x24]
call esi
lea ecx, [ebp - 0x28]
call esi
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
nop