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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x38
push esi
push edi
mov edi, dword [0x1015d8a4]
mov edx, edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], edx
cmp dword [edx + 0x3e68], 0
je 0x1005b8b7
movss xmm3, dword [edx + 0x3e78]
subss xmm3, dword [edx + 0x18]
movss xmm1, dword [0x1013db1c]
movss dword [edx + 0x3e78], xmm3
movss xmm0, dword [edx + 0xdb8]
comiss xmm0, xmm1
movss xmm2, dword [edx + 0xdbc]
jb 0x1005b83c
comiss xmm2, xmm1
jb 0x1005b83c
subss xmm2, dword [edx + 0x3e70]
movaps xmm1, xmm0
movss xmm0, dword [edx + 0x58]
subss xmm1, dword [edx + 0x3e6c]
mulss xmm0, xmm0
mulss xmm2, xmm2
mulss xmm1, xmm1
addss xmm2, xmm1
comiss xmm2, xmm0
ja 0x1005b844
xorps xmm4, xmm4
comiss xmm4, xmm3
jb 0x1005b8ba
mov esi, edi
mov dword [edx + 0x3e78], 0
test byte [esi + 0x5afc], 0x40
je 0x1005b877
push str.NULL
push str._io__LockWheelingWindow_____s__n
call fcn.10063790
mov edi, dword [0x1015d8a4]
add esp, 8
mov dword [esp + 0x18], edi
mov edx, esi
mov eax, dword [esi + 0xdb8]
mov ecx, dword [esi + 0xdbc]
mov dword [edx + 0x3e68], 0
mov dword [esi + 0x3e6c], eax
mov dword [esi + 0x3e70], ecx
mov dword [esi + 0x3e74], 0xffffffff
mov dword [esi + 0x3e84], 0
mov dword [esi + 0x3e88], 0
xorps xmm4, xmm4
cmp dword [edi + 0x4528], 0xffffffff
je 0x1005b8c8
xorps xmm6, xmm6
jmp 0x1005b8d0
movss xmm6, dword [edx + 0xdcc]
cmp dword [edi + 0x4534], 0xffffffff
je 0x1005b8de
xorps xmm5, xmm5
jmp 0x1005b8e6
movss xmm5, dword [edx + 0xdc8]
mov esi, dword [edx + 0x3e68]
test esi, esi
je 0x1005b8f8
mov eax, esi
mov dword [esp + 0x14], eax
jmp 0x1005b90a
mov eax, dword [edx + 0x3e5c]
mov dword [esp + 0x14], eax
test eax, eax
je 0x1005bf6d
cmp byte [eax + 0xad], 0
jne 0x1005bf6d
ucomiss xmm5, xmm4
lahf
test ah, 0x44
jnp 0x1005bacb
cmp byte [edx + 0xdd4], 0
je 0x1005bad8
cmp byte [edx + 0x34], 0
je 0x1005bacb
andps xmm5, xmmword [0x1013ea90]
mulss xmm5, dword [0x1013d7a4]
mov esi, dword [esp + 0x14]
addss xmm5, dword [edi + 0x3e78]
minss xmm5, dword [0x1013d7a4]
movss dword [edi + 0x3e78], xmm5
cmp dword [edi + 0x3e68], esi
je 0x1005b9a9
test byte [edi + 0x5afc], 0x40
je 0x1005b98b
push dword [esi + 4]
push str._io__LockWheelingWindow_____s__n
call fcn.10063790
mov edx, dword [esp + 0x18]
add esp, 8
mov eax, dword [edi + 0xdb8]
mov ecx, dword [edi + 0xdbc]
mov dword [edi + 0x3e68], esi
mov dword [edi + 0x3e6c], eax
mov dword [edi + 0x3e70], ecx
movss xmm1, dword [edx + 0xdc8]
mulss xmm1, dword [0x1013d700]
movss xmm2, dword [esi + 0x25c]
movss xmm0, dword [0x1013d78c]
addss xmm1, xmm2
comiss xmm0, xmm1
ja 0x1005b9dd
movaps xmm0, xmm1
minss xmm0, dword [0x1013d890]
movaps xmm7, xmm0
movss dword [esi + 0x25c], xmm0
divss xmm7, xmm2
cmp esi, dword [esi + 0x300]
jne 0x1005bf6d
movss xmm5, dword [0x1013d7f0]
mov ecx, esi
movss xmm0, dword [edx + 0xdb8]
subss xmm5, xmm7
movss xmm1, dword [esi + 0x1c]
subss xmm0, dword [esi + 0x14]
push 0
mulss xmm1, xmm5
mulss xmm1, xmm0
movss xmm0, dword [esi + 0x20]
mulss xmm0, xmm5
divss xmm1, dword [esi + 0x1c]
addss xmm1, dword [esi + 0x14]
movss dword [esp + 0x2c], xmm1
movss xmm1, dword [edx + 0xdbc]
lea edx, [esp + 0x2c]
subss xmm1, dword [esi + 0x18]
mulss xmm1, xmm0
divss xmm1, dword [esi + 0x20]
addss xmm1, dword [esi + 0x18]
movss dword [esp + 0x30], xmm1
call fcn.1005a170
movaps xmm0, xmm7
add esp, 4
mulss xmm0, dword [esi + 0x1c]
cvttss2si eax, xmm0
movaps xmm0, xmm7
mulss xmm0, dword [esi + 0x20]
movd xmm1, eax
cvttss2si eax, xmm0
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 0x1c], xmm1
movss dword [esi + 0x20], xmm0
movaps xmm0, xmm7
mulss xmm0, dword [esi + 0x24]
mulss xmm7, dword [esi + 0x28]
cvttss2si eax, xmm0
movd xmm1, eax
cvttss2si eax, xmm7
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 0x24], xmm1
movss dword [esi + 0x28], xmm0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [edx + 0xdd4], 0
jne 0x1005bf6d
cmp byte [edx + 0x3725], 0
je 0x1005bae7
movaps xmm6, xmm5
xorps xmm5, xmm5
movss xmm2, dword [edx + 0x3e84]
movaps xmm1, xmm6
movss xmm3, dword [0x1013d6e0]
movaps xmm0, xmm2
movss xmm7, dword [0x1013ea90]
mulss xmm0, xmm3
andps xmm1, xmm7
mulss xmm1, xmm3
subss xmm2, xmm0
addss xmm1, xmm2
movss xmm2, dword [edx + 0x3e88]
movaps xmm0, xmm2
mulss xmm0, xmm3
movss dword [edx + 0x3e84], xmm1
movaps xmm1, xmm5
andps xmm1, xmm7
subss xmm2, xmm0
mulss xmm1, xmm3
addss xmm1, xmm2
movss dword [edx + 0x3e88], xmm1
addss xmm6, dword [edx + 0x3e7c]
addss xmm5, dword [edx + 0x3e80]
mov dword [edx + 0x3e7c], 0
mov dword [edx + 0x3e80], 0
ucomiss xmm6, xmm4
movss dword [esp + 0x28], xmm6
movss dword [esp + 0x38], xmm6
lahf
movss dword [esp + 0x1c], xmm5
movss dword [esp + 0x3c], xmm5
test ah, 0x44
jp 0x1005bb9b
ucomiss xmm5, xmm4
lahf
test ah, 0x44
jnp 0x1005bf6d
test esi, esi
jne 0x1005bcd8
mov dword [esp + 0x30], esi
mov eax, 0x80
mov dword [esp + 0x34], esi
lea esi, [esp + 0x30]
mov ecx, esi
mov dword [esp + 0x14], 2
sub eax, ecx
mov dword [esp + 0x24], eax
add eax, esi
mov dword [esp + 0x20], eax
movss xmm0, dword [esp + eax - 0x48]
ucomiss xmm0, xmm4
lahf
test ah, 0x44
jnp 0x1005bc2a
mov ecx, dword [edi + 0x3e5c]
mov dword [esi], ecx
mov edx, dword [ecx + 0xc]
test edx, 0x1000000
je 0x1005bc2a
mov edi, dword [esp + 0x20]
movss xmm0, dword [edi + ecx]
ucomiss xmm0, xmm4
lahf
test ah, 0x44
jnp 0x1005bc02
mov al, 1
jmp 0x1005bc04
xor al, al
and edx, 0x210
test al, al
je 0x1005bc13
cmp edx, 0x10
jne 0x1005bc26
mov ecx, dword [ecx + 0x2f8]
mov dword [esi], ecx
mov edx, dword [ecx + 0xc]
test edx, 0x1000000
jne 0x1005bbf0
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
add esi, 4
sub dword [esp + 0x14], 1
jne 0x1005bbc4
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
test ecx, ecx
jne 0x1005bc52
test esi, esi
jne 0x1005bcd4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp ecx, esi
je 0x1005bcc6
test ecx, ecx
je 0x1005bcc6
test esi, esi
je 0x1005bcca
mov eax, dword [edi + 0x3e74]
cmp eax, 0xffffffff
jne 0x1005bc75
mov eax, dword [edi + 0x3dd8]
mov dword [edi + 0x3e74], eax
cmp eax, dword [edi + 0x3dd8]
jne 0x1005bc8f
ucomiss xmm6, xmm4
lahf
test ah, 0x44
jnp 0x1005bc8f
ucomiss xmm5, xmm4
lahf
test ah, 0x44
jp 0x1005bca8
movss xmm1, dword [edi + 0x3e84]
movss xmm0, dword [edi + 0x3e88]
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x1005bcbe
movss dword [edi + 0x3e7c], xmm6
movss dword [edi + 0x3e80], xmm5
pop edi
pop esi
mov esp, ebp
pop ebp
ret
comiss xmm1, xmm0
cmova esi, ecx
jmp 0x1005bccc
test esi, esi
jne 0x1005bcd4
mov esi, ecx
test esi, esi
je 0x1005bf6d
mov edx, dword [esp + 0x10]
test dword [esi + 0xc], 0x210
jne 0x1005bf6d
ucomiss xmm6, xmm4
lahf
test ah, 0x44
jnp 0x1005bd03
movss xmm0, dword [esi + 0x80]
ucomiss xmm0, xmm4
lahf
test ah, 0x44
jnp 0x1005bd03
mov al, 1
jmp 0x1005bd05
xor al, al
ucomiss xmm5, xmm4
mov byte [esp + 0x10], al
lahf
test ah, 0x44
jnp 0x1005bd27
movss xmm0, dword [esi + 0x84]
ucomiss xmm0, xmm4
lahf
test ah, 0x44
jnp 0x1005bd27
mov cl, 1
jmp 0x1005bd29
xor cl, cl
movss xmm1, dword [0x1013d7a4]
movss xmm2, dword [0x1013d7a0]
mov byte [esp + 0x11], cl
mov byte [esp + 0xf], cl
test al, al
je 0x1005be7f
test cl, cl
je 0x1005bd72
movss xmm0, dword [edx + 0x3e84]
xor eax, eax
comiss xmm0, dword [edx + 0x3e88]
seta al
mov byte [esp + eax + 0x10], 0
mov al, byte [esp + 0x11]
mov byte [esp + 0xf], al
mov al, byte [esp + 0x10]
test al, al
je 0x1005be7f
movaps xmm0, xmm6
mov edx, edi
andps xmm0, xmm7
mov dword [esp + 0x24], edx
mulss xmm0, xmm1
addss xmm0, dword [edx + 0x3e78]
minss xmm0, xmm1
movss dword [edx + 0x3e78], xmm0
cmp dword [edx + 0x3e68], esi
je 0x1005be03
test byte [edx + 0x5afc], 0x40
je 0x1005bde5
push dword [esi + 4]
push str._io__LockWheelingWindow_____s__n
call fcn.10063790
mov edi, dword [0x1015d8a4]
add esp, 8
movss xmm5, dword [esp + 0x1c]
movss xmm6, dword [esp + 0x28]
movss xmm2, dword [0x1013d7a0]
movss xmm7, dword [0x1013ea90]
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0xdb8]
mov ecx, dword [edx + 0xdbc]
mov dword [edx + 0x3e68], esi
mov dword [edx + 0x3e6c], eax
mov dword [edx + 0x3e70], ecx
mov eax, dword [esi]
movss xmm1, dword [esi + 0x1d8]
subss xmm1, dword [esi + 0x1d0]
movss xmm0, dword [eax + 0x3bc8]
mov eax, dword [esi + 0x2f8]
mulss xmm0, dword [esi + 0x25c]
mulss xmm1, xmm2
test eax, eax
je 0x1005be3b
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, xmm6
subss xmm0, xmm1
movss xmm1, dword [0x1013d7a4]
movss dword [esi + 0x88], xmm0
cmp byte [esp + 0xf], 0
je 0x1005bf6d
movaps xmm0, xmm5
andps xmm0, xmm7
mulss xmm0, xmm1
addss xmm0, dword [edi + 0x3e78]
minss xmm0, xmm1
movss dword [edi + 0x3e78], xmm0
cmp dword [edi + 0x3e68], esi
je 0x1005bef5
test byte [edi + 0x5afc], 0x40
je 0x1005bed7
push dword [esi + 4]
push str._io__LockWheelingWindow_____s__n
call fcn.10063790
movss xmm5, dword [esp + 0x24]
add esp, 8
movss xmm2, dword [0x1013d7a0]
mov eax, dword [edi + 0xdb8]
mov ecx, dword [edi + 0xdbc]
mov dword [edi + 0x3e68], esi
mov dword [edi + 0x3e6c], eax
mov dword [edi + 0x3e70], ecx
mov eax, dword [esi]
movss xmm1, dword [esi + 0x1dc]
subss xmm1, dword [esi + 0x1d4]
movss xmm0, dword [eax + 0x3bc8]
mov eax, dword [esi + 0x2f8]
mulss xmm0, dword [esi + 0x25c]
mulss xmm1, xmm2
test eax, eax
je 0x1005bf2d
mulss xmm0, dword [eax + 0x25c]
mulss xmm0, dword [0x1013d8e0]
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, xmm5
subss xmm0, xmm1
movss dword [esi + 0x8c], xmm0
pop edi
pop esi
mov esp, ebp
pop ebp
ret