Function at 0x435270
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
cmp byte [0x4b5df3], 0
push ebx
push esi
push edi
jne 0x4352a6
mov ecx, dword [0x4b5e30]
mov eax, dword [0x4b6050]
add eax, ecx
mov byte [0x4b5df3], 1
add dword [0x4b5e28], ecx
mov dword [0x4b5d28], eax
mov dword [0x4b5e20], eax
cmp dword [0x4b608c], 0
jne 0x4352bd
cmp dword [0x4b6094], 0
je 0x4352bd
call fcn.00424690
mov ebx, dword [0x4b5c78]
lea eax, [ebp - 0x38]
push eax
push dword [0x4b60ac]
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 [0x4b60b0]
mov esi, dword [ebp - 0x14]
mov edx, esi
sbb edx, dword [0x4b60b4]
call fcn.00479fd0
mov edx, dword [0x4b60bc]
mov ecx, dword [0x4b60b8]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 8], xmm0
call fcn.00479fd0
movss xmm1, dword [ebp - 8]
cvtsd2ss xmm0, xmm0
push 0x11
divss xmm1, xmm0
movss dword [ebx + 0x18], xmm1
mov dword [0x4b60b4], esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [0x4b60b0], 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 [0x4b5c78]
shr eax, 0xf
and al, 1
mov byte [ebx + 0xff], 0
mov byte [ebx + 0xfe], al
cmp byte [esi + 0x357], 0
je 0x4353e2
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 [0x4b60ac]
call dword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x4353e2
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 [0x4b60ac]
jne 0x435446
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x435446
lea eax, [ebp - 0xc]
push eax
push dword [0x4b60ac]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x435446
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 0x435454
or eax, 0xffffffff
jmp 0x43545f
mov eax, dword [0x4b5c78]
mov eax, dword [eax + 0x1e40]
cmp dword [0x4b30d0], eax
je 0x435471
mov dword [0x4b30d0], eax
call fcn.00424a60
call fcn.00424b90
call fcn.00407ba0
mov eax, dword [0x4b5d84]
push 0x4b5d10
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc0]
lea eax, [ebp - 0x1c]
push eax
push 4
lea eax, [ebp - 0x14]
push eax
push dword [0x4b5fc4]
push dword [0x4b5de8]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
cmp dword [ebp - 0x14], 0
jbe 0x4354b5
call fcn.00430a40
cmp byte [0x4b609d], 0
movss xmm1, dword [0x491c7c]
je 0x4362aa
mov eax, dword [0x4b5d18]
movss xmm4, dword [0x491c48]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x492870]
mov eax, dword [0x4b5d1c]
cvtpd2ps xmm3, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
mulss xmm3, xmm4
addsd xmm0, qword [eax*8 + 0x492870]
mov eax, dword [0x4b5cd0]
movss dword [ebp - 4], xmm3
cvtpd2ps xmm2, xmm0
mulss xmm2, xmm4
movss dword [ebp - 8], xmm2
test eax, eax
jne 0x435755
mov eax, dword [0x4b5c78]
xorps xmm0, xmm0
movss xmm5, dword [eax + 0x1518]
comiss xmm0, xmm5
jbe 0x435545
xorps xmm1, xmm1
jmp 0x435549
minss xmm1, xmm5
mov eax, dword [eax + 0x1cfc]
movaps xmm0, xmm2
mulss xmm1, dword [0x491d08]
mov edx, 1
subss xmm0, dword [0x491cac]
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 [0x491cd0]
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.00406bc0
add esp, 4
mov ecx, eax
call fcn.0041f2c0
mov eax, dword [0x4b5c78]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x1518]
comiss xmm0, xmm1
jbe 0x4355d7
xorps xmm3, xmm3
jmp 0x4355e3
movss xmm3, dword [0x491c7c]
minss xmm3, xmm1
mov eax, dword [eax + 0x1cfc]
mov edx, 1
mulss xmm3, dword [0x491d08]
movss xmm0, dword [ebp - 4]
mov ecx, dword [eax]
addss xmm3, dword [0x491c48]
subss xmm0, dword [0x491cac]
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 [0x491cd0]
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.00406bc0
add esp, 4
mov ecx, eax
call fcn.0041f2c0
mov eax, dword [0x4b5c78]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x1518]
comiss xmm0, xmm1
jbe 0x43567e
xorps xmm3, xmm3
jmp 0x43568a
movss xmm3, dword [0x491c7c]
minss xmm3, xmm1
mov eax, dword [eax + 0x1cfc]
mov edx, 1
mulss xmm3, dword [0x491d08]
movss xmm0, dword [ebp - 4]
mov ecx, dword [eax]
addss xmm3, dword [0x491c48]
addss xmm0, dword [0x491cac]
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 [0x491cd0]
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.00406bc0
add esp, 4
mov ecx, eax
call fcn.0041f2c0
mov eax, dword [0x4b5c78]
xorps xmm3, xmm3
movss xmm1, dword [eax + 0x1518]
comiss xmm3, xmm1
ja 0x43572c
movss xmm3, dword [0x491c7c]
minss xmm3, xmm1
mulss xmm3, dword [0x491d08]
mov eax, dword [eax + 0x1cfc]
addss xmm3, dword [0x491c48]
mov ecx, dword [eax]
cvttss2si eax, xmm3
shl eax, 0x18
or eax, 0xff
jmp 0x43624f
cmp eax, 1
jne 0x435988
mov eax, dword [0x4b5c78]
xorps xmm0, xmm0
movss xmm5, dword [eax + 0x1518]
comiss xmm0, xmm5
jbe 0x435778
xorps xmm1, xmm1
jmp 0x43577c
minss xmm1, xmm5
mov eax, dword [eax + 0x1cfc]
movaps xmm0, xmm2
mulss xmm1, dword [0x491d08]
mov edx, 1
subss xmm0, dword [0x491cac]
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 [0x491cd0]
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.00406bc0
add esp, 4
mov ecx, eax
call fcn.0041f2c0
mov eax, dword [0x4b5c78]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x1518]
comiss xmm0, xmm1
jbe 0x43580a
xorps xmm3, xmm3
jmp 0x435816
movss xmm3, dword [0x491c7c]
minss xmm3, xmm1
mov eax, dword [eax + 0x1cfc]
mov edx, 1
mulss xmm3, dword [0x491d08]
movss xmm0, dword [ebp - 4]
mov ecx, dword [eax]
addss xmm3, dword [0x491c48]
subss xmm0, dword [0x491cac]
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 [0x491cd0]
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.00406bc0
add esp, 4
mov ecx, eax
call fcn.0041f2c0
mov eax, dword [0x4b5c78]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x1518]
comiss xmm0, xmm1
jbe 0x4358b1
xorps xmm3, xmm3
jmp 0x4358bd
movss xmm3, dword [0x491c7c]
minss xmm3, xmm1
mov eax, dword [eax + 0x1cfc]
mov edx, 1
mulss xmm3, dword [0x491d08]
movss xmm0, dword [ebp - 4]
mov ecx, dword [eax]
addss xmm3, dword [0x491c48]
addss xmm0, dword [0x491cac]
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 [0x491cd0]
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.00406bc0
add esp, 4
mov ecx, eax
call fcn.0041f2c0
mov eax, dword [0x4b5c78]
xorps xmm3, xmm3
movss xmm1, dword [eax + 0x1518]
comiss xmm3, xmm1
ja 0x43595f
movss xmm3, dword [0x491c7c]
minss xmm3, xmm1
mulss xmm3, dword [0x491d08]
mov eax, dword [eax + 0x1cfc]
addss xmm3, dword [0x491c48]
mov ecx, dword [eax]
cvttss2si eax, xmm3
shl eax, 0x18
or eax, 0xf500
jmp 0x43624f
cmp eax, 2
jne 0x435bbb
mov eax, dword [0x4b5c78]
xorps xmm0, xmm0
movss xmm5, dword [eax + 0x1518]
comiss xmm0, xmm5
jbe 0x4359ab
xorps xmm1, xmm1
jmp 0x4359af
minss xmm1, xmm5
mov eax, dword [eax + 0x1cfc]
movaps xmm0, xmm2
mulss xmm1, dword [0x491d08]
mov edx, 1
subss xmm0, dword [0x491cac]
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 [0x491cd0]
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.00406bc0
add esp, 4
mov ecx, eax
call fcn.0041f2c0
mov eax, dword [0x4b5c78]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x1518]
comiss xmm0, xmm1
jbe 0x435a3d
xorps xmm3, xmm3
jmp 0x435a49
movss xmm3, dword [0x491c7c]
minss xmm3, xmm1
mov eax, dword [eax + 0x1cfc]
mov edx, 1
mulss xmm3, dword [0x491d08]
movss xmm0, dword [ebp - 4]
mov ecx, dword [eax]
addss xmm3, dword [0x491c48]
subss xmm0, dword [0x491cac]
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 [0x491cd0]
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.00406bc0
add esp, 4
mov ecx, eax
call fcn.0041f2c0
mov eax, dword [0x4b5c78]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x1518]
comiss xmm0, xmm1
jbe 0x435ae4
xorps xmm3, xmm3
jmp 0x435af0
movss xmm3, dword [0x491c7c]
minss xmm3, xmm1
mov eax, dword [eax + 0x1cfc]
mov edx, 1
mulss xmm3, dword [0x491d08]
movss xmm0, dword [ebp - 4]
mov ecx, dword [eax]
addss xmm3, dword [0x491c48]
addss xmm0, dword [0x491cac]
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 [0x491cd0]
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.00406bc0
add esp, 4
mov ecx, eax
call fcn.0041f2c0
mov eax, dword [0x4b5c78]
xorps xmm3, xmm3
movss xmm1, dword [eax + 0x1518]
comiss xmm3, xmm1
ja 0x435b92
movss xmm3, dword [0x491c7c]
minss xmm3, xmm1
mulss xmm3, dword [0x491d08]
mov eax, dword [eax + 0x1cfc]
addss xmm3, dword [0x491c48]
mov ecx, dword [eax]
cvttss2si eax, xmm3
shl eax, 0x18
or eax, 0x99cb28
jmp 0x43624f
cmp eax, 3
jne 0x435dee
mov eax, dword [0x4b5c78]
xorps xmm0, xmm0
movss xmm5, dword [eax + 0x1518]
comiss xmm0, xmm5
jbe 0x435bde
xorps xmm1, xmm1
jmp 0x435be2
minss xmm1, xmm5
mov eax, dword [eax + 0x1cfc]
movaps xmm0, xmm2
mulss xmm1, dword [0x491d08]
mov edx, 1
subss xmm0, dword [0x491cac]
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 [0x491cd0]
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.00406bc0
add esp, 4
mov ecx, eax
call fcn.0041f2c0
mov eax, dword [0x4b5c78]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x1518]
comiss xmm0, xmm1
jbe 0x435c70
xorps xmm3, xmm3
jmp 0x435c7c
movss xmm3, dword [0x491c7c]
minss xmm3, xmm1
mov eax, dword [eax + 0x1cfc]
mov edx, 1
mulss xmm3, dword [0x491d08]
movss xmm0, dword [ebp - 4]
mov ecx, dword [eax]
addss xmm3, dword [0x491c48]
subss xmm0, dword [0x491cac]
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 [0x491cd0]
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.00406bc0
add esp, 4
mov ecx, eax
call fcn.0041f2c0
mov eax, dword [0x4b5c78]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x1518]
comiss xmm0, xmm1
jbe 0x435d17
xorps xmm3, xmm3
jmp 0x435d23
movss xmm3, dword [0x491c7c]
minss xmm3, xmm1
mov eax, dword [eax + 0x1cfc]
mov edx, 1
mulss xmm3, dword [0x491d08]
movss xmm0, dword [ebp - 4]
mov ecx, dword [eax]
addss xmm3, dword [0x491c48]
addss xmm0, dword [0x491cac]
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 [0x491cd0]
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.00406bc0
add esp, 4
mov ecx, eax
call fcn.0041f2c0
mov eax, dword [0x4b5c78]
xorps xmm3, xmm3
movss xmm1, dword [eax + 0x1518]
comiss xmm3, xmm1
ja 0x435dc5
movss xmm3, dword [0x491c7c]
minss xmm3, xmm1
mulss xmm3, dword [0x491d08]
mov eax, dword [eax + 0x1cfc]
addss xmm3, dword [0x491c48]
mov ecx, dword [eax]
cvttss2si eax, xmm3
shl eax, 0x18
or eax, 0xff04f6
jmp 0x43624f
cmp eax, 4
jne 0x436021
mov eax, dword [0x4b5c78]
xorps xmm0, xmm0
movss xmm5, dword [eax + 0x1518]
comiss xmm0, xmm5
jbe 0x435e11
xorps xmm1, xmm1
jmp 0x435e15
minss xmm1, xmm5
mov eax, dword [eax + 0x1cfc]
movaps xmm0, xmm2
mulss xmm1, dword [0x491d08]
mov edx, 1
subss xmm0, dword [0x491cac]
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 [0x491cd0]
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.00406bc0
add esp, 4
mov ecx, eax
call fcn.0041f2c0
mov eax, dword [0x4b5c78]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x1518]
comiss xmm0, xmm1
jbe 0x435ea3
xorps xmm3, xmm3
jmp 0x435eaf
movss xmm3, dword [0x491c7c]
minss xmm3, xmm1
mov eax, dword [eax + 0x1cfc]
mov edx, 1
mulss xmm3, dword [0x491d08]
movss xmm0, dword [ebp - 4]
mov ecx, dword [eax]
addss xmm3, dword [0x491c48]
subss xmm0, dword [0x491cac]
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 [0x491cd0]
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.00406bc0
add esp, 4
mov ecx, eax
call fcn.0041f2c0
mov eax, dword [0x4b5c78]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x1518]
comiss xmm0, xmm1
jbe 0x435f4a
xorps xmm3, xmm3
jmp 0x435f56
movss xmm3, dword [0x491c7c]
minss xmm3, xmm1
mov eax, dword [eax + 0x1cfc]
mov edx, 1
mulss xmm3, dword [0x491d08]
movss xmm0, dword [ebp - 4]
mov ecx, dword [eax]
addss xmm3, dword [0x491c48]
addss xmm0, dword [0x491cac]
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 [0x491cd0]
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.00406bc0
add esp, 4
mov ecx, eax
call fcn.0041f2c0
mov eax, dword [0x4b5c78]
xorps xmm3, xmm3
movss xmm1, dword [eax + 0x1518]
comiss xmm3, xmm1
ja 0x435ff8
movss xmm3, dword [0x491c7c]
minss xmm3, xmm1
mulss xmm3, dword [0x491d08]
mov eax, dword [eax + 0x1cfc]
addss xmm3, dword [0x491c48]
mov ecx, dword [eax]
cvttss2si eax, xmm3
shl eax, 0x18
or eax, 0x53ff
jmp 0x43624f
cmp eax, 5
jne 0x4362aa
mov eax, dword [0x4b5c78]
xorps xmm0, xmm0
movss xmm5, dword [eax + 0x1518]
comiss xmm0, xmm5
jbe 0x436044
xorps xmm1, xmm1
jmp 0x436048
minss xmm1, xmm5
mov eax, dword [eax + 0x1cfc]
movaps xmm0, xmm2
mulss xmm1, dword [0x491d08]
mov edx, 1
subss xmm0, dword [0x491cac]
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 [0x491cd0]
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.00406bc0
add esp, 4
mov ecx, eax
call fcn.0041f2c0
mov eax, dword [0x4b5c78]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x1518]
comiss xmm0, xmm1
jbe 0x4360d6
xorps xmm3, xmm3
jmp 0x4360e2
movss xmm3, dword [0x491c7c]
minss xmm3, xmm1
mov eax, dword [eax + 0x1cfc]
mov edx, 1
mulss xmm3, dword [0x491d08]
movss xmm0, dword [ebp - 4]
mov ecx, dword [eax]
addss xmm3, dword [0x491c48]
subss xmm0, dword [0x491cac]
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 [0x491cd0]
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.00406bc0
add esp, 4
mov ecx, eax
call fcn.0041f2c0
mov eax, dword [0x4b5c78]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x1518]
comiss xmm0, xmm1
jbe 0x43617d
xorps xmm3, xmm3
jmp 0x436189
movss xmm3, dword [0x491c7c]
minss xmm3, xmm1
mov eax, dword [eax + 0x1cfc]
mov edx, 1
mulss xmm3, dword [0x491d08]
movss xmm0, dword [ebp - 4]
mov ecx, dword [eax]
addss xmm3, dword [0x491c48]
addss xmm0, dword [0x491cac]
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 [0x491cd0]
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.00406bc0
add esp, 4
mov ecx, eax
call fcn.0041f2c0
mov eax, dword [0x4b5c78]
xorps xmm3, xmm3
movss xmm1, dword [eax + 0x1518]
comiss xmm3, xmm1
ja 0x43622b
movss xmm3, dword [0x491c7c]
minss xmm3, xmm1
mulss xmm3, dword [0x491d08]
mov eax, dword [eax + 0x1cfc]
addss xmm3, dword [0x491c48]
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 [0x491cd0]
addss xmm0, dword [0x491cac]
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.00406bc0
add esp, 4
mov ecx, eax
call fcn.0041f2c0
cmp byte [0x49cb9e], 0
je 0x4362c5
cmp byte [0x4b5d09], 0
jne 0x4362de
mov byte [0x4b5d09], 1
jmp 0x4362de
movzx ecx, byte [0x4b5d09]
xor edx, edx
cmp byte [0x4b5d09], 1
cmove ecx, edx
mov byte [0x4b5d09], cl
cmp byte [0x4b30cd], 0
je 0x4362ec
call fcn.0042b680
call fcn.00409de0
mov eax, dword [0x4b5d84]
push 0
push 7
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x4b5d84]
push 0
push 0x1b
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x4b5d84]
push 0
push 0xae
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [0x4b5d84]
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 [0x4b5d84]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa4]
test eax, eax
js 0x43638b
call fcn.0040a0f0
mov eax, dword [0x4b5c78]
mov eax, dword [eax + 0x1cfc]
mov ecx, dword [eax]
xor eax, eax
add ecx, 0x34
cmp byte [ecx], al
cmove ecx, eax
call fcn.00424200
mov eax, dword [0x4b5d84]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa8]
mov eax, dword [0x4b5d84]
push 0
push 0
push 0
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x44]
cmp eax, 0x88760868
jne 0x4363da
mov eax, dword [0x4b5d84]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
cmp eax, 0x88760869
jne 0x4363da
call fcn.004249f0
mov eax, dword [0x4b5d84]
push 0x4b5d2c
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
cmp dword [0x4b6094], 0
je 0x4363da
call fcn.00424690
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret