Function at 0x4f08c0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
mov eax, dword [ebp + 0x14]
fild dword [ebp + 0x18]
mov edx, dword [eax + 4]
push ebx
fstp dword [esp + 8]
push esi
mov esi, ecx
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
fld dword [esp + 0x14]
fld dword [esp + 0xc]
mov ecx, dword [eax + 8]
fld st(0)
mov dword [esp + 0x18], edx
fsubp st(2)
mov edx, dword [eax + 0xc]
fxch st(1)
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
fstp dword [esp + 0x14]
push edi
fild dword [ebp + 0x1c]
mov dword [esp + 0x94], esi
fstp dword [esp + 0x10]
fld dword [esp + 0x1c]
fld dword [esp + 0x10]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x1c]
fld st(1)
fadd dword [esp + 0x20]
fstp dword [esp + 0x20]
fld st(0)
fadd dword [esp + 0x24]
fstp dword [esp + 0x24]
fld dword [ebp + 0xc]
fsubrp st(2)
fxch st(1)
fstp dword [ebp + 0xc]
fsubr dword [ebp + 0x10]
fstp dword [ebp + 0x10]
fldz
fld dword [ebp + 0xc]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x4f0968
fsubr dword [esp + 0x18]
fstp dword [esp + 0x18]
fst dword [ebp + 0xc]
fld dword [ebp + 0xc]
fld dword [ebp + 0x10]
fcom st(2)
fnstsw ax
test ah, 5
jp 0x4f0983
fsubr dword [esp + 0x1c]
fstp dword [esp + 0x1c]
fxch st(1)
fstp dword [ebp + 0x10]
jmp 0x4f0987
fstp st(2)
fstp st(1)
fld dword [esp + 0x20]
mov ebx, dword [ebp + 8]
fsub dword [esp + 0x18]
mov eax, dword [ebx]
mov edx, dword [eax + 0x120]
mov ecx, ebx
fstp dword [esp + 0x10]
fadd dword [esp + 0x10]
fstp qword [esp + 0x68]
call edx
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fcomp qword [esp + 0x68]
fnstsw ax
test ah, 5
jp 0x4f09eb
mov eax, dword [ebx]
fld dword [esp + 0x20]
mov edx, dword [eax + 0x120]
fstp qword [esp + 0x80]
mov ecx, ebx
call edx
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fsubr qword [esp + 0x68]
fsubr qword [esp + 0x80]
fstp dword [esp + 0x20]
fld dword [ebp + 0x10]
mov eax, dword [ebx]
fld dword [esp + 0x24]
mov edx, dword [eax + 0x128]
fsub dword [esp + 0x1c]
mov ecx, ebx
fstp dword [esp + 0x10]
fadd dword [esp + 0x10]
fstp qword [esp + 0x68]
call edx
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fcomp qword [esp + 0x68]
fnstsw ax
test ah, 5
jp 0x4f0a4f
mov eax, dword [ebx]
fld dword [esp + 0x24]
mov edx, dword [eax + 0x128]
fstp qword [esp + 0x80]
mov ecx, ebx
call edx
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fsubr qword [esp + 0x68]
fsubr qword [esp + 0x80]
fstp dword [esp + 0x24]
mov eax, dword [esi]
mov edx, dword [eax + 0xf8]
mov ecx, esi
call edx
test al, al
je 0x4f0ec6
mov eax, dword [ebx]
mov edx, dword [eax + 0xf8]
mov ecx, ebx
call edx
test al, al
jne 0x4f0a88
mov eax, dword [esi]
mov edx, dword [eax + 0xfc]
mov ecx, esi
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [ebx]
mov edx, dword [eax + 0x12c]
mov ecx, ebx
call edx
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fld dword [esp + 0x20]
fsub dword [esp + 0x18]
fstp dword [esp + 0x10]
fsub dword [esp + 0x10]
call fcn.005c6e00
fld dword [ebp + 0x10]
fldz
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x18]
fcom st(1)
mov dword [esp + 0x10], eax
fnstsw ax
fld qword [0x650bc0]
test ah, 0x41
jp 0x4f0ad4
fadd st(2), st(0)
jmp 0x4f0ad6
fsub st(2), st(0)
fxch st(2)
call fcn.005c6e00
fld dword [ebp + 0xc]
fcom st(1)
mov dword [esp + 0x28], eax
fnstsw ax
fstp st(1)
test ah, 1
jne 0x4f0af3
faddp st(1)
jmp 0x4f0af5
fsubrp st(1)
call fcn.005c6e00
mov edx, dword [ebx]
mov edi, eax
mov eax, dword [edx + 0x12c]
mov ecx, ebx
call eax
imul eax, dword [esp + 0x28]
fld dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
add eax, edi
lea edx, [ecx + eax*4]
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x48], edx
lea eax, [eax + eax + 1]
lea edx, [ecx + ecx + 1]
imul eax, edx
mov dword [esp + 0x80], eax
call fcn.005c6e00
mov edi, eax
fld dword [esp + 0x24]
mov dword [esp + 0x38], edi
fst qword [esp + 0xa0]
fild dword [esp + 0x38]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x4f0eac
fld dword [esp + 0x18]
call fcn.005c6e00
fld dword [esp + 0x20]
mov edx, dword [esp + 0x38]
fst qword [esp + 0x18]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x14]
lea ecx, [eax*4]
mov eax, dword [ebp + 0x1c]
sub edi, eax
lea eax, [edx + eax + 1]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x28], edi
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x50], ecx
fild dword [esp + 0x50]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x4f0e7e
mov edx, dword [esp + 0x4c]
fstp st(0)
mov eax, dword [ebp + 0x18]
mov ebx, ecx
mov dword [esp + 0x90], edx
lea edx, [ecx + eax + 1]
sub ebx, eax
mov dword [esp + 0x9c], edi
mov dword [esp + 0x54], edx
mov dword [esp + 0x60], ebx
jmp 0x4f0be4
mov ebx, dword [esp + 0x60]
mov eax, dword [ebp + 0x14]
fstp st(0)
fld dword [eax]
call fcn.005c6e00
mov dword [esp + 0x10], eax
cmp ebx, eax
mov dword [esp + 0x14], ebx
lea eax, [esp + 0x10]
jl 0x4f0c04
lea eax, [esp + 0x14]
mov ecx, dword [ebp + 0x14]
mov ebx, dword [eax]
fld dword [ecx + 4]
mov dword [esp + 0x7c], ebx
call fcn.005c6e00
mov dword [esp + 0x10], eax
cmp edi, eax
lea eax, [esp + 0x10]
jl 0x4f0c28
lea eax, [esp + 0x9c]
mov edx, dword [eax]
mov edi, dword [ebp + 0x14]
fld dword [edi + 8]
mov dword [esp + 0x2c], edx
call fcn.005c6e00
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x10], eax
cmp eax, ecx
mov dword [esp + 0x14], ecx
lea eax, [esp + 0x10]
jl 0x4f0c51
lea eax, [esp + 0x14]
mov eax, dword [eax]
fld dword [edi + 0xc]
mov dword [esp + 0x78], eax
call fcn.005c6e00
cmp eax, dword [esp + 0x4c]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
jl 0x4f0c74
lea eax, [esp + 0x90]
mov ecx, dword [eax]
mov edx, dword [esi]
mov eax, dword [edx + 0x12c]
mov dword [esp + 0x14], ecx
mov ecx, esi
call eax
mov edx, dword [esi + 0x18]
mov edi, ebx
sub edi, dword [esp + 0x78]
mov dword [esp + 0x10], edx
add edi, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x12c]
mov ecx, esi
call edx
mov edx, dword [esp + 0x10]
mov ecx, eax
mov eax, dword [esp + 0x2c]
imul ecx, eax
add ecx, ebx
lea ecx, [edx + ecx*4]
xor edx, edx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], edx
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x14]
cmp eax, edx
jge 0x4f0df5
lea esi, [edi*4]
sub edx, eax
mov dword [esp + 0x98], esi
mov dword [esp + 0x10], edx
lea esp, [esp]
mov edx, dword [esp + 0x78]
xor esi, esi
xor edi, edi
mov dword [esp + 0x74], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x14], ebx
cmp ebx, edx
jge 0x4f0ddd
mov eax, edx
sub eax, ebx
cmp eax, 2
jl 0x4f0d89
sub edx, ebx
sub edx, 2
shr edx, 1
inc edx
lea eax, [edx + edx]
add dword [esp + 0x44], eax
add eax, dword [esp + 0x7c]
mov dword [esp + 0x14], eax
lea esp, [esp]
movzx eax, byte [ecx + 2]
add esi, eax
movzx eax, byte [ecx + 1]
add edi, eax
movzx eax, byte [ecx]
add dword [esp + 0x64], eax
movzx eax, byte [ecx + 3]
add dword [esp + 0x74], eax
movzx eax, byte [ecx + 6]
add dword [esp + 0x2c], eax
movzx eax, byte [ecx + 5]
add dword [esp + 0x5c], eax
movzx eax, byte [ecx + 4]
add dword [esp + 0x70], eax
movzx eax, byte [ecx + 7]
add dword [esp + 0x58], eax
add ecx, 8
dec edx
jne 0x4f0d40
mov ebx, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
cmp dword [esp + 0x14], edx
jge 0x4f0db5
movzx edx, byte [ecx + 2]
movzx eax, byte [ecx + 1]
add dword [esp + 0x3c], edx
add dword [esp + 0x40], eax
movzx edx, byte [ecx]
movzx eax, byte [ecx + 3]
add dword [esp + 0x34], edx
add dword [esp + 0x30], eax
add ecx, 4
inc dword [esp + 0x44]
mov edx, dword [esp + 0x74]
add edx, dword [esp + 0x58]
add edi, dword [esp + 0x5c]
add dword [esp + 0x30], edx
mov edx, dword [esp + 0x64]
add edx, dword [esp + 0x70]
add esi, dword [esp + 0x2c]
add dword [esp + 0x34], edx
add dword [esp + 0x40], edi
add dword [esp + 0x3c], esi
add ecx, dword [esp + 0x98]
dec dword [esp + 0x10]
jne 0x4f0cf0
mov esi, dword [esp + 0x94]
mov eax, dword [esp + 0x30]
xor edx, edx
div dword [esp + 0x80]
mov ecx, dword [esp + 0x44]
xor edx, edx
movzx edi, al
mov eax, dword [esp + 0x3c]
div ecx
shl edi, 8
movzx edx, al
mov eax, dword [esp + 0x40]
or edi, edx
xor edx, edx
div ecx
shl edi, 8
xor edx, edx
movzx eax, al
or edi, eax
mov eax, dword [esp + 0x34]
div ecx
shl edi, 8
movzx ecx, al
mov eax, dword [esp + 0x48]
or edi, ecx
mov dword [eax], edi
mov edi, dword [esp + 0x28]
add eax, 4
mov dword [esp + 0x48], eax
mov eax, 1
add dword [esp + 0x50], eax
add dword [esp + 0x60], eax
add dword [esp + 0x54], eax
fild dword [esp + 0x50]
fld qword [esp + 0x18]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
je 0x4f0be0
fld qword [esp + 0xa0]
mov ebx, dword [ebp + 8]
fxch st(1)
mov edx, dword [esp + 0x68]
add dword [esp + 0x48], edx
mov eax, 1
add dword [esp + 0x38], eax
fild dword [esp + 0x38]
add dword [esp + 0x4c], eax
add edi, eax
mov dword [esp + 0x28], edi
fcomp st(2)
fnstsw ax
test ah, 5
jnp 0x4f0b99
fstp st(0)
mov eax, dword [esi]
fstp st(0)
mov edx, dword [eax + 0xfc]
mov ecx, esi
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0xfc]
mov ecx, ebx
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18