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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x38
mov eax, dword [0x4b7080]
xor eax, esp
mov dword [esp + 0x34], eax
push esi
push edi
mov edi, dword [0x4be710]
mov esi, edi
mov dword [esp + 0x24], edi
mov dword [esp + 0xc], esi
cmp dword [esi + 0x3e58], 0
je 0x413f6c
movss xmm3, dword [esi + 0x3e68]
subss xmm3, dword [esi + 0x18]
movss xmm1, dword [0x4a9190]
movss dword [esi + 0x3e68], xmm3
movss xmm0, dword [esi + 0xdc0]
comiss xmm0, xmm1
movss xmm2, dword [esi + 0xdc4]
jb 0x413ef1
comiss xmm2, xmm1
jb 0x413ef1
movss xmm1, dword [esi + 0xdc4]
movaps xmm2, xmm0
subss xmm1, dword [esi + 0x3e60]
subss xmm2, dword [esi + 0x3e5c]
movss xmm0, dword [esi + 0x30]
mulss xmm0, xmm0
mulss xmm1, xmm1
mulss xmm2, xmm2
addss xmm1, xmm2
comiss xmm1, xmm0
xorps xmm0, xmm0
jbe 0x413ef4
mov dword [esi + 0x3e68], 0
xorps xmm3, xmm3
jmp 0x413ef4
xorps xmm0, xmm0
comiss xmm0, xmm3
jb 0x413f6c
mov edx, edi
mov dword [esi + 0x3e68], 0
test byte [edx + 0x5ac0], 0x20
je 0x413f2c
push str.NULL
push str.LockWheelingWindow_____s__n
call fcn.0041c330
mov edi, dword [0x4be710]
add esp, 8
mov dword [esp + 0x24], edi
mov edx, esi
mov eax, dword [edx + 0xdc0]
mov ecx, dword [edx + 0xdc4]
mov dword [esi + 0x3e58], 0
mov dword [edx + 0x3e5c], eax
mov dword [edx + 0x3e60], ecx
mov dword [edx + 0x3e64], 0xffffffff
mov dword [edx + 0x3e74], 0
mov dword [edx + 0x3e78], 0
mov edx, 0x286
mov ecx, edi
call fcn.00406310
xorps xmm4, xmm4
cmp dword [eax], 0xffffffff
je 0x413f85
xorps xmm6, xmm6
jmp 0x413f8d
movss xmm6, dword [esi + 0xdd4]
mov edx, 0x287
mov ecx, edi
call fcn.00406310
mov edx, esi
cmp dword [eax], 0xffffffff
je 0x413fa5
xorps xmm5, xmm5
jmp 0x413fad
movss xmm5, dword [edx + 0xdd0]
mov esi, dword [edx + 0x3e58]
test esi, esi
je 0x413fbf
mov eax, esi
mov dword [esp + 0x10], eax
jmp 0x413fd1
mov eax, dword [edx + 0x3e4c]
mov dword [esp + 0x10], eax
test eax, eax
je 0x414663
cmp byte [eax + 0xad], 0
jne 0x414663
ucomiss xmm5, xmm4
lahf
test ah, 0x44
jnp 0x41419e
cmp byte [edx + 0xddc], 0
je 0x4141ab
cmp byte [edx + 0x50], 0
je 0x41419e
andps xmm5, xmmword [0x4a94a0]
mulss xmm5, dword [0x4a8e68]
mov esi, dword [esp + 0x10]
addss xmm5, dword [edi + 0x3e68]
minss xmm5, dword [0x4a8e68]
movss dword [edi + 0x3e68], xmm5
cmp dword [edi + 0x3e58], esi
je 0x414070
test byte [edi + 0x5ac0], 0x20
je 0x414052
push dword [esi + 4]
push str.LockWheelingWindow_____s__n
call fcn.0041c330
mov edx, dword [esp + 0x14]
add esp, 8
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
movss xmm1, dword [edx + 0xdd0]
mulss xmm1, dword [0x4a8e20]
movss xmm2, dword [esi + 0x25c]
movss xmm0, dword [0x4a8e54]
addss xmm1, xmm2
comiss xmm0, xmm1
ja 0x4140a5
movss xmm0, dword [0x4a8ec0]
minss xmm0, xmm1
movaps xmm7, xmm0
movss dword [esi + 0x25c], xmm0
divss xmm7, xmm2
cmp esi, dword [esi + 0x300]
jne 0x414663
movss xmm5, dword [0x4a8e88]
mov ecx, esi
movss xmm0, dword [edx + 0xdc0]
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 + 0xdc4]
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.00412880
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 ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.00492363
mov esp, ebp
pop ebp
ret
cmp byte [edx + 0xddc], 0
jne 0x414663
cmp byte [edx + 0x372d], 0
je 0x4141ba
movaps xmm6, xmm5
xorps xmm5, xmm5
movss xmm2, dword [edx + 0x3e74]
movaps xmm1, xmm6
movss xmm3, dword [0x4a90d0]
movaps xmm0, xmm2
movss xmm7, dword [0x4a94a0]
divss xmm0, xmm3
andps xmm1, xmm7
divss xmm1, xmm3
subss xmm2, xmm0
addss xmm1, xmm2
movss xmm2, dword [edx + 0x3e78]
movaps xmm0, xmm2
divss xmm0, xmm3
movss dword [edx + 0x3e74], xmm1
movaps xmm1, xmm5
andps xmm1, xmm7
subss xmm2, xmm0
divss xmm1, xmm3
addss xmm1, xmm2
movss dword [edx + 0x3e78], xmm1
addss xmm6, dword [edx + 0x3e6c]
addss xmm5, dword [edx + 0x3e70]
mov dword [edx + 0x3e6c], 0
mov dword [edx + 0x3e70], 0
ucomiss xmm6, xmm4
movss dword [esp + 0x28], xmm6
movss dword [esp + 0x34], xmm6
lahf
movss dword [esp + 0x14], xmm5
movss dword [esp + 0x38], xmm5
test ah, 0x44
jp 0x41426e
ucomiss xmm5, xmm4
lahf
test ah, 0x44
jnp 0x414663
test esi, esi
jne 0x4143ce
mov dword [esp + 0x1c], esi
mov eax, 0x80
mov dword [esp + 0x20], esi
lea esi, [esp + 0x1c]
mov ecx, esi
mov dword [esp + 0x10], 2
sub eax, ecx
mov dword [esp + 0x18], eax
nop word [eax + eax]
add eax, esi
mov dword [esp + 0x30], eax
movss xmm0, dword [esp + eax - 0x4c]
ucomiss xmm0, xmm4
lahf
test ah, 0x44
jnp 0x41430a
mov ecx, dword [edi + 0x3e4c]
mov dword [esi], ecx
mov edx, dword [ecx + 0xc]
test edx, 0x1000000
je 0x41430a
mov edi, dword [esp + 0x30]
nop dword [eax]
movss xmm0, dword [ecx + edi]
ucomiss xmm0, xmm4
lahf
test ah, 0x44
jnp 0x4142e2
mov al, 1
jmp 0x4142e4
xor al, al
and edx, 0x210
test al, al
je 0x4142f3
cmp edx, 0x10
jne 0x414306
mov ecx, dword [ecx + 0x2f8]
mov dword [esi], ecx
mov edx, dword [ecx + 0xc]
test edx, 0x1000000
jne 0x4142d0
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
add esi, 4
sub dword [esp + 0x10], 1
jne 0x4142a0
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
test ecx, ecx
jne 0x41433d
test esi, esi
jne 0x4143ca
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.00492363
mov esp, ebp
pop ebp
ret
cmp ecx, esi
je 0x4143bc
test ecx, ecx
je 0x4143bc
test esi, esi
je 0x4143c0
mov eax, dword [edi + 0x3e64]
cmp eax, 0xffffffff
jne 0x414360
mov eax, dword [edi + 0x3de8]
mov dword [edi + 0x3e64], eax
cmp eax, dword [edi + 0x3de8]
jne 0x41437a
ucomiss xmm6, xmm4
lahf
test ah, 0x44
jnp 0x41437a
ucomiss xmm5, xmm4
lahf
test ah, 0x44
jp 0x414393
movss xmm1, dword [edi + 0x3e74]
movss xmm0, dword [edi + 0x3e78]
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x4143b4
movss dword [edi + 0x3e6c], xmm6
movss dword [edi + 0x3e70], xmm5
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.00492363
mov esp, ebp
pop ebp
ret
comiss xmm1, xmm0
cmova esi, ecx
jmp 0x4143c2
test esi, esi
jne 0x4143ca
mov esi, ecx
test esi, esi
je 0x414663
mov edx, dword [esp + 0xc]
test dword [esi + 0xc], 0x210
jne 0x414663
ucomiss xmm6, xmm4
lahf
test ah, 0x44
jnp 0x4143f9
movss xmm0, dword [esi + 0x80]
ucomiss xmm0, xmm4
lahf
test ah, 0x44
jnp 0x4143f9
mov al, 1
jmp 0x4143fb
xor al, al
ucomiss xmm5, xmm4
mov byte [esp + 0xc], al
lahf
test ah, 0x44
jnp 0x41441d
movss xmm0, dword [esi + 0x84]
ucomiss xmm0, xmm4
lahf
test ah, 0x44
jnp 0x41441d
mov cl, 1
jmp 0x41441f
xor cl, cl
movss xmm1, dword [0x4a8e68]
movss xmm2, dword [0x4a8e64]
mov byte [esp + 0xd], cl
mov byte [esp + 0xb], cl
test al, al
je 0x414575
test cl, cl
je 0x414468
movss xmm0, dword [edx + 0x3e74]
xor eax, eax
comiss xmm0, dword [edx + 0x3e78]
seta al
mov byte [esp + eax + 0xc], 0
mov al, byte [esp + 0xd]
mov byte [esp + 0xb], al
mov al, byte [esp + 0xc]
test al, al
je 0x414575
movaps xmm0, xmm6
mov edx, edi
andps xmm0, xmm7
mov dword [esp + 0x18], edx
mulss xmm0, xmm1
addss xmm0, dword [edx + 0x3e68]
minss xmm0, xmm1
movss dword [edx + 0x3e68], xmm0
cmp dword [edx + 0x3e58], esi
je 0x4144f9
test byte [edx + 0x5ac0], 0x20
je 0x4144db
push dword [esi + 4]
push str.LockWheelingWindow_____s__n
call fcn.0041c330
mov edi, dword [0x4be710]
add esp, 8
movss xmm5, dword [esp + 0x14]
movss xmm6, dword [esp + 0x28]
movss xmm2, dword [0x4a8e64]
movss xmm7, dword [0x4a94a0]
mov edx, dword [esp + 0x18]
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 + 0x1d8]
subss xmm1, dword [esi + 0x1d0]
movss xmm0, dword [eax + 0x3bd8]
mov eax, dword [esi + 0x2f8]
mulss xmm0, dword [esi + 0x25c]
mulss xmm1, xmm2
test eax, eax
je 0x414531
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 [0x4a8e68]
movss dword [esi + 0x88], xmm0
cmp byte [esp + 0xb], 0
je 0x414663
movaps xmm0, xmm5
andps xmm0, xmm7
mulss xmm0, xmm1
addss xmm0, dword [edi + 0x3e68]
minss xmm0, xmm1
movss dword [edi + 0x3e68], xmm0
cmp dword [edi + 0x3e58], esi
je 0x4145eb
test byte [edi + 0x5ac0], 0x20
je 0x4145cd
push dword [esi + 4]
push str.LockWheelingWindow_____s__n
call fcn.0041c330
movss xmm5, dword [esp + 0x1c]
add esp, 8
movss xmm2, dword [0x4a8e64]
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 + 0x1dc]
subss xmm1, dword [esi + 0x1d4]
movss xmm0, dword [eax + 0x3bd8]
mov eax, dword [esi + 0x2f8]
mulss xmm0, dword [esi + 0x25c]
mulss xmm1, xmm2
test eax, eax
je 0x414623
mulss xmm0, dword [eax + 0x25c]
mulss xmm0, dword [0x4a8fa8]
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
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
xor ecx, esp
call fcn.00492363
mov esp, ebp
pop ebp
ret