Function at 0x50431ad4
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffdc
mov ebx, eax
xor eax, eax
mov edx, dword [ebx + 0x54]
test edx, edx
je 0x50431cf7
cmp dword [ebx + 0xe4], 0
je 0x50431cf7
cmp dword [ebx + 0x18], 0
je 0x50431cf7
cmp dword [ebx + 0x24], 0
je 0x50431cf7
cmp dword [ebx + 0x2c], 0
je 0x50431cf7
cmp dword [ebx + 0x30], 0
je 0x50431cf7
mov esi, edx
mov eax, dword [ebx + 0x18]
mov dword [esp], eax
mov eax, dword [ebx + 0xe0]
mov dword [esp + 0x14], eax
lea edi, [ebx + 0x40]
cmp dword [esp], 0
jbe 0x50431ce9
xor eax, eax
mov al, byte [edi]
lea eax, [eax + eax*2]
mov ebp, dword [ebx + eax*4 + 0x68]
mov eax, esi
call ebp
mov ebp, eax
add ebp, dword [ebx + 0x24]
add ebp, dword [ebx + 0xe0]
jmp 0x50431b5b
xor eax, eax
mov al, byte [edi + 9]
lea eax, [eax + eax*2]
mov edx, dword [ebx + eax*4 + 0x68]
mov eax, esi
call edx
cmp byte [ebx + 0x20], 0
jne 0x50431cb2
cmp al, 1
jne 0x50431cb2
jmp 0x50431b80
xor eax, eax
mov al, byte [edi + 7]
lea eax, [eax + eax*2]
mov edx, dword [ebx + eax*4 + 0x68]
mov eax, esi
call edx
mov dword [esp + 4], eax
xor eax, eax
mov al, byte [edi + 8]
lea eax, [eax + eax*2]
mov edx, dword [ebx + eax*4 + 0x68]
mov eax, esi
call edx
mov dword [esp + 8], eax
jmp 0x50431bab
xor eax, eax
mov al, byte [edi + 2]
lea eax, [eax + eax*2]
mov edx, dword [ebx + eax*4 + 0x68]
mov eax, esi
call edx
mov dword [esp + 0x1c], eax
xor eax, eax
mov al, byte [edi + 6]
lea eax, [eax + eax*2]
mov edx, dword [ebx + eax*4 + 0x68]
mov eax, esi
call edx
mov byte [esp + 0x20], al
mov eax, dword [ebx + 0xe0]
add dword [esp + 0x1c], eax
jmp 0x50431be0
mov eax, dword [esp + 0x1c]
push eax
xor eax, eax
mov al, byte [esp + 0x24]
add eax, 0xff
push eax
mov eax, ebx
call fcn.504315a4
mov ecx, eax
mov edx, dword [ebx + 0x10]
mov eax, ebx
call fcn.504303d8
jmp 0x50431c07
mov edx, dword [esp + 4]
add edx, dword [esp + 0x14]
add edx, eax
mov dword [esp + 4], edx
mov edx, dword [esp + 8]
sub edx, dword [esp + 0x14]
sub edx, eax
mov dword [esp + 8], edx
xor eax, eax
mov al, byte [edi + 3]
lea eax, [eax + eax*2]
mov edx, dword [ebx + eax*4 + 0x68]
mov eax, esi
call edx
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0xe0]
add dword [esp + 0x14], eax
xor eax, eax
mov al, byte [edi + 1]
lea eax, [eax + eax*2]
mov edx, dword [ebx + eax*4 + 0x68]
mov eax, esi
call edx
mov byte [esp + 0x18], al
jmp 0x50431c58
lea eax, [esp + 0xc]
push eax
mov cx, word [esp + 8]
mov dx, word [esp + 0xc]
mov eax, ebx
call fcn.504310d0
mov eax, dword [esp + 0xc]
add eax, dword [ebx + 0xe0]
jmp 0x50431c7b
mov edx, dword [esp + 0x14]
push edx
push 0
lea ecx, [esp + 0x18]
mov edx, eax
mov eax, dword [ebx + 0x3c]
call fcn.50432d74
mov ecx, eax
mov dl, byte [esp + 0x18]
mov eax, ebx
call fcn.50431e8c
sub eax, ebp
sub eax, 5
inc ebp
mov dword [ebp], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
jmp 0x50431cbe
mov eax, dword [ebx + 0x2c]
sub eax, ebp
sub eax, 5
inc ebp
mov dword [ebp], eax
push 0xa
call fcn.5041d488
mov ecx, eax
add ecx, dword [ebx + 0xe4]
mov edx, esi
mov eax, ebx
call fcn.50430390
dec dword [esp]
add esi, dword [ebx + 0xe4]
cmp dword [esp], 0
ja 0x50431b3e
push ebx
call fcn.50431d4c
add dword [ebx + 0xec], eax
mov al, 1
add esp, 0x24
pop ebp
pop edi
pop esi
pop ebx
ret