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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x50
mov eax, dword [0x100bc040]
xor eax, esp
mov dword [esp + 0x4c], eax
push esi
mov esi, dword [0x1019fdb0]
push edi
mov edi, esi
mov dword [esp + 0x24], edi
cmp dword [edi + 0x3e58], 0
je 0x1005aeff
movss xmm0, dword [edi + 0x3e68]
subss xmm0, dword [edi + 0x18]
movss xmm2, dword [0x100b2aac]
movss dword [edi + 0x3e68], xmm0
movss xmm0, dword [edi + 0xdc0]
comiss xmm0, xmm2
movss xmm1, dword [edi + 0xdc4]
jb 0x1005ae63
comiss xmm1, xmm2
jb 0x1005ae63
subss xmm1, dword [edi + 0x3e60]
subss xmm0, dword [edi + 0x3e5c]
sub esp, 8
lea ecx, [esp + 0x20]
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
call fcn.100248c0
movss xmm1, dword [esp + 0x18]
movss xmm0, dword [esp + 0x1c]
movss xmm2, dword [edi + 0x30]
mov esi, dword [0x1019fdb0]
mulss xmm1, xmm1
mulss xmm0, xmm0
mulss xmm2, xmm2
addss xmm1, xmm0
comiss xmm1, xmm2
jbe 0x1005ae63
mov dword [edi + 0x3e68], 0
xorps xmm0, xmm0
comiss xmm0, dword [edi + 0x3e68]
jb 0x1005af02
cmp dword [esi + 0x3e58], 0
mov dword [esi + 0x3e68], 0
je 0x1005af02
test byte [esi + 0x5ad8], 0x40
je 0x1005aea1
push 0x100af4f0
push str._io__LockWheelingWindow_____s__n
call fcn.100639c0
add esp, 8
mov ecx, dword [esi + 0xdc4]
sub esp, 8
mov eax, dword [esi + 0xdc0]
mov dword [esi + 0x3e60], ecx
lea ecx, [esp + 0x3c]
mov dword [esi + 0x3e58], 0
mov dword [esp + 4], 0
mov dword [esi + 0x3e5c], eax
mov dword [esi + 0x3e64], 0xffffffff
mov dword [esp], 0
call fcn.100248c0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + 0x3e74], ecx
mov dword [esi + 0x3e78], eax
mov esi, dword [0x1019fdb0]
xorps xmm0, xmm0
mov edx, 0x286
mov ecx, esi
call fcn.1004ae40
cmp dword [eax], 0xffffffff
je 0x1005af18
xorps xmm5, xmm5
jmp 0x1005af20
movss xmm5, dword [edi + 0xdd4]
mov edx, 0x287
mov ecx, esi
call fcn.1004ae40
cmp dword [eax], 0xffffffff
je 0x1005af36
xorps xmm4, xmm4
jmp 0x1005af3e
movss xmm4, dword [edi + 0xdd0]
mov ecx, dword [edi + 0x3e58]
mov dword [esp + 0x10], ecx
test ecx, ecx
jne 0x1005af5e
mov ecx, dword [edi + 0x3e4c]
mov dword [esp + 0x10], ecx
test ecx, ecx
je 0x1005b737
cmp byte [ecx + 0xad], 0
jne 0x1005b737
ucomiss xmm4, xmm0
lahf
test ah, 0x44
jnp 0x1005b22f
cmp byte [edi + 0xddc], 0
je 0x1005b23c
cmp byte [edi + 0x50], 0
je 0x1005b22f
andps xmm4, xmmword [0x100b2df0]
mulss xmm4, dword [0x100b2828]
addss xmm4, dword [esi + 0x3e68]
minss xmm4, dword [0x100b2828]
movss dword [esi + 0x3e68], xmm4
cmp dword [esi + 0x3e58], ecx
je 0x1005aff9
test byte [esi + 0x5ad8], 0x40
je 0x1005afdb
push dword [ecx + 4]
push str._io__LockWheelingWindow_____s__n
call fcn.100639c0
mov ecx, dword [esp + 0x18]
add esp, 8
mov eax, dword [esi + 0xdc0]
mov dword [esi + 0x3e58], ecx
mov ecx, dword [esi + 0xdc4]
mov dword [esi + 0x3e5c], eax
mov dword [esi + 0x3e60], ecx
mov esi, dword [esp + 0x10]
movss xmm1, dword [edi + 0xdd0]
mulss xmm1, dword [0x100b27cc]
movss xmm2, dword [esi + 0x25c]
movss xmm0, dword [0x100b2804]
addss xmm1, xmm2
comiss xmm0, xmm1
ja 0x1005b032
movss xmm0, dword [0x100b28d8]
minss xmm0, xmm1
movaps xmm1, xmm0
movss dword [esi + 0x25c], xmm0
divss xmm1, xmm2
movss dword [esp + 0x10], xmm1
cmp esi, dword [esi + 0x300]
jne 0x1005b737
movss xmm0, dword [edi + 0xdc4]
lea ecx, [esp + 0x18]
subss xmm0, dword [esi + 0x18]
sub esp, 8
movss dword [esp + 4], xmm0
movss xmm0, dword [edi + 0xdc0]
subss xmm0, dword [esi + 0x14]
movss dword [esp], xmm0
call fcn.100248c0
movss xmm1, dword [0x100b2860]
lea ecx, [esp + 0x24]
subss xmm1, dword [esp + 0x10]
sub esp, 8
movaps xmm0, xmm1
mulss xmm1, dword [esi + 0x1c]
mulss xmm0, dword [esi + 0x20]
movss dword [esp + 4], xmm0
movss dword [esp], xmm1
call fcn.100248c0
movss xmm0, dword [esp + 0x28]
lea ecx, [esp + 0x3c]
mulss xmm0, dword [esp + 0x1c]
sub esp, 8
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x2c]
mulss xmm0, dword [esp + 0x20]
movss dword [esp], xmm0
call fcn.100248c0
movss xmm0, dword [esp + 0x40]
lea ecx, [esp + 0x4c]
divss xmm0, dword [esi + 0x20]
sub esp, 8
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x44]
divss xmm0, dword [esi + 0x1c]
movss dword [esp], xmm0
call fcn.100248c0
movss xmm0, dword [esp + 0x50]
lea ecx, [esp + 0x34]
addss xmm0, dword [esi + 0x18]
sub esp, 8
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x54]
addss xmm0, dword [esi + 0x14]
movss dword [esp], xmm0
call fcn.100248c0
push 0
lea edx, [esp + 0x38]
mov ecx, esi
call fcn.10059560
movss xmm0, dword [esp + 0x14]
mulss xmm0, dword [esi + 0x20]
movss dword [esp], xmm0
movss xmm0, dword [esp + 0x14]
mulss xmm0, dword [esi + 0x1c]
push ecx
lea ecx, [esp + 0x2c]
movss dword [esp], xmm0
call fcn.100248c0
cvttss2si eax, dword [esp + 0x28]
sub esp, 8
lea ecx, [esp + 0x20]
movd xmm0, eax
cvttss2si eax, dword [esp + 0x2c]
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
call fcn.100248c0
movss xmm1, dword [esp + 0x10]
sub esp, 8
mov eax, dword [esp + 0x20]
movaps xmm0, xmm1
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], ecx
mulss xmm0, dword [esi + 0x28]
mulss xmm1, dword [esi + 0x24]
movss dword [esp + 4], xmm0
movss dword [esp], xmm1
lea ecx, [esp + 0x2c]
call fcn.100248c0
cvttss2si eax, dword [esp + 0x28]
sub esp, 8
lea ecx, [esp + 0x20]
movd xmm0, eax
cvttss2si eax, dword [esp + 0x2c]
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
call fcn.100248c0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], ecx
pop edi
pop esi
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.100a046e
mov esp, ebp
pop ebp
ret
cmp byte [edi + 0xddc], 0
jne 0x1005b737
cmp byte [edi + 0x372d], 0
je 0x1005b267
sub esp, 8
lea ecx, [esp + 0x3c]
mov dword [esp + 4], 0
movss dword [esp], xmm4
call fcn.100248c0
movss xmm5, dword [eax]
movss xmm4, dword [eax + 4]
movss xmm2, dword [edi + 0x3e74]
lea ecx, [esp + 0x44]
movss xmm3, dword [0x100b2944]
movaps xmm0, xmm2
movss xmm6, dword [0x100b2df0]
movaps xmm1, xmm5
divss xmm0, xmm3
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], 0
andps xmm1, xmm6
divss xmm1, xmm3
subss xmm2, xmm0
addss xmm1, xmm2
movss xmm2, dword [edi + 0x3e78]
movaps xmm0, xmm2
divss xmm0, xmm3
movss dword [edi + 0x3e74], xmm1
movaps xmm1, xmm4
andps xmm1, xmm6
subss xmm2, xmm0
divss xmm1, xmm3
addss xmm1, xmm2
movss dword [edi + 0x3e78], xmm1
addss xmm5, dword [edi + 0x3e6c]
addss xmm4, dword [edi + 0x3e70]
movss dword [esp + 0x54], xmm5
movss dword [esp + 0x3c], xmm5
movss dword [esp + 0x18], xmm4
movss dword [esp + 0x40], xmm4
call fcn.100248c0
movss xmm3, dword [esp + 0x4c]
xorps xmm1, xmm1
movss xmm2, dword [esp + 0x10]
ucomiss xmm3, xmm1
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi + 0x3e70], eax
mov dword [edi + 0x3e6c], ecx
lahf
test ah, 0x44
jp 0x1005b342
ucomiss xmm2, xmm1
lahf
test ah, 0x44
jnp 0x1005b737
mov esi, dword [edi + 0x3e58]
mov edx, dword [0x1019fdb0]
mov dword [esp + 0x20], edx
test esi, esi
jne 0x1005b4a2
lea esi, [esp + 0x2c]
mov dword [esp + 0x2c], 0
mov eax, 0x80
mov dword [esp + 0x30], 0
mov ecx, esi
mov dword [esp + 0x14], 2
sub eax, ecx
mov edi, edx
mov dword [esp + 0x18], eax
nop word [eax + eax]
add eax, esi
mov dword [esp + 0x3c], eax
movss xmm0, dword [esp + eax - 0x4c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1005b3fa
mov ecx, dword [edi + 0x3e4c]
mov dword [esi], ecx
mov edx, dword [ecx + 0xc]
test edx, 0x1000000
je 0x1005b3fa
mov edi, dword [esp + 0x3c]
nop dword [eax]
movss xmm0, dword [ecx + edi]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1005b3d2
mov al, 1
jmp 0x1005b3d4
xor al, al
and edx, 0x210
test al, al
je 0x1005b3e3
cmp edx, 0x10
jne 0x1005b3f6
mov ecx, dword [ecx + 0x2f8]
mov dword [esi], ecx
mov edx, dword [ecx + 0xc]
test edx, 0x1000000
jne 0x1005b3c0
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
add esi, 4
sub dword [esp + 0x14], 1
jne 0x1005b390
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
test ecx, ecx
jne 0x1005b41a
test esi, esi
jne 0x1005b494
jmp 0x1005b492
cmp ecx, esi
je 0x1005b48c
test ecx, ecx
je 0x1005b48c
test esi, esi
je 0x1005b490
mov eax, dword [edi + 0x3e64]
cmp eax, 0xffffffff
jne 0x1005b43d
mov eax, dword [edi + 0x3dc8]
mov dword [edi + 0x3e64], eax
cmp eax, dword [edi + 0x3dc8]
jne 0x1005b457
ucomiss xmm3, xmm1
lahf
test ah, 0x44
jnp 0x1005b457
ucomiss xmm2, xmm1
lahf
test ah, 0x44
jp 0x1005b470
movss xmm4, dword [edi + 0x3e74]
movss xmm0, dword [edi + 0x3e78]
ucomiss xmm4, xmm0
lahf
test ah, 0x44
jp 0x1005b484
movss dword [edi + 0x3e6c], xmm3
xor esi, esi
movss dword [edi + 0x3e70], xmm2
jmp 0x1005b492
comiss xmm4, xmm0
cmova esi, ecx
jmp 0x1005b492
test esi, esi
jne 0x1005b494
mov esi, ecx
test esi, esi
mov edi, dword [esp + 0x24]
je 0x1005b737
mov edx, dword [esp + 0x20]
test dword [esi + 0xc], 0x210
jne 0x1005b737
ucomiss xmm3, xmm1
lahf
test ah, 0x44
jnp 0x1005b4cd
movss xmm0, dword [esi + 0x80]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1005b4cd
mov al, 1
jmp 0x1005b4cf
xor al, al
ucomiss xmm2, xmm1
mov byte [esp + 0x14], al
lahf
test ah, 0x44
jnp 0x1005b4f1
movss xmm0, dword [esi + 0x84]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1005b4f1
mov cl, 1
jmp 0x1005b4f3
xor cl, cl
movss xmm1, dword [0x100b2828]
movss xmm4, dword [0x100b2824]
mov byte [esp + 0x15], cl
mov byte [esp + 0xf], cl
test al, al
je 0x1005b641
test cl, cl
je 0x1005b53c
movss xmm0, dword [edi + 0x3e74]
xor eax, eax
comiss xmm0, dword [edi + 0x3e78]
seta al
mov byte [esp + eax + 0x14], 0
mov al, byte [esp + 0x15]
mov byte [esp + 0xf], al
mov al, byte [esp + 0x14]
test al, al
je 0x1005b641
movaps xmm0, xmm3
mov edi, edx
andps xmm0, xmmword [0x100b2df0]
mulss xmm0, xmm1
addss xmm0, dword [edi + 0x3e68]
minss xmm0, xmm1
movss dword [edi + 0x3e68], xmm0
cmp dword [edi + 0x3e58], esi
je 0x1005b5c5
test byte [edi + 0x5ad8], 0x40
je 0x1005b5a7
push dword [esi + 4]
push str._io__LockWheelingWindow_____s__n
call fcn.100639c0
mov edx, dword [0x1019fdb0]
add esp, 8
movss xmm2, dword [esp + 0x10]
movss xmm3, dword [esp + 0x4c]
movss xmm4, dword [0x100b2824]
mov dword [esp + 0x20], edx
mov eax, dword [edi + 0xdc0]
mov ecx, dword [edi + 0xdc4]
mov dword [edi + 0x3e58], esi
mov dword [edi + 0x3e5c], eax
mov dword [edi + 0x3e60], ecx
mov eax, dword [esi]
movss xmm1, dword [esi + 0x1d8]
subss xmm1, dword [esi + 0x1d0]
movss xmm0, dword [eax + 0x3bbc]
mov eax, dword [esi + 0x2f8]
mulss xmm0, dword [esi + 0x25c]
mulss xmm1, xmm4
test eax, eax
je 0x1005b5fd
mulss xmm0, dword [eax + 0x25c]
addss xmm0, xmm0
mov dword [esi + 0x90], 0
mov dword [esi + 0x98], 0
minss xmm0, xmm1
cvttss2si eax, xmm0
movss xmm0, dword [esi + 0x78]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm3
subss xmm0, xmm1
movss xmm1, dword [0x100b2828]
movss dword [esi + 0x88], xmm0
cmp byte [esp + 0xf], 0
je 0x1005b737
movaps xmm0, xmm2
andps xmm0, xmmword [0x100b2df0]
mulss xmm0, xmm1
addss xmm0, dword [edx + 0x3e68]
minss xmm0, xmm1
movss dword [edx + 0x3e68], xmm0
cmp dword [edx + 0x3e58], esi
je 0x1005b6bf
test byte [edx + 0x5ad8], 0x40
je 0x1005b6a1
push dword [esi + 4]
push str._io__LockWheelingWindow_____s__n
call fcn.100639c0
movss xmm2, dword [esp + 0x18]
add esp, 8
movss xmm4, dword [0x100b2824]
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0xdc0]
mov ecx, dword [edx + 0xdc4]
mov dword [edx + 0x3e58], esi
mov dword [edx + 0x3e5c], eax
mov dword [edx + 0x3e60], ecx
mov eax, dword [esi]
movss xmm1, dword [esi + 0x1dc]
subss xmm1, dword [esi + 0x1d4]
movss xmm0, dword [eax + 0x3bbc]
mov eax, dword [esi + 0x2f8]
mulss xmm0, dword [esi + 0x25c]
mulss xmm1, xmm4
test eax, eax
je 0x1005b6f7
mulss xmm0, dword [eax + 0x25c]
mulss xmm0, dword [0x100b28f4]
mov dword [esi + 0x94], 0
mov dword [esi + 0x9c], 0
minss xmm0, xmm1
cvttss2si eax, xmm0
movss xmm0, dword [esi + 0x7c]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm2
subss xmm0, xmm1
movss dword [esi + 0x8c], xmm0
mov ecx, dword [esp + 0x54]
pop edi
pop esi
xor ecx, esp
call fcn.100a046e
mov esp, ebp
pop ebp
ret