Function at 0x5a0cdc
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push esi
mov ebx, eax
mov byte [ebx + 0x154], 0
mov dword [ebx + 0x20], 0xffffffff
movzx eax, word [ebx + 0x3a]
call fcn.0059f348
mov dword [ebx + 0x144], eax
movzx eax, byte [ebx + 0x16]
movzx edx, word [ebx + 0x3a]
call fcn.0059e694
mov esi, eax
mov dword [ebx + 0x254], esi
test esi, esi
je case.0x5a0d35.5003
mov eax, dword [ebx + 0x1d8]
add eax, 0xffffec77
cmp eax, 0x1c
ja case.0x5a0d35.5003
movzx eax, byte [eax + 0x5a0d3c]
jmp dword [eax*4 + 0x5a0d59]
movzx eax, word [esi + 2]
movzx edx, word [esi + 4]
add eax, edx
movzx edx, byte [ebx + 0x14]
imul edx
movzx edx, word [esi]
add eax, edx
mov dword [ebx + 0x24], eax
mov edx, dword [ebx + 0x254]
movzx edx, word [edx + 2]
add edx, eax
dec edx
mov dword [ebx + 0x28], edx
mov eax, dword [ebx + 0x254]
movzx eax, word [eax + 6]
mov dword [ebx + 0x308], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x30c], eax
mov eax, dword [ebx + 0x254]
movzx eax, word [eax + 2]
mov dword [ebx + 0x330], eax
push 0
push 1
movzx edx, byte [ebx + 0x14]
xor ecx, ecx
mov eax, ebx
call fcn.005a1de0
jmp case.0x5a0d35.5003
movzx eax, word [esi + 0xc]
movzx edx, word [esi + 0xe]
add eax, edx
movzx edx, byte [ebx + 0x14]
imul edx
movzx edx, word [esi + 0xa]
add eax, edx
mov dword [ebx + 0x24], eax
mov edx, dword [ebx + 0x254]
movzx edx, word [edx + 0xc]
add edx, eax
dec edx
mov dword [ebx + 0x28], edx
mov eax, dword [ebx + 0x254]
movzx eax, word [eax + 0x10]
mov dword [ebx + 0x308], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x30c], eax
mov eax, dword [ebx + 0x254]
movzx eax, word [eax + 0x12]
mov dword [ebx + 0x310], eax
xor eax, eax
mov dword [ebx + 0x314], eax
mov eax, 1
mov dword [ebx + 0x318], eax
cmp dword [ebx + 0x1d8], 0x138c
jne 0x5a0e7c
push 0
mov eax, dword [ebx + 0x28]
sub eax, dword [ebx + 0x24]
inc eax
push eax
movzx eax, byte [ebx + 0x14]
call fcn.005b5f74
mov edx, eax
mov ecx, dword [ebx + 0x318]
mov eax, ebx
call fcn.005a1de0
jmp case.0x5a0d35.5003
push 0
mov edx, dword [ebx + 0x28]
sub edx, dword [ebx + 0x24]
inc edx
push edx
movzx edx, byte [ebx + 0x14]
mov ecx, eax
mov eax, ebx
call fcn.005a1de0
jmp case.0x5a0d35.5003
movzx eax, word [esi + 0x16]
movzx edx, word [esi + 0x18]
add eax, edx
movzx edx, byte [ebx + 0x14]
imul edx
movzx edx, word [esi + 0x14]
add eax, edx
mov dword [ebx + 0x24], eax
mov edx, dword [ebx + 0x254]
movzx edx, word [edx + 0x16]
add edx, eax
dec edx
mov dword [ebx + 0x28], edx
mov eax, dword [ebx + 0x254]
movzx eax, word [eax + 0x1a]
mov dword [ebx + 0x308], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x30c], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x1e0], eax
push 0
push 1
movzx edx, byte [ebx + 0x14]
xor ecx, ecx
mov eax, ebx
call fcn.005a1de0
jmp case.0x5a0d35.5003
movzx eax, word [esi + 0x2a]
movzx edx, word [esi + 0x2c]
add eax, edx
movzx edx, byte [ebx + 0x14]
imul edx
movzx edx, word [esi + 0x28]
add eax, edx
mov dword [ebx + 0x24], eax
mov edx, dword [ebx + 0x254]
movzx edx, word [edx + 0x2a]
add edx, eax
dec edx
mov dword [ebx + 0x28], edx
mov eax, dword [ebx + 0x320]
mov dword [ebx + 0x308], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x30c], eax
push 0
push 1
movzx edx, byte [ebx + 0x14]
xor ecx, ecx
mov eax, ebx
call fcn.005a1de0
jmp case.0x5a0d35.5003
movzx eax, word [esi + 0x34]
movzx edx, word [esi + 0x36]
add eax, edx
movzx edx, byte [ebx + 0x14]
imul edx
movzx edx, word [esi + 0x32]
add eax, edx
mov dword [ebx + 0x24], eax
mov edx, dword [ebx + 0x254]
movzx edx, word [edx + 0x34]
add edx, eax
dec edx
mov dword [ebx + 0x28], edx
mov dword [ebx + 0x24], edx
mov eax, dword [ebx + 0x254]
movzx eax, word [eax + 0x38]
mov dword [ebx + 0x308], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x30c], eax
jmp case.0x5a0d35.5003
movzx eax, word [esi + 0x34]
movzx edx, word [esi + 0x36]
add eax, edx
movzx edx, byte [ebx + 0x14]
imul edx
movzx edx, word [esi + 0x32]
add eax, edx
mov dword [ebx + 0x24], eax
mov edx, dword [ebx + 0x254]
movzx edx, word [edx + 0x34]
add edx, eax
dec edx
mov dword [ebx + 0x28], edx
mov eax, dword [ebx + 0x254]
movzx eax, word [eax + 0x38]
mov dword [ebx + 0x308], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x30c], eax
jmp case.0x5a0d35.5003
movzx eax, word [esi + 0x3c]
movzx edx, byte [ebx + 0x14]
add eax, edx
mov dword [ebx + 0x24], eax
mov edx, dword [ebx + 0x254]
movzx edx, word [edx + 0x3e]
add edx, eax
dec edx
mov dword [ebx + 0x28], edx
mov eax, dword [ebx + 0x254]
movzx eax, word [eax + 0x42]
mov dword [ebx + 0x308], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x30c], eax
pop esi
pop ebx
ret