Function at 0x4f4560
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov edx, ecx
xor eax, eax
mov ecx, 0x45
push edi
push esi
push ebx
sub esp, 0x1a0
lea edi, [esp + 0x8c]
rep stosd dword es:[edi], eax
movsx eax, word [edx + 0x298]
mov dword [esp], eax
test eax, eax
jle 0x4f4873
mov eax, dword [0x5b504c]
mov dword [esp + 4], eax
mov eax, dword [0x5b5059]
mov dword [esp + 8], eax
mov eax, dword [0x5b5050]
mov dword [esp + 0xc], eax
xor eax, eax
jmp 0x4f45bc
add eax, 1
cmp eax, dword [esp]
je 0x4f4688
movsx ecx, word [edx + eax*2 + 0x29c]
test ecx, ecx
jle 0x4f487f
cmp ecx, dword [esp + 4]
jg 0x4f487f
sub ecx, 1
imul ecx, dword [esp + 0xc]
mov edi, dword [esp + 8]
mov ecx, dword [edi + ecx]
cmp byte [ecx + 4], 4
jne 0x4f45b0
cmp byte [edx + eax + 0x2fc], 3
jne 0x4f45b0
lea ebx, [esp + 0x8c]
xor esi, esi
mov ebp, dword [ecx + esi*4 + 0x17a]
test ebp, ebp
je 0x4f466e
movzx edi, word [ebx + 0x58]
cmp di, 0x13
jg 0x4f466e
fld dword [ebp + 4]
movsx ebp, di
mov dword [ebx + ebp*4], ecx
movzx ebp, word [edx + 4]
fstp dword [esp + 0x88]
fld dword [ebx + 0x50]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fadd dword [esp + 0x88]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fstp dword [ebx + 0x50]
cmp word [ecx + 0xf], bp
jne 0x4f4667
fld dword [ebx + 0x54]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fadd dword [esp + 0x88]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fstp dword [ebx + 0x54]
add edi, 1
mov word [ebx + 0x58], di
add esi, 1
add ebx, 0x5c
cmp esi, 3
jne 0x4f45fe
add eax, 1
cmp eax, dword [esp]
jne 0x4f45bc
lea esi, [esi]
movzx eax, word [esp + 0xe4]
mov word [esp + 4], ax
fild word [edx + 0x60]
movzx eax, word [edx + 0x5e]
mov dword [esp + 8], 0
lea esi, [esp + 0x8c]
sub ax, word [edx + 0x60]
mov word [esp], ax
fstp dword [esp + 0x24]
fld dword [0x5aa410]
fmul dword [esp + 0x24]
fstp dword [esp + 0x28]
fild word [esp]
fstp dword [esp + 0x2c]
fld dword [esp + 0x28]
fadd dword [esp + 0x2c]
fstp dword [esp + 0x84]
cmp word [esp + 4], 0
jle 0x4f47ec
mov ebx, dword [esp + 8]
movsx eax, word [esp + 4]
lea edi, [ebx + 0x5c]
lea ebp, [esi + eax*4]
mov eax, esi
mov dword [esp], edi
jmp 0x4f4754
fld dword [ecx + 0x10]
fstp dword [esp + 0x34]
fld dword [ecx + 4]
fstp dword [esp + 0x38]
fsub dword [esp + 0x30]
fstp dword [esp + 0x3c]
fild word [esp + 4]
fstp dword [esp + 0x40]
fld dword [esp + 0x3c]
fdiv dword [esp + 0x40]
fstp dword [esp + 0x44]
fld dword [esp + 0x38]
fadd dword [esp + 0x44]
fstp dword [esp + 0x48]
fld dword [esp + 0x34]
fadd dword [esp + 0x48]
fstp dword [esp + 0x4c]
fld dword [esp + 0x4c]
fstp dword [ecx + 0x10]
add eax, 4
cmp ebp, eax
je 0x4f47ec
mov ebx, dword [eax]
mov edi, dword [esp]
mov ecx, dword [ebx + edi*4 + 0xa]
test ecx, ecx
je 0x4f4749
fld dword [esi + 0x50]
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fld dword [esp + 0x84]
fcomi st(1)
fstp st(1)
jae 0x4f4700
fld dword [esi + 0x54]
movzx edi, word [edx + 4]
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
fcomi st(1)
fld st(0)
fcmovnbe st(0), st(2)
fstp dword [esp + 0x80]
cmp word [ebx + 0xf], di
je 0x4f4810
fstp st(0)
fld dword [ecx + 0x10]
add eax, 4
fstp dword [esp + 0x68]
fsub dword [esp + 0x80]
fstp dword [esp + 0x6c]
fld dword [ecx + 4]
fstp dword [esp + 0x70]
fld dword [esp + 0x6c]
fmul dword [esp + 0x70]
fstp dword [esp + 0x74]
fld dword [esp + 0x74]
fdiv dword [esp + 0x30]
fstp dword [esp + 0x78]
fld dword [esp + 0x68]
fadd dword [esp + 0x78]
fstp dword [esp + 0x7c]
fld dword [esp + 0x7c]
fstp dword [ecx + 0x10]
cmp ebp, eax
jne 0x4f4754
add dword [esp + 8], 1
mov eax, dword [esp + 8]
add esi, 0x5c
cmp eax, 3
je 0x4f4868
movzx eax, word [esi + 0x58]
mov word [esp + 4], ax
jmp 0x4f46db
fstp st(1)
fldz
fxch st(1)
fcompi st(1)
fstp st(0)
jbe 0x4f4749
fld dword [ecx + 0x10]
fstp dword [esp + 0x54]
fld dword [ecx + 4]
fstp dword [esp + 0x58]
fld dword [esp + 0x58]
fmul dword [esp + 0x80]
fstp dword [esp + 0x5c]
fld dword [esp + 0x5c]
fdiv dword [esp + 0x50]
fstp dword [esp + 0x60]
fld dword [esp + 0x54]
fadd dword [esp + 0x60]
fstp dword [esp + 0x64]
fld dword [esp + 0x64]
fstp dword [ecx + 0x10]
jmp 0x4f4749
add esp, 0x1a0
pop ebx
pop esi
pop edi
pop ebp
ret
xor eax, eax
mov word [esp + 4], ax
jmp 0x4f4695
movzx eax, byte [4]
ud2