Function at 0x524828
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, 0x524ba0
call fcn.00521c90
mov eax, dword [ebp + 8]
mov byte [eax - 0x2b], 0
mov byte [ebp - 1], 1
xor ecx, ecx
push ebp
push 0x524b58
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.00522484
test al, al
jne 0x52489b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x30]
call fcn.00523c28
mov byte [ebp - 1], 0
mov eax, 0x524bc4
call fcn.00521c90
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x524b8b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x30]
cmp byte [eax + 0x175], 2
je 0x5248d1
cmp word [ebx + 0x26], 2
jg 0x5248c4
cmp word [ebx + 0x24], 1
sbb eax, eax
inc eax
test al, al
jne 0x5248c4
cmp word [ebx + 0x28], 0
je 0x5248d1
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 0x5248ec
sub dx, 0xf
je 0x52490d
sub dx, 0x18
je 0x52492f
jmp 0x52494f
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 0x52494f
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 0x52494f
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 [0x524bf0]
faddp st(1)
call fcn.00402f7c
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x30]
mov eax, dword [eax + 0x170]
call fcn.0062000c
fild word [ebx + 4]
movzx eax, word [ebx + 6]
mov dword [ebp - 8], eax
fild dword [ebp - 8]
fdiv dword [0x524bf0]
faddp st(1)
call fcn.00402f7c
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x30]
mov eax, dword [eax + 0x170]
call fcn.0062003c
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 0x5249e4
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x30]
cmp dword [eax + 0x18], 0
jge 0x5249fc
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 0x524b8b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x30]
mov eax, dword [eax + 0x170]
cmp dword [eax + 0x14], 0
je 0x524a1a
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x30]
cmp dword [eax + 0x18], 0
jne 0x524a36
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x30]
call fcn.00523c28
mov byte [ebp - 1], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x524b8b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x30]
cmp byte [eax + 0x174], 0
je 0x524a93
movsx eax, word [ebx + 0x22]
cmp eax, 0x10
jg 0x524a5a
je 0x524a78
dec eax
je 0x524a66
sub eax, 7
je 0x524a6f
jmp 0x524ac1
sub eax, 0x18
je 0x524a81
sub eax, 0x18
je 0x524a8a
jmp 0x524ac1
mov eax, dword [ebp + 8]
mov byte [eax - 0x31], 1
jmp 0x524ac1
mov eax, dword [ebp + 8]
mov byte [eax - 0x31], 3
jmp 0x524ac1
mov eax, dword [ebp + 8]
mov byte [eax - 0x31], 4
jmp 0x524ac1
mov eax, dword [ebp + 8]
mov byte [eax - 0x31], 5
jmp 0x524ac1
mov eax, dword [ebp + 8]
mov byte [eax - 0x31], 8
jmp 0x524ac1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x30]
mov eax, dword [eax + 0x170]
cmp dword [eax + 8], 1
jne 0x524aba
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x30]
cmp dword [eax + 0x10], 1
jne 0x524aba
mov eax, dword [ebp + 8]
mov byte [eax - 0x31], 1
jmp 0x524ac1
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 0x524b1e
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 0x524b1e
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 0x524b4e
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 0x524b81
mov eax, 0x524c2c
call fcn.00521c90
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret