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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x5c]
push edi
xor edi, edi
cmp eax, edi
je 0x4a0135
test byte [esi + 0x41], 0x20
je 0x49fe1d
fld1
mov dword [esi + 0x78], 0xff
fstp dword [esi + 0x7c]
jmp 0x4a0135
test byte [esi + 0x3c], 0x20
jne 0x4a0135
test byte [eax + 0x124], 0x40
jne 0x4a0135
cmp dword [0x4e4078], edi
fld1
fstp dword [ebp - 4]
mov dword [ebp - 0xc], edi
mov dword [ebp + 8], 0x80
mov dword [ebp - 8], edi
jle 0x4a00cd
fld dword [esi + 0x44]
lea eax, [edi + 0x4f3450]
fsub dword [eax - 4]
push ecx
push ecx
fst dword [ebp - 0x24]
fld dword [esi + 0x48]
fsub dword [eax]
fst dword [ebp - 0x20]
fld dword [esi + 0x4c]
fsub dword [eax + 4]
fst dword [ebp - 0x1c]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fstp dword [ebp - 0x10]
fstp st(0)
fstp st(0)
fstp st(0)
fld dword [ebp - 0x10]
fstp qword [esp]
call fcn.00482194
fst dword [ebp - 0x14]
pop ecx
fld dword [0x4e406c]
pop ecx
fcomp dword [0x4d8198]
fnstsw ax
test ah, 0x41
jne 0x49ff3a
cmp dword [0x4e4078], 1
jne 0x49ff3a
fstp st(0)
push ecx
fld dword [esi + 0x44]
push ecx
fsub dword [esi + 0x50]
fld dword [esi + 0x48]
fsub dword [esi + 0x54]
fstp dword [ebp - 0x2c]
fld dword [esi + 0x4c]
fsub dword [esi + 0x58]
fstp dword [ebp - 0x28]
fsub dword [edi + 0x4f34ac]
fld dword [ebp - 0x2c]
fsub dword [edi + 0x4f34b0]
fld dword [ebp - 0x28]
fsub dword [edi + 0x4f34b4]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fstp qword [esp]
fstp st(0)
fstp st(0)
fstp st(0)
call fcn.00482194
fstp dword [ebp - 0x18]
pop ecx
fld dword [0x4cfa2c]
pop ecx
fdiv dword [0x4e4070]
fstp dword [ebp - 4]
fld dword [ebp - 0x14]
fld dword [ebp - 0x18]
fsubr st(1)
fmul dword [0x4e406c]
fsubr dword [ebp - 4]
fdiv dword [ebp - 4]
fstp dword [ebp - 4]
fld dword [ebp - 4]
fcomp dword [0x4cfa28]
fnstsw ax
test ah, 5
jp 0x49ff51
mov dword [ebp - 4], 0x3727c5ac
fcom dword [esi + 0xc0]
fnstsw ax
test ah, 1
jne 0x49ff66
fstp st(0)
fld dword [esi + 0xc0]
fcom dword [esi + 0xbc]
fnstsw ax
test ah, 5
jp 0x49ff7b
fstp st(0)
fld dword [esi + 0xbc]
fcom dword [esi + 0xbc]
fnstsw ax
test ah, 0x41
jne 0x49ffb1
fld dword [0x4e4074]
fcomp dword [0x4d8188]
fnstsw ax
test ah, 0x44
jnp 0x49ffb1
fld st(0)
fsub dword [esi + 0xbc]
fmul dword [0x4e4074]
fadd dword [esi + 0xbc]
fstp st(1)
fcom dword [0x4cfa28]
fnstsw ax
test ah, 5
jp 0x49ffc6
fstp st(0)
fld dword [0x4cfa28]
fdivr dword [esi + 0xbc]
fcom dword [0x4d8198]
fnstsw ax
test ah, 5
jp 0x49ffdd
fstp st(0)
fldz
fcom dword [0x4d8188]
fnstsw ax
test ah, 0x41
jne 0x49ffee
fstp st(0)
fld1
fmul dword [0x4cfa24]
call fcn.004838c6
cmp eax, dword [ebp - 0xc]
jle 0x4a0001
mov dword [ebp - 0xc], eax
cmp dword [0x4e4078], 1
jne 0x4a00b9
fld dword [ebp - 0x10]
push ecx
push ecx
fstp qword [esp]
call fcn.00482194
fcom dword [0x4d8198]
pop ecx
pop ecx
fnstsw ax
test ah, 0x41
jp 0x4a0034
fstp st(0)
fldz
fldz
fldz
jmp 0x4a004f
fld1
fdiv st(1)
fstp dword [ebp + 8]
fstp st(0)
fld dword [ebp + 8]
fmul dword [ebp - 0x24]
fld dword [ebp + 8]
fmul dword [ebp - 0x20]
fld dword [ebp + 8]
fmul dword [ebp - 0x1c]
fld dword [edi + 0x4e4044]
fmul st(1)
fld dword [edi + 0x4e4040]
fmul st(3)
faddp st(1)
fld dword [edi + 0x4e403c]
fmul st(4)
faddp st(1)
fmul dword [0x4cfa20]
call fcn.004838c6
fstp st(0)
mov ecx, 0x80
fstp st(0)
sub ecx, eax
fstp st(0)
mov dword [ebp + 8], ecx
jns 0x4a008e
and dword [ebp + 8], 0
jmp 0x4a009a
mov eax, 0xff
cmp ecx, eax
jle 0x4a009a
mov dword [ebp + 8], eax
fild dword [ebp + 8]
mov eax, dword [0x4e3fd8]
fsub dword [0x4cf964]
fmul dword [eax + 0x14]
fadd dword [0x4cf964]
call fcn.004838c6
mov dword [ebp + 8], eax
inc dword [ebp - 8]
mov eax, dword [0x4e4078]
add edi, 0xc
cmp dword [ebp - 8], eax
jl 0x49fe52
test byte [esi + 0x3c], 1
mov eax, dword [ebp - 0xc]
mov edi, dword [esi + 0x1c]
mov dword [esi + 0x78], eax
mov eax, dword [ebp - 4]
mov dword [esi + 0x7c], eax
jne 0x4a00f7
mov eax, dword [0x4e3fd8]
mov eax, dword [eax + 0x10]
imul eax, edi
cdq
mov ecx, 0xff
idiv ecx
mov edi, eax
cmp dword [ebp + 0xc], 0
je 0x4a0120
push dword [esi + 0x20]
push esi
call dword [esi + 0x194]
push edi
push esi
call dword [esi + 0x19c]
push 0
push dword [ebp + 8]
push esi
call dword [esi + 0x1a0]
add esp, 0x1c
jmp 0x4a0135
push edi
push esi
call fcn.004a1338
push 0
push dword [ebp + 8]
push esi
call fcn.004a13a9
add esp, 0x14
pop edi
pop esi
leave
ret