Function at 0x50f390
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52b761
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x5644a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x30], 0x3b9aca00
push 0
lea ecx, [ebp - 0x48]
call fcn.00432ff0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x78]
movzx ecx, byte [eax + 6]
test ecx, ecx
jne 0x50f659
mov edx, dword [ebp - 0x78]
add edx, 0xc
push edx
lea ecx, [ebp - 0x54]
call fcn.00403330
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x78]
add ecx, 0x1c
call fcn.00443ae0
movzx eax, al
test eax, eax
jne 0x50f42d
mov ecx, dword [ebp - 0x78]
add ecx, 0x1c
call fcn.00441d10
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x48]
call fcn.00420c30
mov ecx, dword [ebp - 0x78]
add ecx, 0x1c
call fcn.00432e00
jmp 0x50f43e
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.00403360
jmp 0x50f622
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.00403360
lea ecx, [ebp - 0x48]
call fcn.00441d30
mov ecx, eax
call fcn.0050f6f0
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x7c], edx
cmp dword [ebp - 0x7c], 0
je 0x50f476
cmp dword [ebp - 0x7c], 1
je 0x50f490
cmp dword [ebp - 0x7c], 2
je 0x50f4b3
jmp 0x50f4d4
lea ecx, [ebp - 0x48]
call fcn.00441d30
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x80]
mov eax, dword [edx + 4]
call eax
jmp 0x50f4d4
lea ecx, [ebp - 0x48]
call fcn.00441d30
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x84]
mov eax, dword [edx + 0xc]
call eax
jmp 0x50f4d4
lea ecx, [ebp - 0x48]
call fcn.00441d30
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x88]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x88]
mov eax, dword [edx + 8]
call eax
cmp dword [ebp - 0x4c], 5
jne 0x50f4df
jmp 0x50f61a
cmp dword [ebp - 0x4c], 3
je 0x50f523
mov ecx, dword [ebp - 0x78]
add ecx, 0xc
push ecx
lea ecx, [ebp - 0x5c]
call fcn.00403330
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
call fcn.0044e0d0
mov dword [ebp - 0x64], eax
lea edx, [ebp - 0x64]
push edx
mov ecx, dword [ebp - 0x78]
add ecx, 0x1c
call fcn.00420a80
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.00403360
jmp 0x50f61a
push 0x24
call fcn.00491a06
add esp, 4
mov dword [ebp - 0x6c], eax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x6c], 0
je 0x50f54a
mov ecx, dword [ebp - 0x6c]
call fcn.004209b0
mov dword [ebp - 0x8c], eax
jmp 0x50f554
mov dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x68], eax
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x60], ecx
lea ecx, [ebp - 0x48]
call fcn.00441d30
mov ecx, eax
call fcn.0050f690
mov edx, dword [ebp - 0x60]
mov word [edx], ax
lea ecx, [ebp - 0x48]
call fcn.00441d30
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x90]
mov eax, dword [edx + 0x14]
call eax
mov ecx, dword [ebp - 0x60]
mov word [ecx + 2], ax
lea ecx, [ebp - 0x48]
call fcn.00441d30
mov dword [ebp - 0x94], eax
lea edx, [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x94]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x94]
mov eax, dword [edx + 0x18]
call eax
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0x9c], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x9c]
push edx
mov ecx, dword [ebp - 0x60]
add ecx, 8
call fcn.00420a50
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00402c30
xor eax, eax
mov ecx, dword [ebp - 0x60]
mov word [ecx + 4], ax
mov edx, dword [ebp - 0x60]
push edx
push 3
push 4
call fcn.0051f8f0
mov ecx, eax
call fcn.0051fa90
xor eax, eax
jne 0x50f3e5
push 1
lea ecx, [ebp - 0x44]
push ecx
call fcn.00402530
add esp, 8
mov edx, dword [ebp - 0x3c]
add edx, 0x989680
mov dword [ebp - 0x3c], edx
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x44]
call fcn.00402420
lea ecx, [ebp - 0x74]
push ecx
call fcn.00402880
add esp, 4
jmp 0x50f3d6
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00433050
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00490d41
mov esp, ebp
pop ebp
ret