Function at 0x4019c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0xd38
mov eax, dword [0x45e040]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x45e12c], 2
push esi
push edi
jne 0x402304
mov esi, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea eax, [ebp - 0x64]
push 0
push 4
push eax
push 0x58ac04
push dword [0x45e6f4]
call esi
mov eax, dword [ebp - 0x64]
push 0
push 4
mov dword [ebp - 0x384], eax
lea eax, [ebp - 0xc]
push eax
push 0x58ac0c
push dword [0x45e6f4]
call esi
mov eax, dword [ebp - 0xc]
push 0
dec eax
push 0x40
mov dword [ebp - 0x3a0], eax
lea eax, [ebp - 0x400]
push eax
push 0x57dfd0
push dword [0x45e6f4]
call esi
mov eax, dword [0x45e6e8]
xor edx, edx
push str.Background
mov eax, dword [eax + 0x4a28]
mov ecx, dword [eax]
call fcn.0040eac0
add esp, 4
mov dword [ebp - 0x39c], eax
lea eax, [ebp - 0x70]
push 0
push 4
push eax
push 0x57e0a8
push dword [0x45e6f4]
call esi
mov eax, dword [ebp - 0x70]
lea ecx, [ebp - 0xa20]
push 0
push 0x310
push ecx
push eax
push dword [0x45e6f4]
xorps xmm0, xmm0
mov dword [ebp - 0xc], eax
movups xmmword [ebp - 0x9f8], xmm0
mov dword [ebp - 0x9e8], 0
mov dword [ebp - 0x9e4], 0
call esi
mov eax, dword [0x45e6d8]
lea esi, [ebp - 0xa20]
cdq
lea edi, [ebp - 0xd30]
mov ecx, 0xc4
sub eax, edx
rep movsd dword es:[edi], dword [esi]
mov esi, eax
xorps xmm1, xmm1
mov eax, dword [0x45e6dc]
xorps xmm0, xmm0
sar esi, 1
xorps xmm3, xmm3
movups xmmword [ebp - 0x3c0], xmm1
mov dword [ebp - 0x3ac], esi
movss dword [ebp - 0x358], xmm1
xorps xmm2, xmm2
movd xmm1, esi
movss dword [ebp - 0x390], xmm3
movss dword [ebp - 0x354], xmm3
movss dword [ebp - 0x388], xmm2
movss dword [ebp - 0x350], xmm2
movss dword [ebp - 0x3a4], xmm0
movss dword [ebp - 0x398], xmm0
movss dword [ebp - 0x3a8], xmm0
cvtdq2ps xmm1, xmm1
cdq
sub eax, edx
mov edi, eax
sar edi, 1
cmp byte [0x45e126], 0
mov dword [ebp - 0x3b0], edi
movd xmm2, edi
cvtdq2ps xmm2, xmm2
je 0x401bcb
movss dword [ebp - 0x14], xmm1
movss xmm1, dword [0x45ad14]
movss dword [ebp - 0x10], xmm2
movss xmm2, dword [0x45e11c]
comiss xmm1, xmm2
ja 0x401bcb
push 0x1d
push ecx
mov ecx, dword [ebp - 0x39c]
subss xmm2, xmm1
lea eax, [ebp - 0x14]
mov dword [esp], 0x40c25c20
push eax
call fcn.0042cef0
mov eax, dword [ebp - 0x39c]
push ecx
mov dword [esp], 0x40000000
mov ecx, eax
push 1
push 0xffffffffffffffff
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.0042ba80
mov eax, dword [ebp - 0x39c]
mov dword [eax + 0x54], 0
cmp dword [ebp - 0x3a0], 0
movss xmm4, dword [0x45aea0]
movss dword [ebp - 0x394], xmm4
jbe 0x402147
mov eax, dword [ebp - 0x384]
add eax, 4
mov dword [ebp - 0x390], eax
push 0
push 4
lea ecx, [ebp - 0x10]
push ecx
push eax
push dword [0x45e6f4]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push 0
push 0x310
lea eax, [ebp - 0x710]
mov dword [ebp - 0x700], 0
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x6fc], 0
push dword [0x45e6f4]
mov dword [ebp - 0x6f8], 0
mov dword [ebp - 0x6e8], 0
mov dword [ebp - 0x6e4], 0
mov dword [ebp - 0x6e0], 0
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
cmp dword [ebp - 0x624], 0
jle 0x4020fc
cmp byte [0x45e124], 0
jne 0x401c8d
mov eax, dword [ebp - 0xa24]
cmp dword [ebp - 0x404], eax
je 0x4020fc
movaps xmm0, xmmword [ebp - 0x400]
lea ecx, [ebp - 0x60]
movaps xmmword [ebp - 0x60], xmm0
movaps xmm0, xmmword [ebp - 0x3f0]
movaps xmmword [ebp - 0x50], xmm0
movaps xmm0, xmmword [ebp - 0x3e0]
movaps xmmword [ebp - 0x40], xmm0
movaps xmm0, xmmword [ebp - 0x3d0]
movaps xmmword [ebp - 0x30], xmm0
call fcn.00407b20
movss xmm6, dword [ebp - 0x6e4]
movss xmm7, dword [ebp - 0x6e8]
movss xmm0, dword [ebp - 0x60]
movss xmm3, dword [ebp - 0x5c]
movss xmm2, dword [ebp - 0x6e0]
movss xmm5, dword [ebp - 0x4c]
mulss xmm0, xmm7
mulss xmm3, xmm6
movss xmm1, dword [ebp - 0x3c]
mulss xmm5, xmm6
addss xmm3, xmm0
movss xmm4, dword [ebp - 0x2c]
movss xmm0, dword [ebp - 0x58]
mulss xmm0, xmm2
mulss xmm1, xmm6
addss xmm3, xmm0
mulss xmm4, xmm6
movss xmm0, dword [ebp - 0x50]
mulss xmm0, xmm7
addss xmm3, dword [ebp - 0x54]
addss xmm5, xmm0
movss xmm0, dword [ebp - 0x48]
mulss xmm0, xmm2
addss xmm5, xmm0
movss xmm0, dword [ebp - 0x40]
mulss xmm0, xmm7
addss xmm1, xmm0
movss xmm0, dword [ebp - 0x38]
mulss xmm0, xmm2
addss xmm5, dword [ebp - 0x44]
addss xmm1, xmm0
movss xmm0, dword [ebp - 0x30]
mulss xmm0, xmm7
addss xmm1, dword [ebp - 0x34]
addss xmm4, xmm0
movss xmm0, dword [ebp - 0x28]
mulss xmm0, xmm2
addss xmm4, xmm0
movss xmm0, dword [0x45accc]
addss xmm4, dword [ebp - 0x24]
comiss xmm0, xmm4
jae 0x401df1
movss xmm0, dword [0x45ace8]
comiss xmm0, xmm1
ja 0x401df1
movss xmm6, dword [0x45ad54]
xorps xmm0, xmm0
movaps xmm1, xmm6
divss xmm1, xmm4
cvtsi2ss xmm0, dword [0x45e6d8]
movaps xmm2, xmm1
mulss xmm1, xmm5
mulss xmm2, xmm3
addss xmm1, xmm6
addss xmm2, xmm6
movss xmm6, dword [ebp - 0x6e4]
mulss xmm1, dword [0x45ad14]
mulss xmm2, dword [0x45ad14]
mulss xmm2, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [0x45e6dc]
mulss xmm1, xmm0
subss xmm0, xmm1
jmp 0x401dfa
xorps xmm0, xmm0
xorps xmm4, xmm4
xorps xmm2, xmm2
xorps xmm3, xmm3
ucomiss xmm2, xmm3
lahf
test ah, 0x44
jp 0x401e1c
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jp 0x401e1c
ucomiss xmm4, xmm3
lahf
test ah, 0x44
jnp 0x4020fc
movaps xmm0, xmmword [ebp - 0x400]
lea ecx, [ebp - 0x60]
movss xmm1, dword [ebp - 0x6e0]
movaps xmm4, xmm7
addss xmm1, dword [0x45ae10]
movaps xmmword [ebp - 0x60], xmm0
addss xmm4, xmm3
movaps xmm0, xmmword [ebp - 0x3f0]
movaps xmm2, xmm6
movaps xmmword [ebp - 0x50], xmm0
addss xmm2, xmm3
movaps xmm0, xmmword [ebp - 0x3e0]
movaps xmmword [ebp - 0x40], xmm0
movaps xmm0, xmmword [ebp - 0x3d0]
movaps xmmword [ebp - 0x30], xmm0
call fcn.00407b20
movaps xmm6, xmm4
movaps xmm0, xmm2
mulss xmm0, dword [ebp - 0x5c]
movaps xmm7, xmm4
mulss xmm6, dword [ebp - 0x60]
movaps xmm5, xmm4
mulss xmm7, dword [ebp - 0x50]
addss xmm6, xmm0
mulss xmm5, dword [ebp - 0x40]
movss xmm0, dword [ebp - 0x58]
mulss xmm0, xmm1
mulss xmm4, dword [ebp - 0x30]
addss xmm6, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [ebp - 0x4c]
addss xmm7, xmm0
movss xmm0, dword [ebp - 0x48]
mulss xmm0, xmm1
addss xmm6, dword [ebp - 0x54]
addss xmm7, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [ebp - 0x3c]
mulss xmm2, dword [ebp - 0x2c]
addss xmm5, xmm0
movss xmm0, dword [ebp - 0x38]
addss xmm7, dword [ebp - 0x44]
mulss xmm0, xmm1
addss xmm4, xmm2
addss xmm5, xmm0
movss xmm0, dword [ebp - 0x28]
mulss xmm0, xmm1
addss xmm5, dword [ebp - 0x34]
addss xmm4, xmm0
movss xmm0, dword [0x45accc]
addss xmm4, dword [ebp - 0x24]
comiss xmm0, xmm4
movss dword [ebp - 0x38c], xmm4
jae 0x401f78
movss xmm0, dword [0x45ace8]
comiss xmm0, xmm5
ja 0x401f78
movss xmm3, dword [0x45ad54]
xorps xmm0, xmm0
movaps xmm1, xmm3
divss xmm1, xmm4
cvtsi2ss xmm0, dword [0x45e6d8]
movaps xmm2, xmm1
xorps xmm4, xmm4
cvtsi2ss xmm4, dword [0x45e6dc]
mulss xmm1, xmm7
mulss xmm2, xmm6
addss xmm1, xmm3
addss xmm2, xmm3
mulss xmm1, dword [0x45ad14]
mulss xmm2, dword [0x45ad14]
mulss xmm1, xmm4
mulss xmm2, xmm0
subss xmm4, xmm1
jmp 0x401f86
xorps xmm2, xmm2
movss dword [ebp - 0x38c], xmm3
xorps xmm4, xmm4
xorps xmm0, xmm0
movss dword [ebp - 0x384], xmm4
cvtsi2ss xmm0, esi
movss dword [ebp - 0x388], xmm2
movaps xmm1, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, edi
subss xmm1, xmm2
subss xmm0, xmm4
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm0, xmm1
call fcn.00401000
movaps xmm4, xmm0
comiss xmm4, dword [0x45e11c]
ja 0x4020fc
movss xmm0, dword [ebp - 0x388]
xorps xmm3, xmm3
movss xmm1, dword [ebp - 0x384]
movss xmm2, dword [ebp - 0x38c]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jp 0x40200a
ucomiss xmm1, xmm3
lahf
test ah, 0x44
jp 0x40200a
ucomiss xmm2, xmm3
lahf
test ah, 0x44
jnp 0x4020fc
mov eax, dword [0x45e128]
test eax, eax
jne 0x4020ab
movss xmm1, dword [ebp - 0xd04]
movss xmm0, dword [ebp - 0xd08]
subss xmm0, dword [ebp - 0x6e8]
subss xmm1, dword [ebp - 0x6e4]
movss xmm2, dword [ebp - 0xd00]
subss xmm2, dword [ebp - 0x6e0]
mulss xmm0, xmm0
mulss xmm1, xmm1
mulss xmm2, xmm2
addss xmm0, xmm1
addss xmm0, xmm2
call fcn.00401000
movss xmm3, dword [ebp - 0x394]
comiss xmm3, xmm0
jbe 0x4020fc
movss dword [ebp - 0x394], xmm0
movss xmm0, dword [ebp - 0x388]
movss dword [ebp - 0x3a4], xmm0
movss xmm0, dword [ebp - 0x384]
movss dword [ebp - 0x398], xmm0
movss xmm0, dword [ebp - 0x38c]
movss dword [ebp - 0x3a8], xmm0
jmp 0x4020dd
cmp eax, 1
jne 0x4020fc
movss xmm3, dword [ebp - 0x394]
comiss xmm3, xmm4
jbe 0x4020fc
movss dword [ebp - 0x394], xmm4
movss dword [ebp - 0x3a4], xmm0
movss dword [ebp - 0x398], xmm1
movss dword [ebp - 0x3a8], xmm2
mov ecx, 0xc4
lea edi, [ebp - 0x380]
lea esi, [ebp - 0x710]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x3b0]
mov esi, dword [ebp - 0x3ac]
mov eax, dword [ebp - 0x390]
add eax, 4
sub dword [ebp - 0x3a0], 1
mov dword [ebp - 0x390], eax
jne 0x401bf7
movss xmm0, dword [ebp - 0x350]
movss xmm1, dword [ebp - 0x358]
movss dword [ebp - 0x388], xmm0
movss xmm0, dword [ebp - 0x354]
movss dword [ebp - 0x390], xmm0
movups xmmword [ebp - 0x3c0], xmm1
cmp dword [ebp - 0x294], 0
jle 0x40229b
movss xmm1, dword [ebp - 0x3a4]
xorps xmm0, xmm0
movss xmm2, dword [ebp - 0x398]
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x40218e
ucomiss xmm2, xmm0
lahf
test ah, 0x44
jp 0x40218e
movss xmm3, dword [ebp - 0x3a8]
ucomiss xmm3, xmm0
lahf
test ah, 0x44
jnp 0x402304
cmp byte [0x45e127], 0
je 0x4021d9
movd xmm0, esi
lea eax, [ebp - 0x14]
cvtdq2ps xmm0, xmm0
push ecx
mov ecx, dword [ebp - 0x39c]
mov dword [esp], 0x40400000
push 0xff0000ff
push eax
movss dword [ebp - 0x68], xmm0
lea eax, [ebp - 0x68]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
push eax
movss dword [ebp - 0x14], xmm1
movss dword [ebp - 0x10], xmm2
movss dword [ebp - 0x64], xmm0
call fcn.0042d7b0
mov edx, str.90_90_90_90_90_90_90_90
mov ecx, 0x456c18
call fcn.00450290
mov edx, str.90_90_90_90_90_90_90_90
mov ecx, 0x456c4e
call fcn.00450290
mov edx, str.90_90_90_90_90_90_90_90
mov ecx, 0x456c56
call fcn.00450290
movups xmm1, xmmword [ebp - 0x3c0]
mov esi, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movss xmm2, dword [ebp - 0x390]
xorps xmm0, xmm0
addss xmm1, xmm0
addss xmm2, xmm0
movss xmm0, dword [ebp - 0x388]
addss xmm0, dword [0x45ae10]
push 0
push 0xc
unpcklps xmm1, xmm2
movss dword [ebp - 0x64], xmm0
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
push 0x592064
push dword [0x45e6f4]
movq qword [ebp - 0x18], xmm1
call esi
cmp byte [0x45e125], 0
je 0x402304
push 0
push 1
lea eax, [ebp - 8]
mov byte [ebp - 8], 1
push eax
mov eax, dword [ebp - 0xc]
add eax, 0x204
push eax
push dword [0x45e6f4]
call esi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004522e5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8001
test cx, ax
jne 0x402304
cmp byte [0x45e125], 0
je 0x4022d7
push 0
push 1
lea eax, [ebp - 8]
mov byte [ebp - 8], 0
push eax
mov eax, dword [ebp - 0xc]
add eax, 0x204
push eax
push dword [0x45e6f4]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov edx, str.F3_0F_11_05_64_20_59_00
mov ecx, 0x456c18
call fcn.00450290
mov edx, str.F3_0F_11_0D_68_20_59_00
mov ecx, 0x456c4e
call fcn.00450290
mov edx, str.F3_0F_11_2D_6C_20_59_00
mov ecx, 0x456c56
call fcn.00450290
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004522e5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret