Function at 0x50a750
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x50aac5
sub esp, 0x64
mov esi, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x68]
movzx ebx, byte [ecx + 4]
cmp bl, 0
je 0x50a9d5
mov ebp, dword [ecx + 0x10]
cmp ebp, 0
je 0x50a9d5
mov dword [esp], esi
mov dword [esp + 4], edx
call fcn.00590c10
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 8]
mov ecx, dword [eax + 0x10]
sub ecx, edx
mov dword [esp + 0x20], ecx
movzx ebx, byte [eax + 6]
cmp bl, 0
jne 0x50a8c4
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0050a1b0
mov ebx, dword [esp + 0x68]
mov ebp, dword [ebx]
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x38], ebx
mov ebx, ebp
mov dword [esp + 0x30], ebp
cmp ebp, 0
je 0x50a8bc
mov edi, dword [ebp]
mov ebp, dword [ebp + 4]
mov dword [esp + 0x5c], ebp
mov ecx, dword [ebx + 8]
mov dword [esp + 0x58], edi
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x60], ecx
mov ebx, dword [esp + 0x38]
mov ebp, esi
add ebp, ebx
mov dword [esp + 0x24], ebp
mov edx, dword [esp + 0x24]
cmp edx, ecx
jbe 0x50a84e
mov dword [esp], 0x5c5920
mov dword [esp + 0x4c], edi
mov dword [esp + 4], edi
mov dword [esp + 0x50], esi
mov dword [esp + 8], esi
mov dword [esp + 0x54], ecx
mov dword [esp + 0xc], ecx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x10], ebx
call fcn.0043d700
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x54], ecx
cmp eax, ecx
ja 0x50a8b5
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x5c]
mov ebp, edi
mov dword [esp + 0x4c], edi
add ebp, ebx
mov dword [esp], ebp
mov ebx, dword [esp + 0x34]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.00454a30
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x50]
mov dword [ebx + 4], ebp
mov ebp, dword [esp + 0x54]
mov dword [ebx + 8], ebp
mov ebp, dword [esp + 0x4c]
cmp byte [0x6dbe18], 0
jne 0x50a8a7
mov dword [ebx], ebp
add esp, 0x64
ret
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.00410660
jmp 0x50a8a3
call fcn.00429b80
ud2
mov dword [ebp], eax
jmp 0x50a7e9
mov ebp, dword [eax]
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x44], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x48], ebx
mov ebx, ebp
mov dword [esp + 0x2c], ebp
cmp ebp, 0
je 0x50a9cd
mov edi, dword [ebp]
mov ebp, dword [ebp + 4]
mov dword [esp + 0x50], ebp
mov ecx, dword [ebx + 8]
mov dword [esp + 0x4c], edi
mov esi, dword [esp + 0x50]
mov dword [esp + 0x54], ecx
mov ebx, dword [esp + 0x48]
mov ebp, esi
add ebp, ebx
mov dword [esp + 0x24], ebp
mov eax, dword [esp + 0x24]
cmp eax, ecx
jbe 0x50a94a
mov dword [esp], 0x5c5920
mov dword [esp + 0x58], edi
mov dword [esp + 4], edi
mov dword [esp + 0x5c], esi
mov dword [esp + 8], esi
mov dword [esp + 0x60], ecx
mov dword [esp + 0xc], ecx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x10], ebx
call fcn.0043d700
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x60], ecx
cmp eax, ecx
ja 0x50a9c6
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x50]
mov ebp, edi
mov dword [esp + 0x58], edi
add ebp, ebx
mov dword [esp], ebp
mov ebx, dword [esp + 0x44]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.00454a30
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x5c]
mov dword [ebx + 4], ebp
mov ebp, dword [esp + 0x60]
mov dword [ebx + 8], ebp
mov ebp, dword [esp + 0x58]
cmp byte [0x6dbe18], 0
jne 0x50a9b8
mov dword [ebx], ebp
mov ebx, dword [esp + 0x68]
mov dword [esp], ebx
mov ebx, dword [esp + 0x20]
mov dword [esp + 4], ebx
call fcn.0050a1b0
jmp 0x50a8a3
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.00410660
jmp 0x50a99f
call fcn.00429b80
ud2
mov dword [ebp], eax
jmp 0x50a8e5
mov ebx, dword [ecx]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], edx
mov dword [esp + 0x28], ebx
cmp ebx, 0
je 0x50aabe
mov edi, dword [ebx]
mov ebp, dword [ebx + 4]
mov dword [esp + 0x5c], ebp
mov ecx, dword [ebx + 8]
mov dword [esp + 0x58], edi
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x60], ecx
mov ebx, dword [esp + 0x40]
mov ebp, esi
add ebp, ebx
mov dword [esp + 0x24], ebp
mov edx, dword [esp + 0x24]
cmp edx, ecx
jbe 0x50aa50
mov dword [esp], 0x5c5920
mov dword [esp + 0x4c], edi
mov dword [esp + 4], edi
mov dword [esp + 0x50], esi
mov dword [esp + 8], esi
mov dword [esp + 0x54], ecx
mov dword [esp + 0xc], ecx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x10], ebx
call fcn.0043d700
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x54], ecx
cmp eax, ecx
ja 0x50aab7
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x5c]
mov ebp, edi
mov dword [esp + 0x4c], edi
add ebp, ebx
mov dword [esp], ebp
mov ebx, dword [esp + 0x3c]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.00454a30
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x50]
mov dword [ebx + 4], ebp
mov ebp, dword [esp + 0x54]
mov dword [ebx + 8], ebp
mov ebp, dword [esp + 0x4c]
cmp byte [0x6dbe18], 0
jne 0x50aaa9
mov dword [ebx], ebp
add esp, 0x64
ret
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.00410660
jmp 0x50aaa5
call fcn.00429b80
ud2
mov dword [ebx], eax
jmp 0x50a9ec
call fcn.00452240
jmp fcn.0050a750