Function at 0x50feb3
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x40c
push ebx
push ebp
mov ebp, dword [esp + 0x41c]
mov ebx, ecx
mov eax, ebp
push esi
and eax, 0xffff
push edi
mov ecx, dword [eax*4 + 0x6ccb20]
mov eax, dword [ecx + 0x19a]
test eax, eax
je 0x50feed
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40c
ret 0x14
mov edx, dword [ebx + 4]
mov edi, dword [esp + 0x420]
test byte [edx + 0x72a1], 2
jne 0x50ff23
cmp edi, 0x15
je 0x50ff23
cmp edi, 0xe
je 0x50ff23
cmp edi, 0x30
je 0x50ff23
cmp edi, 0x31
je 0x50ff23
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40c
ret 0x14
xor esi, esi
cmp edi, 0x64
jge 0x50ff3a
lea eax, [edi + edi*4]
lea ecx, [eax*2 + 0x7acb00]
mov dword [esp + 0x10], ecx
jmp 0x50ff42
mov dword [esp + 0x10], 0x7acb00
mov edx, dword [esp + 0x428]
mov ecx, ebx
push edx
push edi
push ebp
call fcn.00510da1
test eax, eax
jne 0x50ff64
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40c
ret 0x14
cmp edi, 0x3e
je 0x50ff6e
cmp edi, 0x3f
jne 0x50ff86
push 0
push 0x3e
push ebp
mov ecx, ebx
call fcn.00510c67
push 0
push 0x3f
push ebp
mov ecx, ebx
call fcn.00510c67
mov eax, dword [esp + 0x10]
mov ax, word [eax]
test ah, 0x40
jne 0x50ffd5
mov esi, dword [ebx + 8]
test esi, esi
je 0x50ffd5
cmp word [esi + 1], bp
jne 0x50ffce
cmp dword [esi + 3], edi
jne 0x50ffce
mov ecx, dword [esi + 0x17]
mov edx, dword [esi + 0x1b]
cmp ecx, edx
jae 0x50ffce
mov edx, eax
shr edx, 0xf
test dl, 1
je 0x510362
mov ecx, dword [esp + 0x428]
mov edx, dword [esi + 7]
cmp edx, ecx
je 0x510362
mov esi, dword [esi + 0x30]
test esi, esi
jne 0x50ff99
mov eax, dword [esp + 0x430]
mov ebp, dword [esp + 0x42c]
test eax, eax
je 0x5100c4
mov eax, dword [ebx + 0xc]
xor edx, edx
cmp eax, edx
jne 0x51002a
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x34]
cmp ecx, edx
je 0x510006
mov esi, dword [eax + 0x30]
mov dword [ecx + 0x30], esi
jmp 0x51000c
mov ecx, dword [eax + 0x30]
mov dword [ebx + 8], ecx
mov ecx, dword [eax + 0x30]
cmp ecx, edx
je 0x51001b
mov esi, dword [eax + 0x34]
mov dword [ecx + 0x34], esi
jmp 0x510021
mov ecx, dword [eax + 0x34]
mov dword [ebx + 0x10], ecx
mov ecx, dword [ebx + 0xc]
mov dword [eax + 0x30], ecx
mov dword [ebx + 0xc], eax
mov esi, dword [ebx + 0xc]
mov eax, dword [esi + 0x30]
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 0x10]
cmp eax, edx
jne 0x510045
mov dword [ebx + 8], esi
mov dword [esi + 0x30], edx
mov dword [esi + 0x34], edx
jmp 0x510051
mov dword [eax + 0x30], esi
mov ecx, dword [ebx + 0x10]
mov dword [esi + 0x34], ecx
mov dword [esi + 0x30], edx
mov ax, word [esp + 0x424]
mov ecx, dword [esp + 0x428]
mov dword [ebx + 0x10], esi
mov word [esi + 1], ax
mov dword [esi + 3], edi
mov dword [esi + 0x1f], ecx
mov dword [esi + 0x23], ebp
mov word [esi + 0x28], dx
mov word [esi + 0x2a], dx
mov dword [esi + 0x17], edx
call fcn.005f9703
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [ebx + 4]
mov dx, word [eax]
mov ecx, dword [ecx + 4]
and edx, 0x1fff
imul edx, dword [ecx + 8]
xor ecx, ecx
mov dword [esi + 0x1b], edx
mov dword [esi + 7], ecx
mov dword [esi + 0xf], ecx
mov dx, word [eax]
shr edx, 0xd
and dl, 1
mov byte [esi + 0x27], dl
mov ecx, dword [ebx + 0x18]
mov dword [esi + 0xb], ecx
mov ecx, dword [ebx + 0x18]
inc ecx
mov dword [ebx + 0x18], ecx
mov edx, dword [eax + 6]
mov dword [esi + 0x13], edx
mov eax, dword [0x73a01c]
xor edi, edi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], edi
mov cx, word [eax]
shr ecx, 0xf
test cl, 1
je 0x5101c5
mov ecx, dword [eax + 2]
mov ax, word [ecx]
test ax, ax
je 0x510134
mov edx, dword [esp + 0x428]
and eax, 0xffff
cmp eax, edx
je 0x51010f
mov ax, word [ecx + 8]
add ecx, 8
test ax, ax
jne 0x5100f1
jmp 0x510134
mov edi, dword [ecx + 4]
test esi, esi
je 0x510134
xor edx, edx
mov dword [esi + 0xf], edi
mov dx, word [ecx]
xor eax, eax
mov dword [esi + 7], edx
mov edx, dword [ebx + 4]
mov ax, word [ecx + 2]
mov edx, dword [edx + 4]
imul eax, dword [edx + 8]
mov dword [esi + 0x1b], eax
cmp word [ecx], 0
jne 0x5101a0
mov edi, dword [ecx + 4]
test esi, esi
je 0x5101a0
test edi, edi
mov dword [esi + 0xf], edi
jne 0x5101a2
mov eax, dword [esi + 0x34]
test eax, eax
je 0x510157
mov ecx, dword [esi + 0x30]
mov dword [eax + 0x30], ecx
jmp 0x51015d
mov edx, dword [esi + 0x30]
mov dword [ebx + 8], edx
mov eax, dword [esi + 0x30]
test eax, eax
je 0x510182
mov ecx, dword [esi + 0x34]
mov dword [eax + 0x34], ecx
mov eax, dword [ebx + 0xc]
mov dword [esi + 0x30], eax
mov dword [ebx + 0xc], esi
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40c
ret 0x14
mov edx, dword [esi + 0x34]
mov eax, dword [ebx + 0xc]
mov dword [ebx + 0x10], edx
mov dword [esi + 0x30], eax
mov dword [ebx + 0xc], esi
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40c
ret 0x14
test edi, edi
jl 0x5101ab
xor edi, edi
jmp 0x5102b3
cmp edi, 0xffffd8f0
jg 0x5102b3
mov ecx, 0xffffd8f1
sub ecx, edi
mov edi, ecx
jmp 0x5102b3
mov edx, dword [esp + 0x420]
lea ecx, [edx - 0xe]
cmp ecx, 7
ja case.0x5101d8.15
jmp dword [ecx*4 + 0x510378]
mov edx, dword [ebx + 4]
mov edi, ebp
test esi, esi
mov eax, dword [edx + 0x7209]
mov dword [esp + 0x18], eax
je 0x510286
neg ebp
mov dword [esi + 0xf], ebp
mov dword [esp + 0x14], 1
jmp 0x5102b3
and ebp, 0xffff
xor eax, eax
cmp edx, 0x11
mov ecx, dword [ebp*4 + 0x6ccb20]
setne al
mov ecx, dword [ecx + 0x370]
xor edx, edx
mov dx, word [ecx + eax*2 + 0x6cd]
mov eax, dword [esp + 0x428]
lea edi, [edx + eax + 1]
jmp 0x510257
mov ecx, dword [ebx + 4]
mov eax, dword [esp + 0x428]
push eax
mov edx, dword [ecx]
call dword [edx + 0xc0]
xor edi, edi
mov di, word [eax + 0x6d1]
inc edi
test esi, esi
je 0x5102b3
mov ecx, 0xffffd8f1
sub ecx, edi
mov dword [esi + 0xf], ecx
jmp 0x5102b3
mov edx, dword [ebx + 4]
mov edi, dword [esp + 0x428]
test esi, esi
mov eax, dword [edx + 0x7209]
mov dword [esp + 0x18], eax
je 0x510286
mov ecx, edi
neg ecx
mov dword [esi + 0xf], ecx
mov dword [esp + 0x14], 1
jmp 0x5102b3
mov edi, dword [eax + 2]
test esi, esi
je 0x51029a
mov dword [esi + 0xf], edi
test edi, edi
jl 0x5102a2
xor edi, edi
jmp 0x5102b3
cmp edi, 0xffffd8f0
jg 0x5102b3
mov edx, 0xffffd8f1
sub edx, edi
mov edi, edx
mov eax, dword [esp + 0x428]
mov ecx, dword [esp + 0x420]
mov ebp, dword [esp + 0x424]
push eax
push ecx
push ebp
mov ecx, ebx
call fcn.00510ec3
mov eax, dword [esp + 0x420]
cmp eax, 0x32
je 0x5102e8
cmp eax, 0x33
je 0x5102e8
cmp eax, 0xe
jne 0x5102f4
push 0
mov ecx, 0x739ec8
call fcn.005ae422
mov ecx, dword [ebx + 4]
mov edx, dword [ecx]
call dword [edx + 0x264]
cmp ax, bp
jne 0x510362
test edi, edi
je 0x51031d
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push eax
push ecx
push edi
mov ecx, 0x739ec8
call fcn.005ae65f
mov eax, dword [esp + 0x420]
cmp eax, 0x55
je 0x51032e
cmp eax, 0x56
jne 0x510362
mov edx, dword [ebx + 4]
lea ecx, [esp + 0x1c]
push 0x200
push ecx
mov eax, dword [edx + 4]
mov ecx, esi
mov edi, dword [eax + 0xc]
call fcn.00510a5b
push eax
call fcn.0059b2fc
mov edx, dword [edi]
add esp, 0xc
lea eax, [esp + 0x1c]
mov ecx, edi
push eax
push 0x8383
call dword [edx + 0x58]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40c
ret 0x14