Function at 0x5b2ad4
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 0x5b2cf7
cmp dword [ebx + 0xe4], 0
je 0x5b2cf7
cmp dword [ebx + 0x18], 0
je 0x5b2cf7
cmp dword [ebx + 0x24], 0
je 0x5b2cf7
cmp dword [ebx + 0x2c], 0
je 0x5b2cf7
cmp dword [ebx + 0x30], 0
je 0x5b2cf7
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 0x5b2ce9
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 0x5b2b5b
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 0x5b2cb2
cmp al, 1
jne 0x5b2cb2
jmp 0x5b2b80
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 0x5b2bab
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 0x5b2be0
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.005b25a4
mov ecx, eax
mov edx, dword [ebx + 0x10]
mov eax, ebx
call fcn.005b13d8
jmp 0x5b2c07
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 0x5b2c58
lea eax, [esp + 0xc]
push eax
mov cx, word [esp + 8]
mov dx, word [esp + 0xc]
mov eax, ebx
call fcn.005b20d0
mov eax, dword [esp + 0xc]
add eax, dword [ebx + 0xe0]
jmp 0x5b2c7b
mov edx, dword [esp + 0x14]
push edx
push 0
lea ecx, [esp + 0x18]
mov edx, eax
mov eax, dword [ebx + 0x3c]
call fcn.005b3d74
mov ecx, eax
mov dl, byte [esp + 0x18]
mov eax, ebx
call fcn.005b2e8c
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 0x5b2cbe
mov eax, dword [ebx + 0x2c]
sub eax, ebp
sub eax, 5
inc ebp
mov dword [ebp], eax
push 0xa
call fcn.0059e488
mov ecx, eax
add ecx, dword [ebx + 0xe4]
mov edx, esi
mov eax, ebx
call fcn.005b1390
dec dword [esp]
add esi, dword [ebx + 0xe4]
cmp dword [esp], 0
ja 0x5b2b3e
push ebx
call fcn.005b2d4c
add dword [ebx + 0xec], eax
mov al, 1
add esp, 0x24
pop ebp
pop edi
pop esi
pop ebx
ret