Function at 0x52b4d0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
xor ecx, ecx
push ebp
push esi
xor esi, esi
mov dword [esp + 0xc], ecx
mov edx, dword [eax + 0x18]
mov ebp, 0x642e83
mov dword [esp + 0x10], ebp
mov dword [esp + 8], edx
test edx, edx
je 0x52b6f1
push ebx
push edi
nop dword [eax + eax]
test byte [edx + 6], 0x80
jne 0x52b6d6
xor ebx, ebx
xor edi, edi
mov dword [esp + 0x1c], edi
cmp dword [edx + 0x2c], ebx
jbe 0x52b6d6
nop dword [eax + eax]
mov ecx, dword [edx + 0x24]
xor eax, eax
add ecx, edi
mov dword [esp + 0x24], eax
movzx eax, byte [ecx]
add eax, 0xffffffdc
cmp eax, 0x7d
ja case.0x52b53d.37
movzx eax, byte [eax + 0x52b714]
jmp dword [eax*4 + 0x52b6fc]
movzx ebx, word [ecx + 1]
jmp case.0x52b53d.37
lea ebp, [ecx + 1]
xor esi, esi
mov dword [esp + 0x18], ebp
jmp case.0x52b53d.37
movzx eax, word [ecx + 6]
lea eax, [eax*2 + 8]
mov dword [esp + 0x24], eax
jmp case.0x52b53d.37
movzx eax, word [ecx + 5]
lea eax, [eax*2 + 7]
mov dword [esp + 0x24], eax
jmp case.0x52b53d.37
mov dword [esp + 0x24], 2
test ebx, ebx
je 0x52b6a5
test esi, esi
jne 0x52b638
push 0x3a
push ebp
call fcn.004dc610
mov edi, eax
add esp, 8
test edi, edi
je 0x52b5a4
sub edi, ebp
jmp 0x52b5b9
mov edi, ebp
lea ecx, [edi + 1]
nop dword [eax]
mov al, byte [edi]
inc edi
test al, al
jne 0x52b5b0
sub edi, ecx
mov eax, dword [esp + 0x14]
mov esi, eax
test eax, eax
je 0x52b5e7
push edi
push dword [esi]
push ebp
call fcn.004e02a0
add esp, 0xc
test eax, eax
jne 0x52b5e0
mov eax, dword [esi]
mov al, byte [edi + eax]
test al, al
je 0x52b638
cmp al, 0x3a
je 0x52b638
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x52b5c3
push 0x18
call fcn.00470460
push edi
push ebp
mov esi, eax
call fcn.004c9110
mov dword [esi], eax
add esp, 0xc
mov eax, ebx
mov dword [esi + 8], ebx
shr eax, 3
add eax, 0x100
mov dword [esi + 4], ebx
and eax, 0xffffff00
mov dword [esi + 0xc], eax
inc eax
push eax
push 0
push eax
call fcn.00470460
add esp, 4
push eax
call fcn.004dc1a0
mov dword [esi + 0x10], eax
add esp, 0xc
mov eax, dword [esp + 0x14]
mov dword [esi + 0x14], eax
mov dword [esp + 0x14], esi
mov ebp, ebx
shr ebp, 3
cmp dword [esi + 0xc], ebp
ja 0x52b679
lea edi, [ebp + 0x100]
and edi, 0xffffff00
lea eax, [edi + 1]
push eax
push dword [esi + 0x10]
call fcn.00470710
mov ecx, dword [esi + 0xc]
mov edx, eax
mov eax, edi
mov dword [esi + 0x10], edx
sub eax, ecx
inc eax
push eax
lea eax, [ecx + edx]
push 0
push eax
call fcn.004dc1a0
add esp, 0x14
mov dword [esi + 0xc], edi
mov edx, dword [esi + 0x10]
mov eax, ebx
and eax, 7
movzx ecx, byte [edx + ebp]
bts ecx, eax
mov byte [edx + ebp], cl
cmp dword [esi + 4], ebx
jbe 0x52b693
mov dword [esi + 4], ebx
cmp dword [esi + 8], ebx
jae 0x52b69b
mov dword [esi + 8], ebx
mov edi, dword [esp + 0x1c]
xor ebx, ebx
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x52b6bf
push edi
push edx
call fcn.00533a30
mov edx, dword [esp + 0x18]
add esp, 8
test eax, eax
je 0x52b6d2
mov ebp, dword [esp + 0x18]
add edi, eax
mov dword [esp + 0x1c], edi
cmp edi, dword [edx + 0x2c]
jb 0x52b520
mov ebp, dword [esp + 0x18]
mov edx, dword [edx + 0x5c]
mov dword [esp + 0x10], edx
test edx, edx
jne 0x52b500
mov eax, dword [esp + 0x14]
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x10
ret
pop esi
mov eax, ecx
pop ebp
add esp, 0x10
ret