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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10c
push ebx
push esi
push edi
mov edi, ecx
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
fld qword [edi + 0x98]
fsub qword [edi + 0xa0]
mov eax, dword [edi + 0x98]
mov ecx, dword [edi + 0x9c]
mov edx, dword [edi + 0xa0]
mov dword [esp + 0x48], eax
mov eax, dword [edi + 0xa4]
mov dword [esp + 0x4c], ecx
fstp qword [esp + 0xb0]
fld qword [ebx + 0x10]
fcomp qword [esi + 0x10]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc0], edx
mov dword [esp + 0xac], 0
push ebx
fnstsw ax
test ah, 1
je 0x41f256
lea ecx, [esp + 0x8c]
push ecx
call fcn.0042a5d0
lea edx, [esp + 0x78]
push esi
push edx
jmp 0x41f269
lea eax, [esp + 0x74]
push eax
call fcn.0042a5d0
lea ecx, [esp + 0x90]
push esi
push ecx
call fcn.0042a5d0
add esp, 0x10
lea edx, [esp + 0x88]
lea eax, [esp + 0x70]
mov ecx, edi
push edx
push eax
call fcn.0041f190
fstp qword [esp + 0x110]
lea ecx, [esp + 0x88]
lea edx, [esp + 0x70]
push ecx
push edx
mov ecx, edi
call fcn.00404930
fst qword [esp + 0xa0]
fld qword [esp + 0x98]
fsub qword [esp + 0x80]
fld st(1)
fpatan
fst qword [esp + 0xc8]
fcos
fmul qword [esp + 0xc0]
fld qword [esp + 0xc8]
fsin
fmul qword [esp + 0xc0]
fadd qword [esp + 0xb0]
fpatan
fabs
fcom qword [0x498500]
fst qword [esp + 0xd0]
fnstsw ax
test ah, 0x41
jne 0x41f341
fsub qword [0x498398]
fabs
fcom qword [0x498500]
fnstsw ax
test ah, 0x41
je 0x41f2f8
fstp qword [esp + 0xd0]
fcomp qword [0x495c58]
fnstsw ax
test ah, 0x40
je 0x41f345
fld qword [ebx + 0x10]
fcomp qword [esi + 0x10]
fnstsw ax
test ah, 0x40
jne 0x41f336
push esi
mov ecx, edi
call fcn.0041ee80
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
fstp st(0)
jmp 0x41f314
fld qword [esp + 0x78]
fsub qword [esp + 0x90]
fld qword [0x495ca8]
call fcn.0043bd80
fld qword [esp + 0x70]
fsub qword [esp + 0x88]
fld qword [0x495ca8]
call fcn.0043bd80
faddp st(1)
fsqrt
fstp qword [esp + 0x28]
fld qword [0x4bb638]
fld qword [0x495ca8]
call fcn.0043bd80
fld qword [0x4bb630]
fld qword [0x495ca8]
call fcn.0043bd80
faddp st(1)
fsqrt
fdivr qword [esp + 0x28]
fmul qword [0x4984f8]
call fcn.0043c224
mov dword [esp + 0x6c], eax
fild dword [esp + 0x6c]
fcomp qword [0x495c90]
fnstsw ax
test ah, 0x41
je 0x41f3ed
fld qword [esp + 0x28]
fmul qword [0x4984f0]
fcomp qword [edi + 0x98]
fnstsw ax
test ah, 1
je 0x41f3ed
push esi
mov ecx, edi
call fcn.0041ee80
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
fld qword [esp + 0x70]
fsub qword [esp + 0x48]
xor ebx, ebx
xor edx, edx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], edx
fstp qword [esp + 0x10]
fld qword [0x690248]
fcomp qword [esp + 0x10]
fnstsw ax
test ah, 1
je 0x41f43b
mov esi, dword [edi + 0xa8]
mov ecx, 0x690248
cmp ebx, esi
jge 0x41f437
fld qword [ecx + 8]
fcomp qword [esp + 0x10]
add ecx, 8
inc ebx
fnstsw ax
test ah, 1
jne 0x41f421
mov dword [esp + 0x38], ebx
fld qword [esp + 0x70]
fadd qword [esp + 0x48]
lea esi, [ebx*8 + 0x690248]
mov ecx, ebx
mov dword [esp + 0x44], ecx
fstp qword [esp + 0x10]
fld qword [esi]
fcomp qword [esp + 0x10]
fnstsw ax
test ah, 0x41
je 0x41f481
mov ebx, dword [edi + 0xa8]
cmp ecx, ebx
jge 0x41f47d
fld qword [esi + 8]
fcomp qword [esp + 0x10]
add esi, 8
inc ecx
fnstsw ax
test ah, 0x41
jne 0x41f467
mov dword [esp + 0x44], ecx
fld qword [esp + 0x78]
fsub qword [esp + 0x48]
fstp qword [esp + 0x10]
fld qword [0x690ec8]
fcomp qword [esp + 0x10]
fnstsw ax
test ah, 1
je 0x41f4c3
mov ecx, dword [edi + 0xa8]
mov esi, 0x690ec8
cmp edx, ecx
jge 0x41f4bf
fld qword [esi + 8]
fcomp qword [esp + 0x10]
add esi, 8
inc edx
fnstsw ax
test ah, 1
jne 0x41f4a9
mov dword [esp + 0x3c], edx
fld qword [esp + 0x78]
fadd qword [esp + 0x48]
lea esi, [edx*8 + 0x690ec8]
mov ebx, edx
mov dword [esp + 0x34], ebx
fstp qword [esp + 0x10]
fld qword [esi]
fcomp qword [esp + 0x10]
fnstsw ax
test ah, 0x41
je 0x41f509
mov ecx, dword [edi + 0xa8]
cmp ebx, ecx
jge 0x41f505
fld qword [esi + 8]
fcomp qword [esp + 0x10]
add esi, 8
inc ebx
fnstsw ax
test ah, 0x41
jne 0x41f4ef
mov dword [esp + 0x34], ebx
fld qword [esp + 0x88]
fsub qword [esp + 0x48]
xor ecx, ecx
mov dword [esp + 0x24], ecx
fstp qword [esp + 0x10]
fld qword [0x690248]
fcomp qword [esp + 0x10]
fnstsw ax
test ah, 1
je 0x41f550
mov ebx, dword [edi + 0xa8]
mov esi, 0x690248
cmp ecx, ebx
jge 0x41f550
fld qword [esi + 8]
fcomp qword [esp + 0x10]
add esi, 8
inc ecx
fnstsw ax
test ah, 1
jne 0x41f53a
fld qword [esp + 0x88]
fadd qword [esp + 0x48]
lea esi, [ecx*8 + 0x690248]
mov edx, ecx
mov dword [esp + 0x40], edx
fstp qword [esp + 0x10]
fld qword [esi]
fcomp qword [esp + 0x10]
fnstsw ax
test ah, 0x41
je 0x41f599
mov ebx, dword [edi + 0xa8]
cmp edx, ebx
jge 0x41f595
fld qword [esi + 8]
fcomp qword [esp + 0x10]
add esi, 8
inc edx
fnstsw ax
test ah, 0x41
jne 0x41f57f
mov dword [esp + 0x40], edx
fld qword [esp + 0x90]
fsub qword [esp + 0x48]
fstp qword [esp + 0x10]
fld qword [0x690ec8]
fcomp qword [esp + 0x10]
fnstsw ax
test ah, 1
je 0x41f5e4
mov ebx, dword [edi + 0xa8]
mov esi, 0x690ec8
mov eax, dword [esp + 0x24]
cmp eax, ebx
jge 0x41f5e4
fld qword [esi + 8]
fcomp qword [esp + 0x10]
add esi, 8
mov edx, eax
inc edx
mov dword [esp + 0x24], edx
fnstsw ax
test ah, 1
jne 0x41f5c4
fld qword [esp + 0x90]
fadd qword [esp + 0x48]
mov ebx, dword [esp + 0x24]
lea esi, [ebx*8 + 0x690ec8]
fstp qword [esp + 0x10]
fld qword [esi]
fcomp qword [esp + 0x10]
fnstsw ax
test ah, 0x41
je 0x41f627
mov edx, dword [edi + 0xa8]
cmp ebx, edx
jge 0x41f627
fld qword [esi + 8]
fcomp qword [esp + 0x10]
add esi, 8
inc ebx
fnstsw ax
test ah, 0x41
jne 0x41f611
mov edx, dword [esp + 0x38]
cmp edx, ecx
jl 0x41f631
mov edx, ecx
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
cmp eax, ecx
jle 0x41f63f
mov ecx, eax
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x3c]
cmp esi, eax
jge 0x41f64d
mov eax, esi
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x34]
cmp eax, ebx
mov dword [esp + 0x34], eax
jg 0x41f661
mov dword [esp + 0x34], ebx
mov eax, dword [ebp + 8]
mov dword [esp + 0x3c], 1
fld qword [eax + 0x10]
mov eax, dword [ebp + 0xc]
fcomp qword [eax + 0x10]
fnstsw ax
test ah, 0x40
je 0x41f684
mov dword [esp + 0x3c], 0
cmp edx, ecx
jg 0x41fcf5
lea eax, [edx + edx*4]
sub ecx, edx
lea esi, [edx*8 + 0x690248]
lea eax, [eax + eax*4]
mov dword [esp + 0x44], esi
shl eax, 4
inc ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x40]
cmp ebx, ecx
jg 0x41fcbf
mov ecx, ebx
lea eax, [ecx*8 + 0x690ec8]
mov dword [esp + 0x24], eax
mov edx, dword [esi]
mov ecx, dword [esi + 4]
mov dword [esp + 0x54], edx
mov dword [esp + 0xe0], edx
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], eax
fld qword [esp + 0x5c]
fsub qword [esp + 0x78]
mov dword [esp + 0x58], ecx
mov dword [esp + 0xe4], ecx
fld qword [esp + 0x54]
fsub qword [esp + 0x70]
mov ecx, edx
mov edx, eax
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xec], edx
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
fstp qword [esp + 0x10]
fld st(0)
fld qword [esp + 0x10]
fpatan
fstp qword [esp + 0xb8]
fld qword [esp + 0x10]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fsqrt
fstp st(2)
fstp st(0)
fld qword [esp + 0xb8]
fsub qword [esp + 0x110]
fld st(0)
fsin
fmul st(2)
fabs
fst qword [esp + 0x28]
fsub qword [esp + 0x48]
fcomp qword [0x4984e8]
fnstsw ax
test ah, 1
je 0x41fc9f
fcos
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x68]
push 0
push eax
fmul st(1)
fstp qword [esp + 0x2c]
fstp st(0)
call fcn.0042a600
fld qword [esp + 0x2c]
fabs
fcomp qword [0x495c58]
add esp, 0x1c
fnstsw ax
test ah, 0x41
jne 0x41f854
fld qword [esp + 0xa0]
fabs
fcomp qword [0x495c58]
fnstsw ax
test ah, 0x41
jne 0x41f854
fld qword [esp + 0xa0]
fdiv qword [esp + 0x10]
fstp qword [esp + 0x18]
fld qword [esp + 0x88]
fsub qword [esp + 0x70]
fstp qword [esp + 0x54]
fld qword [esp + 0x90]
fsub qword [esp + 0x78]
fstp qword [esp + 0x5c]
fld qword [esp + 0x98]
fsub qword [esp + 0x80]
fld qword [esp + 0x54]
fcomp qword [0x495c58]
fnstsw ax
test ah, 0x40
jne 0x41f824
fld qword [esp + 0x54]
fdiv qword [esp + 0x18]
fstp qword [esp + 0x54]
fld qword [esp + 0x5c]
fcomp qword [0x495c58]
fnstsw ax
test ah, 0x40
jne 0x41f841
fld qword [esp + 0x5c]
fdiv qword [esp + 0x18]
fstp qword [esp + 0x5c]
fcom qword [0x495c58]
fnstsw ax
test ah, 0x40
jne 0x41f858
fdiv qword [esp + 0x18]
jmp 0x41f858
fld qword [esp + 0x64]
fld qword [esp + 0x54]
fadd qword [esp + 0x70]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0xf8], ecx
mov dword [esp + 0xfc], edx
fstp qword [esp + 0x54]
fld qword [esp + 0x5c]
fadd qword [esp + 0x78]
fstp qword [esp + 0x5c]
fadd qword [esp + 0x80]
fstp qword [esp + 0x64]
fld qword [esp + 0x5c]
fsub qword [esp + 0x78]
fld qword [esp + 0x54]
fsub qword [esp + 0x70]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fsqrt
fst qword [esp + 0xb8]
fstp st(2)
fstp st(0)
fld qword [esp + 0x5c]
fsub qword [esp + 0x90]
fld qword [esp + 0x54]
fsub qword [esp + 0x88]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fsqrt
fstp qword [esp + 0xd8]
fstp st(0)
fstp st(0)
fcomp qword [esp + 0xa0]
fnstsw ax
test ah, 0x41
jne 0x41f936
fld qword [esp + 0xe8]
fsub qword [esp + 0x90]
fld qword [esp + 0xe0]
fsub qword [esp + 0x88]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fsqrt
fstp qword [esp + 0x28]
fstp st(0)
fstp st(0)
fld qword [esp + 0x28]
fcomp qword [esp + 0x48]
fnstsw ax
test ah, 0x41
je 0x41fca3
fld qword [esp + 0xd8]
fcomp qword [esp + 0xa0]
fnstsw ax
test ah, 0x41
jne 0x41f988
fld qword [esp + 0xe8]
fsub qword [esp + 0x78]
fld qword [esp + 0xe0]
fsub qword [esp + 0x70]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fsqrt
fstp qword [esp + 0x28]
fstp st(0)
fstp st(0)
fld qword [esp + 0x28]
fcomp qword [esp + 0x48]
fnstsw ax
test ah, 0x41
je 0x41fca3
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x41fb9e
fld qword [edi + 0x98]
fld qword [0x495ca8]
call fcn.0043bd80
fld qword [esp + 0x28]
fld qword [0x495ca8]
call fcn.0043bd80
fsubp st(1)
fsqrt
fstp qword [esp + 0x18]
fld qword [esp + 0xd0]
fmul qword [0x4984e0]
fsub qword [0x495c90]
fabs
fcomp qword [0x495c78]
fnstsw ax
test ah, 0x41
jne 0x41fb85
fld qword [esp + 0xd0]
fptan
fstp st(0)
fld qword [0x495ca8]
call fcn.0043bd80
fst qword [esp + 0x10]
fadd qword [0x495c90]
fstp qword [esp + 0x108]
fld qword [esp + 0xb0]
fmul qword [0x4984d8]
fstp qword [esp + 0x18]
fld qword [esp + 0xf8]
fld qword [0x495ca8]
call fcn.0043bd80
fstp qword [esp + 0x100]
fld qword [esp + 0x18]
fld qword [0x495ca8]
call fcn.0043bd80
fld qword [esp + 0xb0]
fld qword [0x495ca8]
call fcn.0043bd80
fld qword [esp + 0xc0]
fld qword [0x495ca8]
call fcn.0043bd80
fsubp st(1)
fld qword [esp + 0x100]
fmul qword [esp + 0x10]
fsubp st(1)
fmul qword [esp + 0x108]
fmul qword [0x4984d0]
fsubp st(1)
fsqrt
fsub qword [esp + 0x18]
fld qword [esp + 0x108]
fadd st(0), st(0)
fdivp st(1)
fst qword [esp + 0x10]
fld qword [0x495ca8]
call fcn.0043bd80
fsub qword [esp + 0x100]
fsqrt
fstp qword [esp + 0x18]
fld qword [esp + 0xb8]
fcomp qword [esp + 0x18]
fnstsw ax
test ah, 0x41
jne 0x41faf7
fld qword [esp + 0xd8]
fcomp qword [esp + 0xa0]
fnstsw ax
test ah, 0x41
jne 0x41faf7
lea eax, [esp + 0x70]
lea ecx, [esp + 0x54]
push eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
push ecx
jmp 0x41fb7d
fld qword [esp + 0xd8]
fcomp qword [esp + 0x18]
fnstsw ax
test ah, 1
jne 0x41fb30
fld qword [esp + 0xb8]
fcomp qword [esp + 0xa0]
fnstsw ax
test ah, 0x41
je 0x41fb30
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
jmp 0x41fb85
fld qword [esp + 0xe8]
fsub qword [esp + 0x90]
fld qword [esp + 0xe0]
fsub qword [esp + 0x88]
lea ecx, [esp + 0x88]
lea edx, [esp + 0x54]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
push ecx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
push edx
faddp st(1)
fsqrt
fstp qword [esp + 0x30]
fstp st(0)
fstp st(0)
call fcn.0042a5d0
add esp, 8
fld qword [esp + 0xc8]
fptan
fstp st(0)
fabs
fmul qword [esp + 0x18]
fsubr qword [esp + 0x64]
fstp qword [esp + 0x64]
mov eax, dword [esp + 0x38]
lea esi, [eax + ebx]
fld qword [esi*8 + 0x557a48]
fstp qword [esp + 0x18]
fld qword [esp + 0x28]
fsub qword [esp + 0xb0]
fcom qword [0x4984c8]
fnstsw ax
test ah, 1
je 0x41fbdc
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
fstp st(0)
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
jmp 0x41fc1b
fld qword [esp + 0x28]
fsub qword [edi + 0x98]
fcomp qword [0x4984c8]
fnstsw ax
test ah, 1
je 0x41fc19
fld qword [esp + 0x64]
fadd qword [edi + 0xa0]
fld qword [edi + 0xa0]
fld st(0)
fmul st(1)
fld st(3)
fmul st(4)
fsubp st(1)
fsqrt
fsubr st(2)
fstp qword [esp + 0x18]
fstp st(0)
fstp st(0)
fstp st(0)
fld qword [esp + 0x18]
fcomp qword [esi*8 + 0x557a48]
fnstsw ax
test ah, 1
je 0x41fca3
mov ecx, edi
call fcn.0041f1b0
mov eax, dword [edi + 0xbc]
test eax, eax
je 0x41fc63
mov eax, dword [edi + 0xc0]
test eax, eax
je 0x41fc63
fld qword [edi + 0x60]
fmul qword [0x4984c0]
fadd qword [esp + 0x18]
fcomp qword [esi*8 + 0x557a48]
fnstsw ax
test ah, 1
je 0x41fca1
fadd qword [esp + 0x18]
fstp qword [esi*8 + 0x557a48]
mov eax, dword [edi + 0xbc]
test eax, eax
je 0x41fc90
mov dword [esi*4 + 0x4bb648], 0xfffffffe
mov dword [esp + 0xac], 1
jmp 0x41fca3
mov eax, dword [edi + 0xb0]
mov dword [esi*4 + 0x4bb648], eax
jmp 0x41fca3
fstp st(0)
fstp st(0)
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x44]
inc ebx
add eax, 8
cmp ebx, ecx
mov dword [esp + 0x24], eax
jle 0x41f6c8
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x6c]
add esi, 8
add edx, 0x190
dec eax
mov dword [esp + 0x44], esi
mov dword [esp + 0x38], edx
mov dword [esp + 0x6c], eax
jne 0x41f6af
mov eax, dword [esp + 0xac]
test eax, eax
je 0x41fcf5
mov ecx, edi
call fcn.004201c0
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 8