Function at 0x50d3b0
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push ecx
mov ebx, eax
mov byte [ebx + 0x170], 0
mov dword [ebx + 0x2b4], 0xffffffff
movzx eax, word [ebx + 0x1a]
call fcn.00512b78
mov dword [ebx + 0x160], eax
xor eax, eax
mov al, byte [ebx + 0x12]
mov dx, word [ebx + 0x1a]
call fcn.005122cc
mov dword [esp], eax
cmp dword [esp], 0
je case.0x50d407.10
mov eax, dword [ebx + 0x204]
add eax, 0xfffffff6
cmp eax, 0x18
ja case.0x50d407.10
mov al, byte [eax + 0x50d40e]
jmp dword [eax*4 + 0x50d427]
mov eax, dword [esp]
movzx eax, word [eax]
mov dword [ebx + 0x2ac], eax
mov edx, dword [esp]
movzx edx, word [edx + 2]
add edx, eax
dec edx
mov dword [ebx + 0x2b0], edx
mov eax, dword [esp]
movzx eax, word [eax + 6]
mov dword [ebx + 0x2d8], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x2dc], eax
mov eax, dword [esp]
movzx eax, word [eax + 2]
mov dword [ebx + 0x300], eax
push 0
push 1
xor edx, edx
mov dl, byte [ebx + 0x10]
xor ecx, ecx
mov eax, ebx
call fcn.00514b84
jmp case.0x50d407.10
mov eax, dword [esp]
movzx eax, word [eax + 0xa]
mov dword [ebx + 0x2ac], eax
mov edx, dword [esp]
movzx edx, word [edx + 0xc]
add edx, eax
dec edx
mov dword [ebx + 0x2b0], edx
mov eax, dword [esp]
movzx eax, word [eax + 0x10]
mov dword [ebx + 0x2d8], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x2dc], eax
mov eax, dword [esp]
movzx eax, word [eax + 0x12]
mov dword [ebx + 0x2e4], eax
xor eax, eax
mov dword [ebx + 0x2e8], eax
mov dword [ebx + 0x2ec], 1
push 0
push 1
xor edx, edx
mov dl, byte [ebx + 0x10]
xor ecx, ecx
mov eax, ebx
call fcn.00514b84
jmp case.0x50d407.10
mov eax, dword [esp]
movzx eax, word [eax + 0x16]
mov edx, dword [esp]
movzx edx, word [edx + 0x18]
add eax, edx
xor edx, edx
mov dl, byte [ebx + 0x10]
imul edx
mov edx, dword [esp]
movzx edx, word [edx + 0x14]
add eax, edx
mov dword [ebx + 0x2ac], eax
mov edx, dword [esp]
movzx edx, word [edx + 0x16]
add edx, eax
dec edx
mov dword [ebx + 0x2b0], edx
mov eax, dword [esp]
movzx eax, word [eax + 0x1a]
mov dword [ebx + 0x2d8], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x2dc], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x20c], eax
push 0
push 1
xor edx, edx
mov dl, byte [ebx + 0x10]
xor ecx, ecx
mov eax, ebx
call fcn.00514b84
jmp case.0x50d407.10
mov eax, dword [esp]
movzx eax, word [eax + 0x2a]
mov edx, dword [esp]
movzx edx, word [edx + 0x2c]
add eax, edx
xor edx, edx
mov dl, byte [ebx + 0x10]
imul edx
mov edx, dword [esp]
movzx edx, word [edx + 0x28]
add eax, edx
mov dword [ebx + 0x2ac], eax
mov edx, dword [esp]
movzx edx, word [edx + 0x2a]
add edx, eax
dec edx
mov dword [ebx + 0x2b0], edx
mov eax, dword [ebx + 0x2f4]
mov dword [ebx + 0x2d8], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x2dc], eax
jmp case.0x50d407.10
mov eax, dword [esp]
movzx eax, word [eax + 0x34]
mov edx, dword [esp]
movzx edx, word [edx + 0x36]
add eax, edx
xor edx, edx
mov dl, byte [ebx + 0x10]
imul edx
mov edx, dword [esp]
movzx edx, word [edx + 0x32]
add eax, edx
mov dword [ebx + 0x2ac], eax
mov edx, dword [esp]
movzx edx, word [edx + 0x34]
add edx, eax
dec edx
mov dword [ebx + 0x2b0], edx
mov dword [ebx + 0x2ac], edx
mov eax, dword [esp]
movzx eax, word [eax + 0x38]
mov dword [ebx + 0x2d8], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x2dc], eax
jmp case.0x50d407.10
mov eax, dword [esp]
movzx eax, word [eax + 0x34]
mov edx, dword [esp]
movzx edx, word [edx + 0x36]
add eax, edx
xor edx, edx
mov dl, byte [ebx + 0x10]
imul edx
mov edx, dword [esp]
movzx edx, word [edx + 0x32]
add eax, edx
mov dword [ebx + 0x2ac], eax
mov edx, dword [esp]
movzx edx, word [edx + 0x34]
add edx, eax
dec edx
mov dword [ebx + 0x2b0], edx
mov eax, dword [esp]
movzx eax, word [eax + 0x38]
mov dword [ebx + 0x2d8], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x2dc], eax
jmp case.0x50d407.10
mov eax, dword [esp]
movzx eax, word [eax + 0x3c]
mov dword [ebx + 0x2ac], eax
mov edx, dword [esp]
movzx edx, word [edx + 0x3e]
add edx, eax
dec edx
mov dword [ebx + 0x2b0], edx
mov eax, dword [esp]
movzx eax, word [eax + 0x42]
mov dword [ebx + 0x2d8], eax
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x2dc], eax
mov byte [ebx + 0x2f], 1
pop edx
pop ebx
ret