Function at 0x50fc10
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
push 0x40000
mov esi, ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], 0
call fcn.00525bb0
mov ebx, eax
add esp, 4
mov dword [esp + 0x14], ebx
test ebx, ebx
je 0x51035e
cmp dword [esi + 0x6486a8], 2
jne 0x50fc99
cmp dword [esp + 0x40], 0xfffffffe
jne 0x50fc99
cmp dword [esp + 0x44], 0xffffffff
jne 0x50fc99
mov eax, dword [esi + 0x6496f0]
mov edi, dword [eax + 0x14]
mov ecx, edi
call dword [0x541740]
lea ecx, [esi + 0x6496f0]
call edi
mov dword [esp + 0x24], eax
xor ecx, ecx
mov dword [esp + 0x28], edx
mov byte [esp + ecx + 0x30], 0
inc ecx
cmp ecx, 4
jb 0x50fc86
mov dword [esp + 0x20], 1
mov al, byte [esp + 0x33]
xor edi, edi
mov byte [esp + 0x12], al
xor ebp, ebp
mov al, byte [esp + 0x32]
mov byte [esp + 0x11], al
mov al, byte [esp + 0x31]
mov dword [esi + 0x64b764], 0
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], ebp
mov byte [esp + 0x10], al
jmp 0x50fcd0
cmp dword [esp + 0x20], 0
je 0x510448
jmp 0x50fce0
call fcn.004b3b80
cmp byte [0x5b6904], 0
je 0x50fcfb
call fcn.004b3b90
test al, al
jne 0x51050c
cmp dword [esp + 0x20], 0
jne 0x50fd33
mov ecx, dword [esp + 0x40]
mov eax, ecx
and eax, dword [esp + 0x44]
cmp eax, 0xffffffff
je 0x50fd33
mov eax, dword [esp + 0x44]
mov edx, ecx
sub edx, edi
sbb eax, ebp
test eax, eax
ja 0x50fd33
jb 0x50fd29
cmp edx, 0x40000
jae 0x50fd33
mov eax, ecx
sub eax, edi
mov dword [esp + 0x30], eax
jmp 0x50fd3b
mov dword [esp + 0x30], 0x40000
mov eax, dword [esi + 0x6496f0]
lea ebp, [esi + 0x6496f0]
mov edi, dword [eax + 0x14]
mov ecx, edi
call dword [0x541740]
mov ecx, ebp
call edi
mov ecx, dword [ebp]
push dword [esp + 0x30]
mov dword [esp + 0x38], eax
push ebx
mov edi, dword [ecx + 0xc]
mov ecx, edi
mov dword [esp + 0x34], edx
call dword [0x541740]
mov ecx, ebp
call edi
mov ecx, eax
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0x51051f
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
test ebx, ebx
je 0x51022d
cmp byte [edi], 0x50
mov dword [esi + 0x64b768], 0
mov dword [esi + 0x64b770], 0
mov dword [esi + 0x64b774], 0
mov dword [esi + 0x64b778], 0
mov dword [esi + 0x64b77c], 0
jne 0x51019e
cmp byte [edi + 1], 0x4b
jne 0x51019e
cmp byte [edi + 2], 7
jne 0x51019e
cmp byte [edi + 3], 8
jne 0x51019e
cmp dword [esi + 0x64b78c], 0
mov dword [esi + 0x64b764], 0
je 0x51003a
cmp ecx, 0x18
jb 0x51022d
movzx ecx, byte [edi + 7]
movzx eax, byte [edi + 6]
shl ecx, 8
or ecx, eax
mov ebp, dword [esp + 0x14]
movzx eax, byte [edi + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0xf]
mov dword [esi + 0x64b768], ecx
cdq
mov ebx, eax
mov ecx, edx
movzx eax, byte [edi + 0xe]
shld ecx, ebx, 8
cdq
or ecx, edx
shl ebx, 8
or ebx, eax
movzx eax, byte [edi + 0xd]
shld ecx, ebx, 8
cdq
or ecx, edx
shl ebx, 8
or ebx, eax
movzx eax, byte [edi + 0xc]
shld ecx, ebx, 8
cdq
shl ebx, 8
or ebx, eax
movzx eax, byte [edi + 0xb]
cdq
mov ecx, eax
mov dword [esp + 0x30], ebx
movzx eax, byte [ebp + 0xa]
mov edi, edx
shld edi, ecx, 8
cdq
xor ebx, ebx
shl ecx, 8
or edi, edx
or ecx, eax
movzx eax, byte [ebp + 9]
shld edi, ecx, 8
cdq
shl ecx, 8
or edi, edx
or ecx, eax
shld edi, ecx, 8
shl ecx, 8
or ebx, ecx
mov ecx, dword [esp + 0x30]
or ecx, edi
mov edi, ebp
movzx eax, byte [edi + 8]
cdq
or ebx, eax
or ecx, edx
movzx eax, byte [edi + 0x17]
cdq
mov dword [esp + 0x30], ecx
mov ebp, eax
movzx eax, byte [edi + 0x16]
mov dword [esi + 0x64b774], ecx
mov ecx, edx
shld ecx, ebp, 8
cdq
shl ebp, 8
or ecx, edx
or ebp, eax
mov dword [esp + 0x38], ebx
movzx eax, byte [edi + 0x15]
shld ecx, ebp, 8
cdq
shl ebp, 8
or ebp, eax
mov dword [esi + 0x64b770], ebx
or ecx, edx
movzx eax, byte [edi + 0x14]
xor ebx, ebx
shld ecx, ebp, 8
cdq
shl ebp, 8
or ebp, eax
movzx eax, byte [edi + 0x13]
cdq
mov ecx, eax
mov edi, edx
mov eax, dword [esp + 0x14]
shld edi, ecx, 8
shl ecx, 8
movzx eax, byte [eax + 0x12]
cdq
or ecx, eax
or edi, edx
mov eax, dword [esp + 0x14]
shld edi, ecx, 8
shl ecx, 8
movzx eax, byte [eax + 0x11]
cdq
or ecx, eax
or edi, edx
mov eax, dword [esp + 0x14]
shld edi, ecx, 8
shl ecx, 8
or ebp, edi
movzx eax, byte [eax + 0x10]
or ebx, ecx
mov ecx, dword [esp + 0x2c]
mov edi, dword [esi + 0x6496f0]
cdq
or ebx, eax
or ebp, edx
mov dword [esi + 0x64b778], ebx
mov edx, ecx
mov ebx, dword [esp + 0x34]
mov eax, ebx
sub eax, dword [esp + 0x24]
mov dword [esi + 0x64b77c], ebp
lea ebp, [esi + 0x6496f0]
sbb edx, dword [esp + 0x28]
cmp eax, dword [esp + 0x38]
jne 0x50ffe8
cmp edx, dword [esp + 0x30]
jne 0x50ffe8
mov edi, dword [edi + 0x14]
mov ecx, edi
mov dword [esi + 0x64b764], 1
mov dword [esp + 0x30], 0x18
call dword [0x541740]
mov ecx, ebp
call edi
mov edi, dword [ebp]
add ebx, 0x18
mov edx, dword [esp + 0x2c]
push 0
adc edx, 0
mov edi, dword [edi + 0x10]
mov ecx, edi
push edx
push ebx
call dword [0x541740]
mov ecx, ebp
call edi
mov eax, dword [ebp]
mov edi, dword [eax + 0x14]
mov ecx, edi
call dword [0x541740]
mov ecx, ebp
call edi
mov dword [esp + 0x24], eax
mov ecx, 0x18
mov dword [esp + 0x28], edx
jmp 0x510225
add ebx, 4
push 0
adc ecx, 0
push ecx
push ebx
mov edi, dword [edi + 0x10]
mov ecx, edi
call dword [0x541740]
mov ecx, ebp
call edi
mov edi, dword [esp + 0x14]
mov ecx, esi
push 0
push 4
push 1
push edi
call fcn.00510540
cmp eax, 4
jne 0x510489
mov edi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
add edi, eax
mov ebx, dword [esp + 0x14]
adc ebp, 0
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], ebp
jmp 0x50fce0
cmp ecx, 0x10
jb 0x51022d
movzx ecx, byte [edi + 7]
movzx eax, byte [edi + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 0xb]
cdq
mov ebx, eax
mov dword [esi + 0x64b768], ecx
movzx eax, byte [edi + 0xa]
mov ecx, edx
shld ecx, ebx, 8
cdq
or ecx, edx
shl ebx, 8
or ebx, eax
movzx eax, byte [edi + 9]
shld ecx, ebx, 8
cdq
or ecx, edx
shl ebx, 8
or ebx, eax
movzx eax, byte [edi + 8]
shld ecx, ebx, 8
cdq
or ecx, edx
shl ebx, 8
or ebx, eax
mov dword [esp + 0x38], ecx
movzx eax, byte [edi + 0xf]
cdq
mov dword [esi + 0x64b774], ecx
mov edi, edx
mov ecx, eax
mov dword [esi + 0x64b770], ebx
mov eax, dword [esp + 0x14]
shld edi, ecx, 8
shl ecx, 8
movzx eax, byte [eax + 0xe]
cdq
or ecx, eax
or edi, edx
mov eax, dword [esp + 0x14]
shld edi, ecx, 8
shl ecx, 8
movzx eax, byte [eax + 0xd]
cdq
or ecx, eax
or edi, edx
mov eax, dword [esp + 0x14]
shld edi, ecx, 8
shl ecx, 8
movzx eax, byte [eax + 0xc]
cdq
or ecx, eax
or edi, edx
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x64b778], ecx
mov ecx, dword [esp + 0x34]
mov eax, ecx
sub eax, dword [esp + 0x24]
mov dword [esi + 0x64b77c], edi
mov edi, edx
sbb edi, dword [esp + 0x28]
cmp eax, ebx
jne 0x51018c
cmp edi, dword [esp + 0x38]
jne 0x51018c
mov edi, dword [ebp]
mov dword [esi + 0x64b764], 1
mov edi, dword [edi + 0x14]
mov ecx, edi
call dword [0x541740]
mov ecx, ebp
call edi
mov eax, dword [esp + 0x34]
mov edi, dword [ebp]
add eax, 0x10
mov edx, dword [esp + 0x2c]
push 0
adc edx, 0
mov dword [esp + 0x34], 0x10
mov edi, dword [edi + 0x10]
mov ecx, edi
push edx
push eax
call dword [0x541740]
mov ecx, ebp
call edi
mov eax, dword [ebp]
mov edi, dword [eax + 0x14]
mov ecx, edi
call dword [0x541740]
mov ecx, ebp
call edi
mov dword [esp + 0x24], eax
mov ecx, 0x10
mov dword [esp + 0x28], edx
jmp 0x510225
mov edi, dword [ebp]
add ecx, 4
push 0
adc edx, 0
push edx
push ecx
jmp 0x50fff2
xor ebx, ebx
test ecx, ecx
je 0x510229
mov dl, byte [esp + 0x12]
mov ah, byte [esp + 0x11]
mov al, byte [esp + 0x10]
mov dh, ah
mov byte [esp + 0x10], ah
mov ah, dl
mov byte [esp + 0x13], dl
mov dl, byte [ebx + edi]
mov byte [esp + 0x11], ah
mov byte [esp + 0x12], dl
cmp al, 0x50
jne 0x5101de
cmp dh, 0x4b
jne 0x5101de
cmp ah, 7
jne 0x5101de
cmp dl, 8
je 0x5101e5
inc ebx
cmp ebx, ecx
jb 0x5101b0
jmp 0x510229
mov edi, dword [ebp]
lea ecx, [ebx - 3]
xor eax, eax
add ecx, dword [esi + 0x64b820]
push 0
adc eax, dword [esi + 0x64b824]
mov edi, dword [edi + 0x10]
push eax
push ecx
mov ecx, edi
call dword [0x541740]
mov ecx, ebp
call edi
mov eax, dword [ebp]
mov edi, dword [eax + 0x14]
mov ecx, edi
call dword [0x541740]
mov ecx, ebp
call edi
lea ecx, [ebx - 3]
mov dword [esp + 0x30], ecx
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
cmp dword [esi + 0x64b764], 0
jne 0x510266
push 0
push ecx
push 1
push edi
mov ecx, esi
call fcn.00510540
mov ecx, dword [esp + 0x30]
cmp eax, ecx
jne 0x510489
mov edi, dword [esp + 0x1c]
add edi, ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], edi
adc ecx, 0
mov dword [esp + 0x18], ecx
jmp 0x51026e
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
cmp dword [esi + 0x64b764], 0
jne 0x51051b
test ebx, ebx
jne 0x51047c
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
and eax, edx
cmp eax, 0xffffffff
je 0x510444
cmp ecx, edx
ja 0x510444
jb 0x5102aa
cmp edi, dword [esp + 0x40]
jae 0x510444
mov eax, dword [ebp]
mov edi, dword [eax + 0x14]
mov ecx, edi
call dword [0x541740]
mov ecx, ebp
call edi
mov ecx, ebp
mov edi, eax
mov ebx, edx
call fcn.00481c30
cmp edi, eax
jne 0x510440
cmp ebx, edx
jne 0x510440
mov edx, dword [esi + 0x64b7c8]
mov eax, dword [esi + 0x64b7c4]
inc edx
mov dword [esi + 0x64b7c8], edx
cmp edx, eax
jae 0x51051b
mov ecx, dword [esi + 0x64b7b8]
dec eax
cmp edx, eax
jne 0x51036d
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x510300
sub ecx, edx
sar ecx, 1
lea ebx, [ecx*2 + 0xa]
push ebx
call fcn.00525bb0
mov edi, eax
add esp, 4
test edi, edi
je 0x51035e
push ebx
push dword [esi + 0x64b7b8]
push edi
call fcn.004b0360
push ebx
push 0x542910
push edi
call fcn.00495900
push dword [esi + 0x64b7b8]
call fcn.00525b95
push edi
mov dword [esi + 0x64b7b8], edi
call fcn.005264ec
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x510378
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
add esp, 0x2c
ret 8
push edx
push ecx
mov ecx, esi
call fcn.00510bd0
mov ebx, eax
mov eax, dword [ebp]
mov edi, dword [eax + 8]
mov ecx, edi
call dword [0x541740]
mov ecx, ebp
call edi
mov eax, dword [ebp]
push 0
push ebx
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x541740]
mov ecx, ebp
call edi
test al, al
jne 0x510421
cmp dword [esi + 0x6486a8], 1
jne 0x5103b9
cmp dword [esi + 0x64b760], 0
jne 0x5104b8
push dword [esi + 0x64b7c8]
mov ecx, esi
call fcn.0050f650
cmp eax, 9
je 0x5104fa
cmp eax, 2
je 0x5104d9
cmp dword [esi + 0x6486a8], 2
jne 0x5103f0
cmp dword [esi + 0x64b760], 0
je 0x5103f0
inc dword [esi + 0x64b7c8]
push dword [esi + 0x64b7b8]
call fcn.005264ec
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x51035e
mov eax, dword [ebp]
push 0
push ebx
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x541740]
mov ecx, ebp
call edi
test al, al
je 0x5103a3
cmp dword [esi + 0x6486a8], 2
jne 0x510437
cmp dword [esi + 0x64b760], 0
jne 0x5104b8
push ebx
call fcn.00525b95
add esp, 4
mov edi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
and eax, ecx
mov ebx, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x50fce0
cmp ebp, ecx
ja 0x51051f
jb 0x50fce0
cmp edi, dword [esp + 0x40]
jae 0x51051f
jmp 0x50fce0
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
jmp 0x50fcd0
push edi
call fcn.00525b95
mov eax, dword [esi + 0x64b798]
add esp, 4
test eax, eax
je 0x5104a9
push eax
push 0
mov ecx, 0x5b68fc
call fcn.0047bbe0
pop edi
pop esi
pop ebp
mov eax, 0xa
pop ebx
add esp, 0x2c
ret 8
push ebx
call fcn.00525b95
push dword [esp + 0x18]
call fcn.00525b95
add esp, 8
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 8
push ebx
call fcn.00525b95
push dword [esp + 0x18]
call fcn.00525b95
add esp, 8
mov eax, 2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 8
push ebx
call fcn.00525b95
push dword [esp + 0x18]
call fcn.00525b95
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 9
pop ebx
add esp, 0x2c
ret 8
mov ebx, dword [esp + 0x14]
push ebx
call fcn.00525b95
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 8