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

Disassembly:
push 0xffffffffffffffff
push 0x660368
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x704e7c]
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.005089a0
push eax
call fcn.00507860
add esp, 4
test al, al
je 0x50c167
fld dword [esp + 0x1c]
fcomp qword [0x686640]
fnstsw ax
test ah, 1
jne 0x50c178
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 [0x686638]
fcomp dword [esp + 0x1c]
fnstsw ax
test ah, 0x41
jnp 0x50c149
mov ecx, esi
call fcn.00508800
test eax, eax
je 0x50c149
mov ecx, dword [esi + 0x41c]
call fcn.0052cf10
mov edi, eax
mov ecx, esi
mov dword [esp + 0x1c], edi
call fcn.005076a0
fstp dword [esp + 0x38]
mov ebx, dword [edi + 0x28]
cmp ebx, dword [edi + 0x2c]
jbe 0x50c1ac
call fcn.006111cc
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 0x50c1c8
call fcn.006111cc
mov edi, dword [edi + 0x1c]
test ebp, ebp
je 0x50c1d3
cmp ebp, edi
je 0x50c1d8
call fcn.006111cc
cmp ebx, dword [esp + 0x14]
je 0x50c149
test ebp, ebp
jne 0x50c5d6
call fcn.006111cc
cmp ebx, dword [ebp + 0x10]
jb 0x50c1f9
call fcn.006111cc
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.0050af60
mov edi, dword [esp + 0x88]
mov ebx, dword [esi + 0x18]
mov esi, dword [esi]
test edi, edi
je 0x50c22b
cmp edi, esi
je 0x50c230
call fcn.006111cc
mov esi, dword [esp + 0x8c]
cmp esi, ebx
je 0x50c2d4
test edi, edi
jne 0x50c5de
call fcn.006111cc
cmp esi, dword [edi + 0x18]
jne 0x50c256
call fcn.006111cc
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.00568740
mov edi, dword [eax]
mov ebx, dword [esi + 0x18]
mov ebp, dword [eax + 4]
mov esi, dword [esi]
test edi, edi
je 0x50c287
cmp edi, esi
je 0x50c28c
call fcn.006111cc
cmp ebp, ebx
je 0x50c2d4
mov edx, dword [esp + 0x1c]
cmp dword [edx + 0x18], 2
je 0x50c652
test edi, edi
jne 0x50c5e5
call fcn.006111cc
cmp ebp, dword [edi + 0x18]
jne 0x50c2b5
call fcn.006111cc
fld dword [ebp + 0x10]
mov ecx, dword [esp + 0x18]
fstp qword [esp + 0x30]
call fcn.005ae528
fcomp qword [esp + 0x30]
fnstsw ax
test ah, 5
jnp 0x50c652
fld dword [esp + 0x38]
mov ecx, dword [0x70d110]
fstp qword [esp + 0x30]
call fcn.00585130
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.00509c00
mov edi, eax
test esi, esi
jne 0x50c30d
call fcn.006111cc
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.00509c40
mov dword [esp + 0xa4], eax
test esi, esi
jne 0x50c339
call fcn.006111cc
mov edx, dword [esi]
mov esi, dword [esp + 0x18]
mov ecx, esi
mov dword [esp + 0xa0], edx
call fcn.005114c0
fmul qword [0x673388]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
call fcn.00612c10
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
mov ecx, esi
fstp dword [esp + 0x3c]
call fcn.005114c0
fmul qword [0x673388]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
call fcn.00612d40
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
mov ebx, dword [esp + 0x120]
fstp dword [esp + 0x14]
lea esp, [esp]
test ebp, ebp
je 0x50c3ad
cmp ebp, dword [esp + 0xa0]
je 0x50c3b2
call fcn.006111cc
cmp edi, dword [esp + 0xa4]
je 0x50c652
test ebp, ebp
jne 0x50c5ec
call fcn.006111cc
cmp edi, dword [ebp + 0x18]
jne 0x50c3d6
call fcn.006111cc
fld dword [0x6733a8]
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.005016e0
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.0056f9e0
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.0056f9e0
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 0x50c520
mov esi, dword [ebx + 0x308]
mov eax, dword [ebx + 0x2f4]
test edi, edi
je 0x50c534
cmp edi, eax
je 0x50c539
call fcn.006111cc
cmp ebp, esi
je 0x50c633
test edi, edi
jne 0x50c5f4
call fcn.006111cc
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x50c55a
call fcn.006111cc
mov edi, dword [ebp + 0x24]
cmp edi, dword [ebp + 0x28]
jbe 0x50c567
call fcn.006111cc
mov esi, dword [ebp + 0x18]
mov ebx, edi
mov edi, dword [ebp + 0x28]
mov dword [esp + 0x50], ebx
cmp dword [ebp + 0x24], edi
jbe 0x50c57d
call fcn.006111cc
mov eax, dword [ebp + 0x18]
test esi, esi
je 0x50c588
cmp esi, eax
je 0x50c58d
call fcn.006111cc
cmp ebx, edi
je 0x50c603
test esi, esi
jne 0x50c5fb
call fcn.006111cc
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x50c5a6
call fcn.006111cc
lea eax, [esp + 0x58]
push ebx
push eax
call fcn.005118c0
add esp, 8
test al, al
jne 0x50c684
test esi, esi
jne 0x50c5ff
call fcn.006111cc
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x50c5d1
call fcn.006111cc
add ebx, 0x1c
jmp 0x50c56c
mov ebp, dword [ebp]
jmp 0x50c1ef
mov edi, dword [edi]
jmp 0x50c24c
mov edi, dword [edi]
jmp 0x50c2ab
mov ebp, dword [ebp]
jmp 0x50c3cc
mov eax, dword [edi]
jmp 0x50c550
mov eax, dword [esi]
jmp 0x50c59c
mov eax, dword [esi]
jmp 0x50c5c7
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x50c62f
call fcn.006111cc
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x50c61c
call fcn.006111cc
mov ebp, dword [ebp]
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x120]
jmp 0x50c520
mov eax, dword [eax]
jmp 0x50c612
lea ecx, [esp + 0x80]
call fcn.00517ac0
mov edi, dword [esp + 0x84]
mov ebp, dword [esp + 0x80]
jmp 0x50c3a0
mov ebp, dword [esp + 0x44]
test ebp, ebp
jne 0x50c67f
call fcn.006111cc
xor eax, eax
mov ebx, dword [esp + 0x48]
cmp ebx, dword [eax + 0x10]
jb 0x50c66f
call fcn.006111cc
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
add ebx, 0x48
jmp 0x50c1b3
mov eax, dword [ebp]
jmp 0x50c661
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.0050af60
mov edi, dword [esp + 0x24]
mov ebp, dword [esi + 0x18]
mov eax, dword [esi]
test edi, edi
je 0x50c6b8
cmp edi, eax
je 0x50c6bd
call fcn.006111cc
mov ebx, dword [esp + 0x28]
cmp ebx, ebp
jne 0x50c7db
lea ecx, [esp + 0x23]
push ecx
lea edx, [esp + 0x27]
push edx
lea ecx, [esp + 0xb0]
call fcn.005a9ba0
mov edi, dword [esp + 0x18]
mov ecx, edi
mov dword [esp + 0x118], 0
call fcn.005ae528
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.0050f890
sub esp, 0x20
lea edx, [esp + 0xc8]
mov dword [esp + 0x50], esp
mov ecx, esp
push edx
call fcn.0050ba30
mov eax, dword [esp + 0x68]
push eax
lea ecx, [esp + 0x110]
push ecx
call fcn.0050bc80
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.0050ba30
lea eax, [esp + 0xc8]
push eax
lea ecx, [esp + 0x94]
push ecx
mov ecx, esi
mov byte [esp + 0x120], 2
call fcn.0050bfb0
lea ecx, [esp + 0xcc]
mov byte [esp + 0x118], 1
call fcn.005b8bb0
lea ecx, [esp + 0xf0]
mov byte [esp + 0x118], 0
call fcn.005b8bb0
lea ecx, [esp + 0xa8]
mov dword [esp + 0x118], 0xffffffff
call fcn.005b8bb0
jmp 0x50c87b
mov ecx, dword [esp + 0x18]
call fcn.005ae528
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 0x50c85f
call fcn.006111cc
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x50c81d
call fcn.006111cc
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x94]
push ecx
lea ecx, [ebx + 0x10]
call fcn.0050f890
test edi, edi
jne 0x50c863
call fcn.006111cc
cmp ebx, dword [edi + 0x18]
jne 0x50c845
call fcn.006111cc
mov eax, dword [ebp + 0x18]
mov ebx, dword [ebx + 0x2c]
cmp eax, 2
je 0x50c867
cmp eax, 1
je 0x50c867
cmp ebx, dword [ebp + 0x14]
jle 0x50c870
jmp 0x50c149
mov eax, dword [edi]
jmp 0x50c813
mov edi, dword [edi]
jmp 0x50c83b
cmp ebx, 0x10
jg 0x50c149
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x120]
mov ecx, ebx
call fcn.0056f9e0
mov ecx, edi
mov esi, eax
call fcn.0056f9e0
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 [0x673618]
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.005089a0
push eax
call fcn.00507860
add esp, 4
test al, al
je 0x50c942
mov ecx, edi
call fcn.0056f9e0
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 [0x673618]
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.00508370
mov eax, 1
jmp 0x50c14b