Function at 0x51fcd0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
add ebx, 0xffffffd6
mov eax, 0x520048
call fcn.0051d138
mov eax, dword [ebp + 8]
mov byte [eax - 0x2b], 0
mov byte [ebp - 1], 1
xor ecx, ecx
push ebp
push 0x520000
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 1
push ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x30]
mov cx, 0x101
mov edx, 2
call fcn.0051d92c
test al, al
jne 0x51fd43
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x30]
call fcn.0051f0d0
mov byte [ebp - 1], 0
mov eax, 0x52006c
call fcn.0051d138
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x520033
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x30]
cmp byte [eax + 0x175], 2
je 0x51fd79
cmp word [ebx + 0x26], 2
jg 0x51fd6c
cmp word [ebx + 0x24], 1
sbb eax, eax
inc eax
test al, al
jne 0x51fd6c
cmp word [ebx + 0x28], 0
je 0x51fd79
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x30]
mov byte [eax + 0x175], 0
mov ax, word [ebx + 0x22]
mov edx, eax
dec edx
sub dx, 8
jb 0x51fd94
sub dx, 0xf
je 0x51fdb5
sub dx, 0x18
je 0x51fdd7
jmp 0x51fdf7
movsx eax, ax
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x30]
mov edx, dword [edx + 0x170]
mov dword [edx + 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x30]
mov dword [edx + 0x10], 1
jmp 0x51fdf7
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x30]
mov eax, dword [eax + 0x170]
mov dword [eax + 8], 8
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x30]
mov dword [eax + 0x10], 3
jmp 0x51fdf7
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x30]
mov eax, dword [eax + 0x170]
mov dword [eax + 8], 8
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x30]
mov dword [eax + 0x10], 4
fild word [ebx]
movzx eax, word [ebx + 2]
mov dword [ebp - 8], eax
fild dword [ebp - 8]
fdiv dword [0x520098]
faddp st(1)
call fcn.00403004
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x30]
mov eax, dword [eax + 0x170]
call fcn.0061062c
fild word [ebx + 4]
movzx eax, word [ebx + 6]
mov dword [ebp - 8], eax
fild dword [ebp - 8]
fdiv dword [0x520098]
faddp st(1)
call fcn.00403004
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x30]
mov eax, dword [eax + 0x170]
call fcn.0061065c
mov edx, dword [ebx + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x30]
mov eax, dword [eax + 0x170]
mov dword [eax + 0x14], edx
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx - 0x30]
mov dword [eax + 0x18], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x30]
mov eax, dword [eax + 0x170]
cmp dword [eax + 0x14], 0
jl 0x51fe8c
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x30]
cmp dword [eax + 0x18], 0
jge 0x51fea4
mov eax, dword [ebp + 8]
mov byte [eax - 0x2b], 1
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x520033
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x30]
mov eax, dword [eax + 0x170]
cmp dword [eax + 0x14], 0
je 0x51fec2
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x30]
cmp dword [eax + 0x18], 0
jne 0x51fede
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x30]
call fcn.0051f0d0
mov byte [ebp - 1], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x520033
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x30]
cmp byte [eax + 0x174], 0
je 0x51ff3b
movsx eax, word [ebx + 0x22]
cmp eax, 0x10
jg 0x51ff02
je 0x51ff20
dec eax
je 0x51ff0e
sub eax, 7
je 0x51ff17
jmp 0x51ff69
sub eax, 0x18
je 0x51ff29
sub eax, 0x18
je 0x51ff32
jmp 0x51ff69
mov eax, dword [ebp + 8]
mov byte [eax - 0x31], 1
jmp 0x51ff69
mov eax, dword [ebp + 8]
mov byte [eax - 0x31], 3
jmp 0x51ff69
mov eax, dword [ebp + 8]
mov byte [eax - 0x31], 4
jmp 0x51ff69
mov eax, dword [ebp + 8]
mov byte [eax - 0x31], 5
jmp 0x51ff69
mov eax, dword [ebp + 8]
mov byte [eax - 0x31], 8
jmp 0x51ff69
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x30]
mov eax, dword [eax + 0x170]
cmp dword [eax + 8], 1
jne 0x51ff62
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x30]
cmp dword [eax + 0x10], 1
jne 0x51ff62
mov eax, dword [ebp + 8]
mov byte [eax - 0x31], 1
jmp 0x51ff69
mov eax, dword [ebp + 8]
mov byte [eax - 0x31], 5
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x30]
mov eax, dword [eax + 0x17c]
mov edx, dword [eax]
call dword [edx + 0xc]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x30]
mov edx, dword [edx + 0x170]
cmp eax, dword [edx + 0x14]
jne 0x51ffc6
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x30]
mov eax, dword [eax + 0x17c]
mov edx, dword [eax]
call dword [edx + 8]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x30]
mov edx, dword [edx + 0x170]
cmp eax, dword [edx + 0x18]
jne 0x51ffc6
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x30]
mov eax, dword [eax + 0x17c]
mov edx, dword [eax]
call dword [edx + 0x10]
mov edx, dword [ebp + 8]
cmp al, byte [edx - 0x31]
je 0x51fff6
mov edx, dword [ebp + 8]
mov dl, byte [edx - 0x31]
push edx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x30]
mov eax, dword [eax + 0x170]
mov ecx, dword [eax + 0x18]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x30]
mov edx, dword [eax + 0x14]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x30]
mov eax, dword [eax + 0x17c]
mov ebx, dword [eax]
call dword [ebx + 0x24]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x520029
mov eax, 0x5200d4
call fcn.0051d138
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret