Function at 0x1005a960
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b629d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x38
push esi
push edi
mov eax, dword [0x100e7e80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dl, byte [ebx + 0xc]
mov eax, dword [esi + 0x35c]
mov byte [esi + 0x364], dl
test eax, eax
je 0x1005b088
mov ecx, dword [ebx + 8]
mov dword [esi + 0x360], ecx
test ecx, ecx
jne 0x1005a9ce
push ecx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x1005b088
test dl, dl
je 0x1005a9da
lea eax, [ecx + 0x35c]
jmp 0x1005a9e3
mov eax, dword [ecx]
push 1
mov eax, dword [eax + 0x20]
call eax
mov ecx, dword [esi + 0x35c]
test ecx, ecx
je 0x1005a9fd
cmp dword [eax + 0x14], 7
jbe 0x1005a9f5
mov eax, dword [eax]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp byte [esi + 0x364], 0
je 0x1005acf3
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
push 0x100cc844
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x48], xmm0
call fcn.10002390
mov dword [ebp - 4], 0
lea edx, [ebp - 0x48]
mov ecx, dword [esi + 0x360]
push edx
mov eax, dword [ecx]
call dword [eax + 0x7c]
mov ecx, dword [ebp - 0x34]
cmp ecx, 7
jbe 0x1005aa7e
mov edx, dword [ebp - 0x48]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1005aa74
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005b09e
push ecx
push edx
call fcn.10087edd
add esp, 8
movss xmm2, dword [esi + 0x198]
comiss xmm2, dword [0x100d30dc]
movss xmm0, dword [esi + 0x194]
jb 0x1005aacd
movss xmm1, dword [0x100d2f2c]
comiss xmm1, xmm2
jb 0x1005aacd
mov eax, dword [esi + 4]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x1005aab7
mov eax, dword [eax + 0xb7c]
jmp 0x1005aabd
mov eax, dword [eax + 0xb80]
call fcn.10017b90
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm1
movss dword [ebp - 0x14], xmm0
fld dword [ebp - 0x14]
push ecx
fstp dword [esp]
call fcn.100afe60
mov edi, dword [esi + 0x360]
add esp, 4
fstp dword [ebp - 0x1c]
movss xmm0, dword [edi + 0x178]
comiss xmm0, dword [0x100d30dc]
jb 0x1005ab31
movss xmm1, dword [0x100d2f2c]
comiss xmm1, xmm0
jb 0x1005ab31
mov eax, dword [edi + 4]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x1005ab1b
mov eax, dword [eax + 0xb80]
jmp 0x1005ab21
mov eax, dword [eax + 0xb7c]
call fcn.10017b90
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm1
movss dword [ebp - 0x14], xmm0
fld dword [ebp - 0x14]
push ecx
fstp dword [esp]
call fcn.100afe60
movss xmm0, dword [edi + 0x160]
add esp, 4
comiss xmm0, dword [0x100d30d8]
movss xmm1, dword [edi + 0x15c]
fstp dword [ebp - 0x20]
jb 0x1005ab87
movss xmm2, dword [0x100d2f28]
comiss xmm2, xmm0
jb 0x1005ab87
mov eax, dword [edi + 4]
movd xmm0, dword [eax + 0xb80]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x14], xmm0
jmp 0x1005ab8c
movss dword [ebp - 0x14], xmm1
fld dword [ebp - 0x14]
push ecx
fstp dword [esp]
call fcn.100afe60
movss xmm2, dword [edi + 0x198]
add esp, 4
comiss xmm2, dword [0x100d30dc]
movss xmm0, dword [edi + 0x194]
fstp dword [ebp - 0x18]
jb 0x1005abed
movss xmm1, dword [0x100d2f2c]
comiss xmm1, xmm2
jb 0x1005abed
mov eax, dword [edi + 4]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x1005abd7
mov eax, dword [eax + 0xb7c]
jmp 0x1005abdd
mov eax, dword [eax + 0xb80]
call fcn.10017b90
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm1
movss dword [ebp - 0x14], xmm0
fld dword [ebp - 0x14]
push ecx
fstp dword [esp]
call fcn.100afe60
movss xmm1, dword [esi + 0x198]
add esp, 4
comiss xmm1, dword [0x100d30dc]
fstp dword [ebp - 0x24]
jb 0x1005ac55
movss xmm0, dword [0x100d2f2c]
comiss xmm0, xmm1
jb 0x1005ac55
movss xmm0, dword [esi + 0x194]
xorps xmm1, xmm1
comiss xmm1, xmm0
mov eax, dword [esi + 4]
jbe 0x1005ac3d
mov eax, dword [eax + 0xb7c]
jmp 0x1005ac43
mov eax, dword [eax + 0xb80]
call fcn.10017b90
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm1
jmp 0x1005ac5d
movss xmm0, dword [esi + 0x194]
movss dword [ebp - 0x14], xmm0
fld dword [ebp - 0x14]
push ecx
fstp dword [esp]
call fcn.100afe60
movss xmm1, dword [edi + 0x140]
add esp, 4
comiss xmm1, dword [0x100d30d8]
fstp dword [ebp - 0x28]
jb 0x1005acab
movss xmm0, dword [0x100d2f28]
comiss xmm0, xmm1
jb 0x1005acab
mov eax, dword [edi + 4]
movd xmm0, dword [eax + 0xb7c]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x14], xmm0
jmp 0x1005acb0
movss dword [ebp - 0x14], xmm1
cvttss2si eax, dword [ebp - 0x1c]
push 0
movss xmm0, dword [ebp - 0x24]
subss xmm0, dword [ebp - 0x28]
fld dword [ebp - 0x14]
push eax
cvttss2si eax, dword [ebp - 0x20]
mulss xmm0, dword [0x100d2f1c]
push eax
addss xmm0, dword [ebp - 0x18]
cvttss2si eax, xmm0
push eax
push ecx
fstp dword [esp]
call fcn.100afe60
add esp, 4
call fcn.100adec0
jmp 0x1005b04c
movss xmm2, dword [esi + 0x198]
comiss xmm2, dword [0x100d30dc]
movss xmm0, dword [esi + 0x194]
jb 0x1005ad42
movss xmm1, dword [0x100d2f2c]
comiss xmm1, xmm2
jb 0x1005ad42
mov eax, dword [esi + 4]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x1005ad2c
mov eax, dword [eax + 0xb7c]
jmp 0x1005ad32
mov eax, dword [eax + 0xb80]
call fcn.10017b90
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm1
movss dword [ebp - 0x14], xmm0
fld dword [ebp - 0x14]
push ecx
fstp dword [esp]
call fcn.100afe60
movss xmm0, dword [esi + 0x178]
add esp, 4
comiss xmm0, dword [0x100d30dc]
fstp dword [ebp - 0x18]
jb 0x1005ada0
movss xmm1, dword [0x100d2f2c]
comiss xmm1, xmm0
jb 0x1005ada0
mov eax, dword [esi + 4]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x1005ad8a
mov eax, dword [eax + 0xb80]
jmp 0x1005ad90
mov eax, dword [eax + 0xb7c]
call fcn.10017b90
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm1
movss dword [ebp - 0x14], xmm0
fld dword [ebp - 0x14]
push ecx
fstp dword [esp]
call fcn.100afe60
mov edi, dword [esi + 0x360]
add esp, 4
fstp dword [ebp - 0x28]
movss xmm0, dword [edi + 0x160]
comiss xmm0, dword [0x100d30d8]
movss xmm1, dword [edi + 0x15c]
jb 0x1005adfc
movss xmm2, dword [0x100d2f28]
comiss xmm2, xmm0
jb 0x1005adfc
mov eax, dword [edi + 4]
movd xmm0, dword [eax + 0xb80]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x14], xmm0
jmp 0x1005ae01
movss dword [ebp - 0x14], xmm1
fld dword [ebp - 0x14]
push ecx
fstp dword [esp]
call fcn.100afe60
movss xmm2, dword [edi + 0x198]
add esp, 4
comiss xmm2, dword [0x100d30dc]
movss xmm1, dword [edi + 0x194]
fstp dword [ebp - 0x1c]
jb 0x1005ae6c
movss xmm0, dword [0x100d2f2c]
comiss xmm0, xmm2
jb 0x1005ae6c
mov eax, dword [edi + 4]
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x1005ae4c
mov eax, dword [eax + 0xb7c]
jmp 0x1005ae52
mov eax, dword [eax + 0xb80]
movaps xmm0, xmm1
call fcn.10017b90
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm1
movss dword [ebp - 0x14], xmm0
jmp 0x1005ae71
movss dword [ebp - 0x14], xmm1
fld dword [ebp - 0x14]
push ecx
fstp dword [esp]
call fcn.100afe60
movss xmm1, dword [esi + 0x198]
add esp, 4
comiss xmm1, dword [0x100d30dc]
fstp dword [ebp - 0x24]
jb 0x1005aed4
movss xmm0, dword [0x100d2f2c]
comiss xmm0, xmm1
jb 0x1005aed4
movss xmm0, dword [esi + 0x194]
xorps xmm1, xmm1
comiss xmm1, xmm0
mov eax, dword [esi + 4]
jbe 0x1005aebc
mov eax, dword [eax + 0xb7c]
jmp 0x1005aec2
mov eax, dword [eax + 0xb80]
call fcn.10017b90
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm1
jmp 0x1005aedc
movss xmm0, dword [esi + 0x194]
movss dword [ebp - 0x14], xmm0
fld dword [ebp - 0x14]
push ecx
fstp dword [esp]
call fcn.100afe60
movss xmm1, dword [edi + 0x140]
add esp, 4
comiss xmm1, dword [0x100d30d8]
fstp dword [ebp - 0x20]
jb 0x1005af2a
movss xmm0, dword [0x100d2f28]
comiss xmm0, xmm1
jb 0x1005af2a
mov eax, dword [edi + 4]
movd xmm0, dword [eax + 0xb7c]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x14], xmm0
jmp 0x1005af2f
movss dword [ebp - 0x14], xmm1
fld dword [ebp - 0x14]
push ecx
fstp dword [esp]
call fcn.100afe60
movss xmm0, dword [edi + 0x178]
add esp, 4
comiss xmm0, dword [0x100d30dc]
fstp dword [ebp - 0x30]
jb 0x1005af88
movss xmm1, dword [0x100d2f2c]
comiss xmm1, xmm0
jb 0x1005af88
mov eax, dword [edi + 4]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x1005af72
mov eax, dword [eax + 0xb80]
jmp 0x1005af78
mov eax, dword [eax + 0xb7c]
call fcn.10017b90
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm1
movss dword [ebp - 0x14], xmm0
fld dword [ebp - 0x14]
push ecx
fstp dword [esp]
call fcn.100afe60
movss xmm0, dword [esi + 0x178]
add esp, 4
comiss xmm0, dword [0x100d30dc]
fstp dword [ebp - 0x2c]
jb 0x1005afe6
movss xmm1, dword [0x100d2f2c]
comiss xmm1, xmm0
jb 0x1005afe6
mov eax, dword [esi + 4]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x1005afd0
mov eax, dword [eax + 0xb80]
jmp 0x1005afd6
mov eax, dword [eax + 0xb7c]
call fcn.10017b90
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm1
cvttss2si eax, dword [ebp - 0x18]
push 0
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [ebp - 0x24]
subss xmm0, dword [ebp - 0x20]
fld dword [ebp - 0x14]
push eax
cvttss2si eax, dword [ebp - 0x28]
mulss xmm0, dword [0x100d2f1c]
push eax
addss xmm0, dword [ebp - 0x1c]
cvttss2si eax, xmm0
push eax
push ecx
fstp dword [esp]
call fcn.100afe60
movss xmm0, dword [ebp - 0x2c]
add esp, 4
fstp dword [ebp - 0x18]
subss xmm0, dword [ebp - 0x18]
cvtps2pd xmm1, xmm0
movss xmm0, dword [ebp - 0x30]
mulsd xmm1, qword [0x100d2f50]
cvtps2pd xmm0, xmm0
addsd xmm1, xmm0
cvttsd2si eax, xmm1
push eax
push dword [esi + 0x35c]
call dword [sym.imp.USER32.dll_MoveWindow]
push 5
push dword [esi + 0x35c]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xffffffffffffffff
push 0
push 0xb1
push dword [esi + 0x35c]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [esi + 0x35c]
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.1008d13f
int3