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

Disassembly:
push 0xffffffffffffffff
push 0x6627a8
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x70903c]
xor eax, esp
push eax
lea eax, [esp + 0x110]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], esi
mov ecx, dword [esp + 0x120]
fld dword [ecx + 0x460]
fsub dword [esi + 0x460]
fstp dword [esp + 0x3c]
fld dword [ecx + 0x468]
fsub dword [esi + 0x468]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fst dword [esp + 0x14]
fstp dword [esp + 0x38]
fld dword [esp + 0x3c]
fld dword [esp + 0x14]
fld dword [esp + 0x38]
fld st(1)
fmulp st(2)
fld st(2)
fmulp st(3)
fxch st(1)
faddp st(2)
fmul st(0), st(0)
faddp st(1)
fstp dword [esp + 0x1c]
call fcn.0050bc20
push eax
call fcn.0050aae0
add esp, 4
test al, al
je 0x50f2c7
fld dword [esp + 0x1c]
fcomp qword [0x68a2a0]
fnstsw ax
test ah, 1
jne 0x50f2d8
xor eax, eax
mov ecx, dword [esp + 0x110]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret 4
fld dword [0x68a298]
fcomp dword [esp + 0x1c]
fnstsw ax
test ah, 0x41
jnp 0x50f2a9
mov ecx, esi
call fcn.0050ba80
test eax, eax
je 0x50f2a9
mov ecx, dword [esi + 0x41c]
call fcn.005302c0
mov edi, eax
mov ecx, esi
mov dword [esp + 0x1c], edi
call fcn.0050a920
fstp dword [esp + 0x38]
mov ebx, dword [edi + 0x28]
cmp ebx, dword [edi + 0x2c]
jbe 0x50f30c
call fcn.00615e0c
mov ebp, dword [edi + 0x1c]
mov dword [esp + 0x44], ebp
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x14], eax
cmp dword [edi + 0x28], eax
jbe 0x50f328
call fcn.00615e0c
mov edi, dword [edi + 0x1c]
test ebp, ebp
je 0x50f333
cmp ebp, edi
je 0x50f338
call fcn.00615e0c
cmp ebx, dword [esp + 0x14]
je 0x50f2a9
test ebp, ebp
jne 0x50f736
call fcn.00615e0c
cmp ebx, dword [ebp + 0x10]
jb 0x50f359
call fcn.00615e0c
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x8c]
add esi, 0x550
push ecx
mov ecx, esi
mov dword [esp + 0x1c], ebx
call fcn.0050e140
mov edi, dword [esp + 0x88]
mov ebx, dword [esi + 0x18]
mov esi, dword [esi]
test edi, edi
je 0x50f38b
cmp edi, esi
je 0x50f390
call fcn.00615e0c
mov esi, dword [esp + 0x8c]
cmp esi, ebx
je 0x50f434
test edi, edi
jne 0x50f73e
call fcn.00615e0c
cmp esi, dword [edi + 0x18]
jne 0x50f3b6
call fcn.00615e0c
mov edx, dword [esp + 0x120]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x78]
add esi, 0x10
push ecx
mov ecx, esi
mov dword [esp + 0x1c], edx
call fcn.00510af0
mov edi, dword [eax]
mov ebx, dword [esi + 0x18]
mov ebp, dword [eax + 4]
mov esi, dword [esi]
test edi, edi
je 0x50f3e7
cmp edi, esi
je 0x50f3ec
call fcn.00615e0c
cmp ebp, ebx
je 0x50f434
mov edx, dword [esp + 0x1c]
cmp dword [edx + 0x18], 2
je 0x50f7b2
test edi, edi
jne 0x50f745
call fcn.00615e0c
cmp ebp, dword [edi + 0x18]
jne 0x50f415
call fcn.00615e0c
fld dword [ebp + 0x10]
mov ecx, dword [esp + 0x18]
fstp qword [esp + 0x30]
call fcn.005b1c68
fcomp qword [esp + 0x30]
fnstsw ax
test ah, 5
jnp 0x50f7b2
fld dword [esp + 0x38]
mov ecx, dword [0x712408]
fstp qword [esp + 0x30]
call fcn.00588040
mov esi, dword [esp + 0x48]
fsubr qword [esp + 0x30]
lea eax, [esp + 0x14]
add esi, 0x28
push eax
fstp dword [esp + 0x18]
mov ecx, esi
call fcn.0050cde0
mov edi, eax
test esi, esi
jne 0x50f46d
call fcn.00615e0c
mov ebp, dword [esi]
lea ecx, [esp + 0x38]
push ecx
mov ecx, esi
mov dword [esp + 0x84], ebp
mov dword [esp + 0x88], edi
call fcn.0050ce20
mov dword [esp + 0xa4], eax
test esi, esi
jne 0x50f499
call fcn.00615e0c
mov edx, dword [esi]
mov esi, dword [esp + 0x18]
mov ecx, esi
mov dword [esp + 0xa0], edx
call fcn.00514590
fmul qword [0x6763a8]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
call fcn.006161d0
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
mov ecx, esi
fstp dword [esp + 0x3c]
call fcn.00514590
fmul qword [0x6763a8]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
call fcn.00616300
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
mov ebx, dword [esp + 0x120]
fstp dword [esp + 0x14]
lea esp, [esp]
test ebp, ebp
je 0x50f50d
cmp ebp, dword [esp + 0xa0]
je 0x50f512
call fcn.00615e0c
cmp edi, dword [esp + 0xa4]
je 0x50f7b2
test ebp, ebp
jne 0x50f74c
call fcn.00615e0c
cmp edi, dword [ebp + 0x18]
jne 0x50f536
call fcn.00615e0c
fld dword [0x6763c8]
lea ebp, [edi + 0x10]
mov ecx, 7
mov esi, ebp
lea edi, [esp + 0x58]
rep movsd dword es:[edi], dword [esi]
fstp dword [esp + 0x70]
fld dword [ebp]
fsub dword [ebp + 0xc]
fstp dword [esp + 0x9c]
fld dword [ebp + 4]
fsub dword [ebp + 0x10]
fstp dword [esp + 0x30]
mov ecx, dword [esp + 0x18]
call fcn.00504870
mov esi, dword [esp + 0x18]
fstp dword [esp + 0x40]
mov ecx, esi
fld dword [esp + 0x9c]
fld dword [esp + 0x40]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x90]
fmul dword [esp + 0x30]
fstp dword [esp + 0x94]
fld dword [esp + 0x90]
fadd dword [ebp + 0xc]
fstp dword [esp + 0x30]
fld dword [ebp + 0x10]
fadd dword [esp + 0x94]
fstp dword [esp + 0x40]
fld dword [esp + 0x30]
fld st(0)
fld dword [esp + 0x3c]
fld st(0)
fmulp st(2)
fld dword [esp + 0x40]
fld st(0)
fld dword [esp + 0x14]
fld st(0)
fmulp st(2)
fxch st(4)
fsubrp st(1)
fstp dword [esp + 0x58]
fxch st(3)
fmulp st(2)
fmulp st(2)
faddp st(1)
fstp dword [esp + 0x5c]
call fcn.00567180
fld dword [eax]
mov ecx, esi
fadd dword [esp + 0x58]
fstp dword [esp + 0x58]
fld dword [eax + 4]
fadd dword [esp + 0x5c]
fstp dword [esp + 0x5c]
fld dword [eax + 8]
fadd dword [esp + 0x60]
fstp dword [esp + 0x60]
fld dword [ebp + 0xc]
fld dword [esp + 0x3c]
fld st(0)
fmulp st(2)
fld dword [esp + 0x14]
fld st(0)
fmul dword [ebp + 0x10]
fsubp st(3)
fxch st(2)
fstp dword [esp + 0x64]
fld dword [ebp + 0xc]
fmulp st(2)
fmul dword [ebp + 0x10]
faddp st(1)
fstp dword [esp + 0x68]
call fcn.00567180
fld dword [eax]
fadd dword [esp + 0x64]
fstp dword [esp + 0x64]
fld dword [eax + 4]
fadd dword [esp + 0x68]
mov edi, dword [ebx + 0x2f4]
mov dword [esp + 0x24], edi
fstp dword [esp + 0x68]
fld dword [eax + 8]
mov eax, dword [ebx + 0x308]
fadd dword [esp + 0x6c]
fstp dword [esp + 0x6c]
mov eax, dword [eax]
mov ebp, eax
jmp 0x50f680
mov esi, dword [ebx + 0x308]
mov eax, dword [ebx + 0x2f4]
test edi, edi
je 0x50f694
cmp edi, eax
je 0x50f699
call fcn.00615e0c
cmp ebp, esi
je 0x50f793
test edi, edi
jne 0x50f754
call fcn.00615e0c
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x50f6ba
call fcn.00615e0c
mov edi, dword [ebp + 0x24]
cmp edi, dword [ebp + 0x28]
jbe 0x50f6c7
call fcn.00615e0c
mov esi, dword [ebp + 0x18]
mov ebx, edi
mov edi, dword [ebp + 0x28]
mov dword [esp + 0x50], ebx
cmp dword [ebp + 0x24], edi
jbe 0x50f6dd
call fcn.00615e0c
mov eax, dword [ebp + 0x18]
test esi, esi
je 0x50f6e8
cmp esi, eax
je 0x50f6ed
call fcn.00615e0c
cmp ebx, edi
je 0x50f763
test esi, esi
jne 0x50f75b
call fcn.00615e0c
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x50f706
call fcn.00615e0c
lea eax, [esp + 0x58]
push ebx
push eax
call fcn.00514990
add esp, 8
test al, al
jne 0x50f7e4
test esi, esi
jne 0x50f75f
call fcn.00615e0c
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x50f731
call fcn.00615e0c
add ebx, 0x1c
jmp 0x50f6cc
mov ebp, dword [ebp]
jmp 0x50f34f
mov edi, dword [edi]
jmp 0x50f3ac
mov edi, dword [edi]
jmp 0x50f40b
mov ebp, dword [ebp]
jmp 0x50f52c
mov eax, dword [edi]
jmp 0x50f6b0
mov eax, dword [esi]
jmp 0x50f6fc
mov eax, dword [esi]
jmp 0x50f727
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x50f78f
call fcn.00615e0c
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x50f77c
call fcn.00615e0c
mov ebp, dword [ebp]
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x120]
jmp 0x50f680
mov eax, dword [eax]
jmp 0x50f772
lea ecx, [esp + 0x80]
call fcn.0055ec80
mov edi, dword [esp + 0x84]
mov ebp, dword [esp + 0x80]
jmp 0x50f500
mov ebp, dword [esp + 0x44]
test ebp, ebp
jne 0x50f7df
call fcn.00615e0c
xor eax, eax
mov ebx, dword [esp + 0x48]
cmp ebx, dword [eax + 0x10]
jb 0x50f7cf
call fcn.00615e0c
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
add ebx, 0x48
jmp 0x50f313
mov eax, dword [ebp]
jmp 0x50f7c1
mov ecx, dword [esp + 0x48]
mov esi, dword [esp + 0x18]
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x28]
mov dword [esp + 0x34], ecx
add esi, 0x550
push eax
mov ecx, esi
call fcn.0050e140
mov edi, dword [esp + 0x24]
mov ebp, dword [esi + 0x18]
mov eax, dword [esi]
test edi, edi
je 0x50f818
cmp edi, eax
je 0x50f81d
call fcn.00615e0c
mov ebx, dword [esp + 0x28]
cmp ebx, ebp
jne 0x50f93b
lea ecx, [esp + 0x23]
push ecx
lea edx, [esp + 0x27]
push edx
lea ecx, [esp + 0xb0]
call fcn.00567670
mov edi, dword [esp + 0x18]
mov ecx, edi
mov dword [esp + 0x118], 0
call fcn.005b1c68
mov ebp, dword [esp + 0x1c]
fadd dword [ebp + 8]
mov ebx, dword [esp + 0x120]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x94]
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
push ecx
lea ecx, [esp + 0xb0]
fstp dword [esp + 0x30]
mov dword [esp + 0x2c], ebx
call fcn.0051fa20
sub esp, 0x20
lea edx, [esp + 0xc8]
mov dword [esp + 0x50], esp
mov ecx, esp
push edx
call fcn.0050eb90
mov eax, dword [esp + 0x68]
push eax
lea ecx, [esp + 0x110]
push ecx
call fcn.0050ede0
add esp, 0x28
mov edx, dword [eax]
add eax, 4
push eax
lea ecx, [esp + 0xd0]
mov byte [esp + 0x11c], 1
mov dword [esp + 0xcc], edx
call fcn.0050eb90
lea eax, [esp + 0xc8]
push eax
lea ecx, [esp + 0x94]
push ecx
mov ecx, esi
mov byte [esp + 0x120], 2
call fcn.0050f110
lea ecx, [esp + 0xcc]
mov byte [esp + 0x118], 1
call fcn.00568070
lea ecx, [esp + 0xf0]
mov byte [esp + 0x118], 0
call fcn.00568070
lea ecx, [esp + 0xa8]
mov dword [esp + 0x118], 0xffffffff
call fcn.00568070
jmp 0x50f9db
mov ecx, dword [esp + 0x18]
call fcn.005b1c68
mov ebp, dword [esp + 0x1c]
fadd dword [ebp + 8]
mov edx, dword [esp + 0x120]
mov dword [esp + 0x24], edx
fstp dword [esp + 0x8c]
fld dword [esp + 0x8c]
fstp dword [esp + 0x28]
test edi, edi
jne 0x50f9bf
call fcn.00615e0c
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x50f97d
call fcn.00615e0c
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x94]
push ecx
lea ecx, [ebx + 0x10]
call fcn.0051fa20
test edi, edi
jne 0x50f9c3
call fcn.00615e0c
cmp ebx, dword [edi + 0x18]
jne 0x50f9a5
call fcn.00615e0c
mov eax, dword [ebp + 0x18]
mov ebx, dword [ebx + 0x2c]
cmp eax, 2
je 0x50f9c7
cmp eax, 1
je 0x50f9c7
cmp ebx, dword [ebp + 0x14]
jle 0x50f9d0
jmp 0x50f2a9
mov eax, dword [edi]
jmp 0x50f973
mov edi, dword [edi]
jmp 0x50f99b
cmp ebx, 0x10
jg 0x50f2a9
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x120]
mov ecx, ebx
call fcn.00567180
mov ecx, edi
mov esi, eax
call fcn.00567180
fld dword [esi]
fadd dword [eax]
mov ecx, ebx
fstp dword [esp + 0x24]
fld dword [esi + 4]
fadd dword [eax + 4]
fstp dword [esp + 0x28]
fld dword [esi + 8]
fadd dword [eax + 8]
fstp dword [esp + 0x2c]
fld dword [esp + 0x24]
fld qword [0x676648]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x74]
fld dword [esp + 0x28]
fmul st(1)
fstp dword [esp + 0x78]
fmul dword [esp + 0x2c]
fstp dword [esp + 0x7c]
call fcn.0050bc20
push eax
call fcn.0050aae0
add esp, 4
test al, al
je 0x50faa2
mov ecx, edi
call fcn.00567180
fld dword [eax]
mov ecx, dword [esp + 0x50]
fadd dword [ecx]
fstp dword [esp + 0x4c]
fld dword [eax + 4]
fadd dword [ecx + 4]
fstp dword [esp + 0x50]
fld dword [eax + 8]
fadd dword [ecx + 8]
fstp dword [esp + 0x54]
fld dword [esp + 0x4c]
fld qword [0x676648]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x24]
mov edx, dword [esp + 0x24]
fld dword [esp + 0x50]
mov dword [esp + 0x74], edx
fmul st(1)
fstp dword [esp + 0x28]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x78], eax
fmul dword [esp + 0x54]
fstp dword [esp + 0x2c]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x7c], ecx
mov edx, dword [edi + 0x2d0]
push 1
push edx
lea eax, [esp + 0x7c]
push eax
push ebx
push ebp
mov ecx, edi
call fcn.0050b5f0
mov eax, 1
jmp 0x50f2ab