Function at 0x508d60
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x144
push ebx
push esi
push edi
call fcn.005d1030
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 8]
mov esi, dword [eax*4 + 0xd920d8]
test esi, esi
je 0x50919a
lea ebx, [ebx]
cmp byte [esi], 0
je 0x50918c
mov ecx, dword [esi + 0xfc]
imul ecx, ecx, 0x1e0
mov eax, dword [ecx + 0xe74890]
xor edi, edi
test eax, eax
jle 0x508eea
jmp 0x508dc0
mov eax, dword [esi + 0xfc]
fld dword [esi + 0xf8]
lea edx, [edi + eax*4]
add eax, edx
lea eax, [eax + eax*2]
shl eax, 5
add eax, 0xe748a0
fld dword [eax + 0x10]
mov cl, byte [eax + 1]
test cl, cl
fsub dword [eax + 0x40]
fmul st(1)
fadd dword [eax + 0x40]
jne 0x508e23
fstp dword [esp + 0x20]
fld dword [eax + 0x14]
fsub dword [eax + 0x44]
fmul st(1)
fadd dword [eax + 0x44]
fstp dword [esp + 0x24]
fld dword [eax + 0x18]
fsub dword [eax + 0x48]
fmul st(1)
fadd dword [eax + 0x48]
fstp dword [esp + 0x28]
fld dword [eax + 0x1c]
fsub dword [eax + 0x4c]
fmul st(1)
fadd dword [eax + 0x4c]
fstp dword [esp + 0x2c]
fstp st(0)
jmp 0x508e78
fld dword [eax + 0x14]
fsub dword [eax + 0x44]
fmul st(2)
fadd dword [eax + 0x44]
fstp dword [esp + 0x24]
fld dword [eax + 0x18]
fsub dword [eax + 0x48]
fmul st(2)
fadd dword [eax + 0x48]
fstp dword [esp + 0x28]
fld dword [eax + 0x1c]
fsub dword [eax + 0x4c]
fmul st(2)
fadd dword [eax + 0x4c]
fstp dword [esp + 0x2c]
fadd dword [esi + 0xc0]
fstp dword [esp + 0x20]
fstp st(0)
fld dword [esp + 0x24]
fadd dword [esi + 0xc4]
fstp dword [esp + 0x24]
fld dword [esp + 0x28]
fadd dword [esi + 0xc8]
fstp dword [esp + 0x28]
fld dword [esi + 0xf8]
lea ecx, [esp + 0x20]
fld dword [eax + 0x20]
fsub dword [eax + 0x50]
fmul st(1)
fadd dword [eax + 0x50]
fstp dword [esp + 0x3c]
fld dword [eax + 0x24]
fsub dword [eax + 0x54]
fmul st(1)
fadd dword [eax + 0x54]
fstp dword [esp + 0x40]
fld dword [eax + 0x28]
fsub dword [eax + 0x58]
fmul st(1)
fadd dword [eax + 0x58]
fstp dword [esp + 0x44]
fld dword [eax + 0x2c]
fsub dword [eax + 0x5c]
fmul st(1)
fadd dword [eax + 0x5c]
lea eax, [esp + 0x3c]
push eax
push ecx
fstp dword [esp + 0x50]
push edi
fstp st(0)
call fcn.005bc0d0
mov edx, dword [esi + 0xfc]
imul edx, edx, 0x1e0
mov eax, dword [edx + 0xe74890]
add esp, 0xc
inc edi
cmp edi, eax
jl 0x508dc0
mov eax, dword [esi + 0xfc]
fld dword [esi + 0xf8]
imul eax, eax, 0x1e0
fld dword [eax + 0xe74860]
fsub dword [eax + 0xe74870]
fmul st(1)
fadd dword [eax + 0xe74870]
fstp dword [esp + 0x3c]
mov edx, dword [esp + 0x3c]
fld dword [eax + 0xe74864]
fsub dword [eax + 0xe74874]
fmul st(1)
fadd dword [eax + 0xe74874]
fstp dword [esp + 0x40]
mov ecx, dword [esp + 0x40]
fld dword [eax + 0xe74868]
fsub dword [eax + 0xe74878]
fmul st(1)
fadd dword [eax + 0xe74878]
fstp dword [esp + 0x44]
fld dword [eax + 0xe7486c]
fsub dword [eax + 0xe7487c]
fmul st(1)
fadd dword [eax + 0xe7487c]
mov eax, dword [esp + 0x44]
push eax
push ecx
fstp dword [esp + 0x50]
push edx
fstp st(0)
call fcn.00423c40
add esp, 0xc
call fcn.00417980
mov eax, dword [esi + 0x100]
test eax, eax
je 0x508f90
mov ecx, dword [esi + 0x108]
push ecx
call eax
add esp, 4
mov edi, dword [esi + 0x28]
test edi, edi
mov dword [esi + 0x2c], edi
je 0x5090d3
mov edx, dword [edi]
push edx
call fcn.005bc0b0
mov edx, dword [0x902840]
add esp, 4
push edx
push 0x13
mov dword [esp + 0x54], eax
mov eax, dword [0xcc3e60]
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0xfc]
mov eax, dword [esp + 0x18]
mov ecx, dword [edi]
mov edx, dword [edi + 4]
push 0
push eax
lea ebx, [esi + 0x40]
push ebx
push ecx
push edx
call fcn.00415a50
mov edx, dword [0xd920fc]
mov eax, dword [0xcc3e60]
mov ecx, dword [eax]
add esp, 0x14
push edx
push 0x13
push 0
push eax
call dword [ecx + 0xfc]
mov al, byte [esi + 5]
test al, al
mov edi, dword [esi + 0x14]
mov dword [esp + 0x1c], 0
jle 0x509064
jmp 0x509010
cmp dword [edi], 0
je 0x509050
movzx eax, byte [edi + 0x1a]
mov edx, dword [esp + 0x4c]
shl eax, 6
push ebx
add eax, edx
push eax
lea ecx, [esp + 0xd8]
push ecx
call fcn.00403485
mov edx, dword [esp + 0x18]
mov ecx, dword [edi + 4]
push 0
push edx
mov edx, dword [edi + 8]
lea eax, [esp + 0xd8]
push eax
push ecx
push edx
call fcn.00415a50
add esp, 0x14
mov eax, dword [esp + 0x1c]
movsx ecx, byte [esi + 5]
inc eax
add edi, 0x44
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl 0x509010
mov al, byte [esi + 6]
test al, al
mov edi, dword [esi + 0x18]
mov dword [esp + 0x1c], 0
jle 0x509176
lea ebx, [ebx]
cmp dword [edi], 0
je 0x5090ba
movzx edx, byte [edi + 0x10]
mov ecx, dword [esp + 0x4c]
shl edx, 6
push ebx
add edx, ecx
push edx
lea eax, [esp + 0x58]
push eax
call fcn.00403485
mov ecx, dword [esp + 0x18]
mov eax, dword [edi + 4]
push 0
push ecx
mov ecx, dword [edi + 8]
lea edx, [esp + 0x58]
push edx
push eax
push ecx
call fcn.00415a50
add esp, 0x14
mov eax, dword [esp + 0x1c]
movsx edx, byte [esi + 6]
inc eax
add edi, 0x14
cmp eax, edx
mov dword [esp + 0x1c], eax
jl 0x509080
jmp 0x509176
mov al, byte [esi + 5]
mov edi, dword [esi + 0x14]
xor ebx, ebx
test al, al
jle 0x509125
nop
cmp dword [edi], 0
je 0x509119
mov ecx, dword [edi + 0x10]
lea eax, [esi + 0x40]
push eax
push ecx
lea edx, [esp + 0x98]
push edx
call fcn.00403485
mov eax, dword [esp + 0x18]
mov edx, dword [edi + 4]
push 0
push eax
mov eax, dword [edi + 8]
lea ecx, [esp + 0x98]
push ecx
push edx
push eax
call fcn.00415a50
add esp, 0x14
movsx ecx, byte [esi + 5]
inc ebx
add edi, 0x44
cmp ebx, ecx
jl 0x5090e0
mov al, byte [esi + 6]
mov edi, dword [esi + 0x18]
xor ebx, ebx
test al, al
jle 0x509176
cmp dword [edi], 0
je 0x50916a
mov eax, dword [edi + 0xc]
lea edx, [esi + 0x40]
push edx
push eax
lea ecx, [esp + 0x118]
push ecx
call fcn.00403485
mov edx, dword [esp + 0x18]
mov ecx, dword [edi + 4]
push 0
push edx
mov edx, dword [edi + 8]
lea eax, [esp + 0x118]
push eax
push ecx
push edx
call fcn.00415a50
add esp, 0x14
movsx eax, byte [esi + 6]
inc ebx
add edi, 0x14
cmp ebx, eax
jl 0x509131
mov eax, dword [esi + 0x104]
test eax, eax
je 0x50918c
mov ecx, dword [esi + 0x10c]
push ecx
call eax
add esp, 4
mov esi, dword [esi + 0x114]
test esi, esi
jne 0x508d90
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret