Function at 0x434690
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
cmp byte [0x4b4e23], 0
push ebx
push esi
push edi
jne 0x4346c6
mov ecx, dword [0x4b4e60]
mov eax, dword [0x4b507c]
add eax, ecx
mov byte [0x4b4e23], 1
add dword [0x4b4e58], ecx
mov dword [0x4b4d58], eax
mov dword [0x4b4e50], eax
cmp dword [0x4b50b8], 0
jne 0x4346dd
cmp dword [0x4b50c0], 0
je 0x4346dd
call fcn.00424700
mov ebx, dword [0x4b4ca8]
lea eax, [ebp - 0x38]
push eax
push dword [0x4b50d8]
xorps xmm0, xmm0
movups xmmword [ebp - 0x38], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x38]
movd xmm1, eax
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x34]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
lea eax, [ebp - 0x18]
cvtdq2ps xmm0, xmm0
push eax
movss dword [ebx + 0x10], xmm1
movss dword [ebx + 0x14], xmm0
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edi, dword [ebp - 0x18]
mov ecx, edi
sub ecx, dword [0x4b50e0]
mov esi, dword [ebp - 0x14]
mov edx, esi
sbb edx, dword [0x4b50e4]
call fcn.00479b80
mov edx, dword [0x4b50ec]
mov ecx, dword [0x4b50e8]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 8], xmm0
call fcn.00479b80
movss xmm1, dword [ebp - 8]
cvtsd2ss xmm0, xmm0
push 0x11
divss xmm1, xmm0
movss dword [ebx + 0x18], xmm1
mov dword [0x4b50e4], esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [0x4b50e0], edi
call esi
shr eax, 0xf
and al, 1
push 0x10
mov byte [ebx + 0xfc], al
call esi
shr eax, 0xf
and al, 1
push 0x12
mov byte [ebx + 0xfd], al
call esi
mov esi, dword [0x4b4ca8]
shr eax, 0xf
and al, 1
mov byte [ebx + 0xff], 0
mov byte [ebx + 0xfe], al
cmp byte [esi + 0x357], 0
je 0x434802
cvttss2si eax, dword [esi + 0xe4]
mov dword [ebp - 0x20], eax
cvttss2si eax, dword [esi + 0xe8]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push eax
push dword [0x4b50d8]
call dword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x434802
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_SetCursorPos]
mov dword [esi + 0xe4], 0xff7fffff
mov dword [esi + 0xe8], 0xff7fffff
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [0x4b50d8]
jne 0x434866
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x434866
lea eax, [ebp - 0xc]
push eax
push dword [0x4b50d8]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x434866
movd xmm0, dword [ebp - 0xc]
movd xmm1, dword [ebp - 8]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [esi + 0xe4], xmm0
movss dword [esi + 0xe8], xmm1
cmp byte [ebx + 0xb0], 0
je 0x434874
or eax, 0xffffffff
jmp 0x43487f
mov eax, dword [0x4b4ca8]
mov eax, dword [eax + 0x1e40]
cmp dword [0x4b20d0], eax
je 0x434891
mov dword [0x4b20d0], eax
call fcn.00424ad0
call fcn.00424c00
call fcn.00407be0
mov eax, dword [0x4b4db4]
push 0x4b4d40
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc0]
mov esi, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea eax, [ebp - 0x1c]
push eax
push 4
lea eax, [ebp - 0x14]
push eax
push dword [0x4b5070]
push dword [0x4b4e18]
call esi
cmp dword [ebp - 0x14], 0
jbe 0x434951
call fcn.00430320
lea eax, [ebp - 4]
push eax
push 4
lea eax, [ebp - 8]
push eax
push dword [0x4b5070]
push dword [0x4b4e18]
call esi
cmp dword [ebp - 8], 0
jbe 0x43494c
call fcn.0042a580
push dword [0x4b51e8]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, dword [0x4b50f4]
shr eax, 0xf
and al, 1
test ecx, ecx
jne 0x434933
cmp byte [0x4b4d1e], 1
jne 0x43494c
call fcn.0042fec0
push 0
push 0
push 0
push 0
test al, al
je 0x434944
push 2
jmp 0x434946
js 0x43494c
cmp byte [0x4b4d1e], 0
je 0x43494c
test al, al
je 0x43494c
jmp 0x43491e
push 4
call dword [sym.imp.USER32.dll_mouse_event]
call fcn.00432d80
cmp byte [0x4b50c9], 0
movss xmm1, dword [0x490d20]
je 0x435746
mov eax, dword [0x4b4d48]
movss xmm4, dword [0x490cec]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x491750]
mov eax, dword [0x4b4d4c]
cvtpd2ps xmm3, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
mulss xmm3, xmm4
addsd xmm0, qword [eax*8 + 0x491750]
mov eax, dword [0x4b4d00]
movss dword [ebp - 4], xmm3
cvtpd2ps xmm2, xmm0
mulss xmm2, xmm4
movss dword [ebp - 8], xmm2
test eax, eax
jne 0x434bf1
mov eax, dword [0x4b4ca8]
xorps xmm0, xmm0
movss xmm5, dword [eax + 0x1518]
comiss xmm0, xmm5
jbe 0x4349e1
xorps xmm1, xmm1
jmp 0x4349e5
minss xmm1, xmm5
mov eax, dword [eax + 0x1cfc]
movaps xmm0, xmm2
mulss xmm1, dword [0x490da8]
mov edx, 1
subss xmm0, dword [0x490d4c]
mov ecx, dword [eax]
addss xmm1, xmm4
movss dword [ebp - 0x28], xmm3
push ecx
mov dword [esp], 0x40000000
movss dword [ebp - 0x24], xmm0
movaps xmm0, xmm2
subss xmm0, dword [0x490d70]
cvttss2si eax, xmm1
movss dword [ebp - 0x30], xmm3
shl eax, 0x18
or eax, 0xff
movss dword [ebp - 0x2c], xmm0
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x30]
push eax
push str.Foreground
call fcn.00406c00
add esp, 4
mov ecx, eax
call fcn.0041f310
mov eax, dword [0x4b4ca8]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x1518]
comiss xmm0, xmm1
jbe 0x434a73
xorps xmm3, xmm3
jmp 0x434a7f
movss xmm3, dword [0x490d20]
minss xmm3, xmm1
mov eax, dword [eax + 0x1cfc]
mov edx, 1
mulss xmm3, dword [0x490da8]
movss xmm0, dword [ebp - 4]
mov ecx, dword [eax]
addss xmm3, dword [0x490cec]
subss xmm0, dword [0x490d4c]
movss xmm1, dword [ebp - 8]
push ecx
mov dword [esp], 0x40000000
cvttss2si eax, xmm3
movss dword [ebp - 0x30], xmm0
movss xmm0, dword [ebp - 4]
subss xmm0, dword [0x490d70]
shl eax, 0x18
or eax, 0xff
movss dword [ebp - 0x2c], xmm1
push eax
lea eax, [ebp - 0x30]
movss dword [ebp - 0x24], xmm1
push eax
lea eax, [ebp - 0x28]
movss dword [ebp - 0x28], xmm0
push eax
push str.Foreground
call fcn.00406c00
add esp, 4
mov ecx, eax
call fcn.0041f310
mov eax, dword [0x4b4ca8]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x1518]
comiss xmm0, xmm1
jbe 0x434b1a
xorps xmm3, xmm3
jmp 0x434b26
movss xmm3, dword [0x490d20]
minss xmm3, xmm1
mov eax, dword [eax + 0x1cfc]
mov edx, 1
mulss xmm3, dword [0x490da8]
movss xmm0, dword [ebp - 4]
mov ecx, dword [eax]
addss xmm3, dword [0x490cec]
addss xmm0, dword [0x490d4c]
movss xmm1, dword [ebp - 8]
push ecx
mov dword [esp], 0x40000000
cvttss2si eax, xmm3
movss dword [ebp - 0x30], xmm0
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x490d70]
shl eax, 0x18
or eax, 0xff
movss dword [ebp - 0x2c], xmm1
push eax
lea eax, [ebp - 0x30]
movss dword [ebp - 0x24], xmm1
push eax
lea eax, [ebp - 0x28]
movss dword [ebp - 0x28], xmm0
push eax
push str.Foreground
call fcn.00406c00
add esp, 4
mov ecx, eax
call fcn.0041f310
mov eax, dword [0x4b4ca8]
xorps xmm3, xmm3
movss xmm1, dword [eax + 0x1518]
comiss xmm3, xmm1
ja 0x434bc8
movss xmm3, dword [0x490d20]
minss xmm3, xmm1
mulss xmm3, dword [0x490da8]
mov eax, dword [eax + 0x1cfc]
addss xmm3, dword [0x490cec]
mov ecx, dword [eax]
cvttss2si eax, xmm3
shl eax, 0x18
or eax, 0xff
jmp 0x4356eb
cmp eax, 1
jne 0x434e24
mov eax, dword [0x4b4ca8]
xorps xmm0, xmm0
movss xmm5, dword [eax + 0x1518]
comiss xmm0, xmm5
jbe 0x434c14
xorps xmm1, xmm1
jmp 0x434c18
minss xmm1, xmm5
mov eax, dword [eax + 0x1cfc]
movaps xmm0, xmm2
mulss xmm1, dword [0x490da8]
mov edx, 1
subss xmm0, dword [0x490d4c]
mov ecx, dword [eax]
addss xmm1, xmm4
movss dword [ebp - 0x30], xmm3
push ecx
mov dword [esp], 0x40000000
movss dword [ebp - 0x2c], xmm0
movaps xmm0, xmm2
subss xmm0, dword [0x490d70]
cvttss2si eax, xmm1
movss dword [ebp - 0x28], xmm3
shl eax, 0x18
or eax, 0xf500
movss dword [ebp - 0x24], xmm0
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x28]
push eax
push str.Foreground
call fcn.00406c00
add esp, 4
mov ecx, eax
call fcn.0041f310
mov eax, dword [0x4b4ca8]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x1518]
comiss xmm0, xmm1
jbe 0x434ca6
xorps xmm3, xmm3
jmp 0x434cb2
movss xmm3, dword [0x490d20]
minss xmm3, xmm1
mov eax, dword [eax + 0x1cfc]
mov edx, 1
mulss xmm3, dword [0x490da8]
movss xmm0, dword [ebp - 4]
mov ecx, dword [eax]
addss xmm3, dword [0x490cec]
subss xmm0, dword [0x490d4c]
movss xmm1, dword [ebp - 8]
push ecx
mov dword [esp], 0x40000000
cvttss2si eax, xmm3
movss dword [ebp - 0x30], xmm0
movss xmm0, dword [ebp - 4]
subss xmm0, dword [0x490d70]
shl eax, 0x18
or eax, 0xf500
movss dword [ebp - 0x2c], xmm1
push eax
lea eax, [ebp - 0x30]
movss dword [ebp - 0x24], xmm1
push eax
lea eax, [ebp - 0x28]
movss dword [ebp - 0x28], xmm0
push eax
push str.Foreground
call fcn.00406c00
add esp, 4
mov ecx, eax
call fcn.0041f310
mov eax, dword [0x4b4ca8]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x1518]
comiss xmm0, xmm1
jbe 0x434d4d
xorps xmm3, xmm3
jmp 0x434d59
movss xmm3, dword [0x490d20]
minss xmm3, xmm1
mov eax, dword [eax + 0x1cfc]
mov edx, 1
mulss xmm3, dword [0x490da8]
movss xmm0, dword [ebp - 4]
mov ecx, dword [eax]
addss xmm3, dword [0x490cec]
addss xmm0, dword [0x490d4c]
movss xmm1, dword [ebp - 8]
push ecx
mov dword [esp], 0x40000000
cvttss2si eax, xmm3
movss dword [ebp - 0x30], xmm0
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x490d70]
shl eax, 0x18
or eax, 0xf500
movss dword [ebp - 0x2c], xmm1
push eax
lea eax, [ebp - 0x30]
movss dword [ebp - 0x24], xmm1
push eax
lea eax, [ebp - 0x28]
movss dword [ebp - 0x28], xmm0
push eax
push str.Foreground
call fcn.00406c00
add esp, 4
mov ecx, eax
call fcn.0041f310
mov eax, dword [0x4b4ca8]
xorps xmm3, xmm3
movss xmm1, dword [eax + 0x1518]
comiss xmm3, xmm1
ja 0x434dfb
movss xmm3, dword [0x490d20]
minss xmm3, xmm1
mulss xmm3, dword [0x490da8]
mov eax, dword [eax + 0x1cfc]
addss xmm3, dword [0x490cec]
mov ecx, dword [eax]
cvttss2si eax, xmm3
shl eax, 0x18
or eax, 0xf500
jmp 0x4356eb
cmp eax, 2
jne 0x435057
mov eax, dword [0x4b4ca8]
xorps xmm0, xmm0
movss xmm5, dword [eax + 0x1518]
comiss xmm0, xmm5
jbe 0x434e47
xorps xmm1, xmm1
jmp 0x434e4b
minss xmm1, xmm5
mov eax, dword [eax + 0x1cfc]
movaps xmm0, xmm2
mulss xmm1, dword [0x490da8]
mov edx, 1
subss xmm0, dword [0x490d4c]
mov ecx, dword [eax]
addss xmm1, xmm4
movss dword [ebp - 0x30], xmm3
push ecx
mov dword [esp], 0x40000000
movss dword [ebp - 0x2c], xmm0
movaps xmm0, xmm2
subss xmm0, dword [0x490d70]
cvttss2si eax, xmm1
movss dword [ebp - 0x28], xmm3
shl eax, 0x18
or eax, 0x99cb28
movss dword [ebp - 0x24], xmm0
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x28]
push eax
push str.Foreground
call fcn.00406c00
add esp, 4
mov ecx, eax
call fcn.0041f310
mov eax, dword [0x4b4ca8]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x1518]
comiss xmm0, xmm1
jbe 0x434ed9
xorps xmm3, xmm3
jmp 0x434ee5
movss xmm3, dword [0x490d20]
minss xmm3, xmm1
mov eax, dword [eax + 0x1cfc]
mov edx, 1
mulss xmm3, dword [0x490da8]
movss xmm0, dword [ebp - 4]
mov ecx, dword [eax]
addss xmm3, dword [0x490cec]
subss xmm0, dword [0x490d4c]
movss xmm1, dword [ebp - 8]
push ecx
mov dword [esp], 0x40000000
cvttss2si eax, xmm3
movss dword [ebp - 0x30], xmm0
movss xmm0, dword [ebp - 4]
subss xmm0, dword [0x490d70]
shl eax, 0x18
or eax, 0x99cb28
movss dword [ebp - 0x2c], xmm1
push eax
lea eax, [ebp - 0x30]
movss dword [ebp - 0x24], xmm1
push eax
lea eax, [ebp - 0x28]
movss dword [ebp - 0x28], xmm0
push eax
push str.Foreground
call fcn.00406c00
add esp, 4
mov ecx, eax
call fcn.0041f310
mov eax, dword [0x4b4ca8]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x1518]
comiss xmm0, xmm1
jbe 0x434f80
xorps xmm3, xmm3
jmp 0x434f8c
movss xmm3, dword [0x490d20]
minss xmm3, xmm1
mov eax, dword [eax + 0x1cfc]
mov edx, 1
mulss xmm3, dword [0x490da8]
movss xmm0, dword [ebp - 4]
mov ecx, dword [eax]
addss xmm3, dword [0x490cec]
addss xmm0, dword [0x490d4c]
movss xmm1, dword [ebp - 8]
push ecx
mov dword [esp], 0x40000000
cvttss2si eax, xmm3
movss dword [ebp - 0x30], xmm0
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x490d70]
shl eax, 0x18
or eax, 0x99cb28
movss dword [ebp - 0x2c], xmm1
push eax
lea eax, [ebp - 0x30]
movss dword [ebp - 0x24], xmm1
push eax
lea eax, [ebp - 0x28]
movss dword [ebp - 0x28], xmm0
push eax
push str.Foreground
call fcn.00406c00
add esp, 4
mov ecx, eax
call fcn.0041f310
mov eax, dword [0x4b4ca8]
xorps xmm3, xmm3
movss xmm1, dword [eax + 0x1518]
comiss xmm3, xmm1
ja 0x43502e
movss xmm3, dword [0x490d20]
minss xmm3, xmm1
mulss xmm3, dword [0x490da8]
mov eax, dword [eax + 0x1cfc]
addss xmm3, dword [0x490cec]
mov ecx, dword [eax]
cvttss2si eax, xmm3
shl eax, 0x18
or eax, 0x99cb28
jmp 0x4356eb
cmp eax, 3
jne 0x43528a
mov eax, dword [0x4b4ca8]
xorps xmm0, xmm0
movss xmm5, dword [eax + 0x1518]
comiss xmm0, xmm5
jbe 0x43507a
xorps xmm1, xmm1
jmp 0x43507e
minss xmm1, xmm5
mov eax, dword [eax + 0x1cfc]
movaps xmm0, xmm2
mulss xmm1, dword [0x490da8]
mov edx, 1
subss xmm0, dword [0x490d4c]
mov ecx, dword [eax]
addss xmm1, xmm4
movss dword [ebp - 0x30], xmm3
push ecx
mov dword [esp], 0x40000000
movss dword [ebp - 0x2c], xmm0
movaps xmm0, xmm2
subss xmm0, dword [0x490d70]
cvttss2si eax, xmm1
movss dword [ebp - 0x28], xmm3
shl eax, 0x18
or eax, 0xff04f6
movss dword [ebp - 0x24], xmm0
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x28]
push eax
push str.Foreground
call fcn.00406c00
add esp, 4
mov ecx, eax
call fcn.0041f310
mov eax, dword [0x4b4ca8]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x1518]
comiss xmm0, xmm1
jbe 0x43510c
xorps xmm3, xmm3
jmp 0x435118
movss xmm3, dword [0x490d20]
minss xmm3, xmm1
mov eax, dword [eax + 0x1cfc]
mov edx, 1
mulss xmm3, dword [0x490da8]
movss xmm0, dword [ebp - 4]
mov ecx, dword [eax]
addss xmm3, dword [0x490cec]
subss xmm0, dword [0x490d4c]
movss xmm1, dword [ebp - 8]
push ecx
mov dword [esp], 0x40000000
cvttss2si eax, xmm3
movss dword [ebp - 0x30], xmm0
movss xmm0, dword [ebp - 4]
subss xmm0, dword [0x490d70]
shl eax, 0x18
or eax, 0xff04f6
movss dword [ebp - 0x2c], xmm1
push eax
lea eax, [ebp - 0x30]
movss dword [ebp - 0x24], xmm1
push eax
lea eax, [ebp - 0x28]
movss dword [ebp - 0x28], xmm0
push eax
push str.Foreground
call fcn.00406c00
add esp, 4
mov ecx, eax
call fcn.0041f310
mov eax, dword [0x4b4ca8]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x1518]
comiss xmm0, xmm1
jbe 0x4351b3
xorps xmm3, xmm3
jmp 0x4351bf
movss xmm3, dword [0x490d20]
minss xmm3, xmm1
mov eax, dword [eax + 0x1cfc]
mov edx, 1
mulss xmm3, dword [0x490da8]
movss xmm0, dword [ebp - 4]
mov ecx, dword [eax]
addss xmm3, dword [0x490cec]
addss xmm0, dword [0x490d4c]
movss xmm1, dword [ebp - 8]
push ecx
mov dword [esp], 0x40000000
cvttss2si eax, xmm3
movss dword [ebp - 0x30], xmm0
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x490d70]
shl eax, 0x18
or eax, 0xff04f6
movss dword [ebp - 0x2c], xmm1
push eax
lea eax, [ebp - 0x30]
movss dword [ebp - 0x24], xmm1
push eax
lea eax, [ebp - 0x28]
movss dword [ebp - 0x28], xmm0
push eax
push str.Foreground
call fcn.00406c00
add esp, 4
mov ecx, eax
call fcn.0041f310
mov eax, dword [0x4b4ca8]
xorps xmm3, xmm3
movss xmm1, dword [eax + 0x1518]
comiss xmm3, xmm1
ja 0x435261
movss xmm3, dword [0x490d20]
minss xmm3, xmm1
mulss xmm3, dword [0x490da8]
mov eax, dword [eax + 0x1cfc]
addss xmm3, dword [0x490cec]
mov ecx, dword [eax]
cvttss2si eax, xmm3
shl eax, 0x18
or eax, 0xff04f6
jmp 0x4356eb
cmp eax, 4
jne 0x4354bd
mov eax, dword [0x4b4ca8]
xorps xmm0, xmm0
movss xmm5, dword [eax + 0x1518]
comiss xmm0, xmm5
jbe 0x4352ad
xorps xmm1, xmm1
jmp 0x4352b1
minss xmm1, xmm5
mov eax, dword [eax + 0x1cfc]
movaps xmm0, xmm2
mulss xmm1, dword [0x490da8]
mov edx, 1
subss xmm0, dword [0x490d4c]
mov ecx, dword [eax]
addss xmm1, xmm4
movss dword [ebp - 0x30], xmm3
push ecx
mov dword [esp], 0x40000000
movss dword [ebp - 0x2c], xmm0
movaps xmm0, xmm2
subss xmm0, dword [0x490d70]
cvttss2si eax, xmm1
movss dword [ebp - 0x28], xmm3
shl eax, 0x18
or eax, 0x53ff
movss dword [ebp - 0x24], xmm0
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x28]
push eax
push str.Foreground
call fcn.00406c00
add esp, 4
mov ecx, eax
call fcn.0041f310
mov eax, dword [0x4b4ca8]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x1518]
comiss xmm0, xmm1
jbe 0x43533f
xorps xmm3, xmm3
jmp 0x43534b
movss xmm3, dword [0x490d20]
minss xmm3, xmm1
mov eax, dword [eax + 0x1cfc]
mov edx, 1
mulss xmm3, dword [0x490da8]
movss xmm0, dword [ebp - 4]
mov ecx, dword [eax]
addss xmm3, dword [0x490cec]
subss xmm0, dword [0x490d4c]
movss xmm1, dword [ebp - 8]
push ecx
mov dword [esp], 0x40000000
cvttss2si eax, xmm3
movss dword [ebp - 0x30], xmm0
movss xmm0, dword [ebp - 4]
subss xmm0, dword [0x490d70]
shl eax, 0x18
or eax, 0x53ff
movss dword [ebp - 0x2c], xmm1
push eax
lea eax, [ebp - 0x30]
movss dword [ebp - 0x24], xmm1
push eax
lea eax, [ebp - 0x28]
movss dword [ebp - 0x28], xmm0
push eax
push str.Foreground
call fcn.00406c00
add esp, 4
mov ecx, eax
call fcn.0041f310
mov eax, dword [0x4b4ca8]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x1518]
comiss xmm0, xmm1
jbe 0x4353e6
xorps xmm3, xmm3
jmp 0x4353f2
movss xmm3, dword [0x490d20]
minss xmm3, xmm1
mov eax, dword [eax + 0x1cfc]
mov edx, 1
mulss xmm3, dword [0x490da8]
movss xmm0, dword [ebp - 4]
mov ecx, dword [eax]
addss xmm3, dword [0x490cec]
addss xmm0, dword [0x490d4c]
movss xmm1, dword [ebp - 8]
push ecx
mov dword [esp], 0x40000000
cvttss2si eax, xmm3
movss dword [ebp - 0x30], xmm0
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x490d70]
shl eax, 0x18
or eax, 0x53ff
movss dword [ebp - 0x2c], xmm1
push eax
lea eax, [ebp - 0x30]
movss dword [ebp - 0x24], xmm1
push eax
lea eax, [ebp - 0x28]
movss dword [ebp - 0x28], xmm0
push eax
push str.Foreground
call fcn.00406c00
add esp, 4
mov ecx, eax
call fcn.0041f310
mov eax, dword [0x4b4ca8]
xorps xmm3, xmm3
movss xmm1, dword [eax + 0x1518]
comiss xmm3, xmm1
ja 0x435494
movss xmm3, dword [0x490d20]
minss xmm3, xmm1
mulss xmm3, dword [0x490da8]
mov eax, dword [eax + 0x1cfc]
addss xmm3, dword [0x490cec]
mov ecx, dword [eax]
cvttss2si eax, xmm3
shl eax, 0x18
or eax, 0x53ff
jmp 0x4356eb
cmp eax, 5
jne 0x435746
mov eax, dword [0x4b4ca8]
xorps xmm0, xmm0
movss xmm5, dword [eax + 0x1518]
comiss xmm0, xmm5
jbe 0x4354e0
xorps xmm1, xmm1
jmp 0x4354e4
minss xmm1, xmm5
mov eax, dword [eax + 0x1cfc]
movaps xmm0, xmm2
mulss xmm1, dword [0x490da8]
mov edx, 1
subss xmm0, dword [0x490d4c]
mov ecx, dword [eax]
addss xmm1, xmm4
movss dword [ebp - 0x30], xmm3
push ecx
mov dword [esp], 0x40000000
movss dword [ebp - 0x2c], xmm0
movaps xmm0, xmm2
subss xmm0, dword [0x490d70]
cvttss2si eax, xmm1
movss dword [ebp - 0x28], xmm3
shl eax, 0x18
or eax, 0xffff
movss dword [ebp - 0x24], xmm0
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x28]
push eax
push str.Foreground
call fcn.00406c00
add esp, 4
mov ecx, eax
call fcn.0041f310
mov eax, dword [0x4b4ca8]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x1518]
comiss xmm0, xmm1
jbe 0x435572
xorps xmm3, xmm3
jmp 0x43557e
movss xmm3, dword [0x490d20]
minss xmm3, xmm1
mov eax, dword [eax + 0x1cfc]
mov edx, 1
mulss xmm3, dword [0x490da8]
movss xmm0, dword [ebp - 4]
mov ecx, dword [eax]
addss xmm3, dword [0x490cec]
subss xmm0, dword [0x490d4c]
movss xmm1, dword [ebp - 8]
push ecx
mov dword [esp], 0x40000000
cvttss2si eax, xmm3
movss dword [ebp - 0x30], xmm0
movss xmm0, dword [ebp - 4]
subss xmm0, dword [0x490d70]
shl eax, 0x18
or eax, 0xffff
movss dword [ebp - 0x2c], xmm1
push eax
lea eax, [ebp - 0x30]
movss dword [ebp - 0x24], xmm1
push eax
lea eax, [ebp - 0x28]
movss dword [ebp - 0x28], xmm0
push eax
push str.Foreground
call fcn.00406c00
add esp, 4
mov ecx, eax
call fcn.0041f310
mov eax, dword [0x4b4ca8]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x1518]
comiss xmm0, xmm1
jbe 0x435619
xorps xmm3, xmm3
jmp 0x435625
movss xmm3, dword [0x490d20]
minss xmm3, xmm1
mov eax, dword [eax + 0x1cfc]
mov edx, 1
mulss xmm3, dword [0x490da8]
movss xmm0, dword [ebp - 4]
mov ecx, dword [eax]
addss xmm3, dword [0x490cec]
addss xmm0, dword [0x490d4c]
movss xmm1, dword [ebp - 8]
push ecx
mov dword [esp], 0x40000000
cvttss2si eax, xmm3
movss dword [ebp - 0x30], xmm0
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x490d70]
shl eax, 0x18
or eax, 0xffff
movss dword [ebp - 0x2c], xmm1
push eax
lea eax, [ebp - 0x30]
movss dword [ebp - 0x24], xmm1
push eax
lea eax, [ebp - 0x28]
movss dword [ebp - 0x28], xmm0
push eax
push str.Foreground
call fcn.00406c00
add esp, 4
mov ecx, eax
call fcn.0041f310
mov eax, dword [0x4b4ca8]
xorps xmm3, xmm3
movss xmm1, dword [eax + 0x1518]
comiss xmm3, xmm1
ja 0x4356c7
movss xmm3, dword [0x490d20]
minss xmm3, xmm1
mulss xmm3, dword [0x490da8]
mov eax, dword [eax + 0x1cfc]
addss xmm3, dword [0x490cec]
mov ecx, dword [eax]
cvttss2si eax, xmm3
shl eax, 0x18
or eax, 0xffff
movss xmm1, dword [ebp - 8]
mov edx, 1
movss xmm2, dword [ebp - 4]
movaps xmm0, xmm1
addss xmm1, dword [0x490d70]
addss xmm0, dword [0x490d4c]
push ecx
mov dword [esp], 0x40000000
push eax
lea eax, [ebp - 0x30]
movss dword [ebp - 0x30], xmm2
push eax
lea eax, [ebp - 0x28]
movss dword [ebp - 0x28], xmm2
push eax
push str.Foreground
movss dword [ebp - 0x24], xmm1
movss dword [ebp - 0x2c], xmm0
call fcn.00406c00
add esp, 4
mov ecx, eax
call fcn.0041f310
cmp byte [0x49bb9e], 0
je 0x43576f
cmp byte [0x4b4d39], 0
jne 0x43578d
push 0x11
push dword [0x4b4e9c]
call dword [sym.imp.USER32.dll_SetWindowDisplayAffinity]
mov byte [0x4b4d39], 1
jmp 0x43578d
cmp byte [0x4b4d39], 1
jne 0x43578d
push 0
push dword [0x4b4e9c]
call dword [sym.imp.USER32.dll_SetWindowDisplayAffinity]
mov byte [0x4b4d39], 0
cmp byte [0x4b20cd], 0
je 0x43579b
call fcn.0042b140
call fcn.00409e20
mov eax, dword [0x4b4db4]
push 0
push 7
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x4b4db4]
push 0
push 0x1b
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x4b4db4]
push 0
push 0xae
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x4b4db4]
push 0
mov ecx, dword [eax]
push ecx
mov dword [esp], 0x3f800000
push 0
push 1
push 0
push 0
push eax
call dword [ecx + 0xac]
mov eax, dword [0x4b4db4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa4]
test eax, eax
js 0x43583a
call fcn.0040a130
mov eax, dword [0x4b4ca8]
mov eax, dword [eax + 0x1cfc]
mov ecx, dword [eax]
xor eax, eax
add ecx, 0x34
cmp byte [ecx], al
cmove ecx, eax
call fcn.00424270
mov eax, dword [0x4b4db4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa8]
mov eax, dword [0x4b4db4]
push 0
push 0
push 0
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x44]
cmp eax, 0x88760868
jne 0x435889
mov eax, dword [0x4b4db4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
cmp eax, 0x88760869
jne 0x435889
call fcn.00424a60
mov eax, dword [0x4b4db4]
push 0x4b4d5c
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
cmp dword [0x4b50c0], 0
je 0x435889
call fcn.00424700
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret