Function at 0x10045680
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x102c4ea8], 1
push ebx
push esi
push edi
jne 0x10045c03
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x10045bcc
mov ebx, 0x936aac
mov byte [0x102780bd], 1
call ebx
mov esi, 0x927c78
mov ecx, dword [eax + 0x100]
call esi
test al, al
jne 0x10045c03
call ebx
mov ecx, dword [eax + 0xdc]
call esi
test al, al
jne 0x10045c03
call ebx
mov ecx, dword [eax + 0xa0]
call esi
test al, al
jne 0x10045c03
call ebx
mov ecx, dword [eax + 0xb0]
call esi
test al, al
jne 0x10045c03
call ebx
mov ecx, dword [eax + 0x9c]
call esi
test al, al
jne 0x10045c03
call ebx
mov ecx, dword [eax + 0xb8]
call esi
test al, al
jne 0x10045c03
call ebx
mov ecx, dword [eax + 0xf0]
call esi
test al, al
jne 0x10045c03
push 0x39
mov esi, 0x7fc95b
call esi
mov edi, 0x7fb628
mov ecx, eax
call edi
test al, al
jne 0x10045c03
push 0x41
call esi
mov ecx, eax
call edi
test al, al
jne 0x10045c03
call ebx
mov edx, 0x4e245f
mov ecx, dword [eax + 0x124]
call edx
test al, al
jne 0x10045c03
mov eax, dword [0x118edf8]
cmp eax, 0x22
je 0x10045c03
cmp eax, 0x1e
je 0x10045c03
cmp eax, 0x12
jl 0x100457c5
cmp eax, 0x17
jle 0x10045c03
cmp eax, 0x35
jne 0x100457a6
lea ecx, [eax - 0x34]
jmp 0x100457ae
xor ecx, ecx
cmp eax, 0x61
sete cl
cmp ecx, 1
je 0x10045c03
cmp eax, 0x2d
jl 0x100457c5
cmp eax, 0x32
jle 0x10045c03
movss xmm0, dword [0x100d1f00]
movss xmm1, dword [0x100d1dd4]
movss xmm2, dword [0x100d1c20]
mov dword [0x11c4454], 1
movss xmm3, dword [0x10278108]
movss xmm5, dword [0x10278104]
movss xmm6, dword [0x10278100]
ucomiss xmm3, xmm0
lahf
test ah, 0x44
jnp 0x1004582b
movss xmm4, dword [0x1027810c]
ucomiss xmm4, xmm0
lahf
test ah, 0x44
jnp 0x1004582b
ucomiss xmm3, xmm1
lahf
test ah, 0x44
jp 0x1004582b
ucomiss xmm4, xmm2
lahf
test ah, 0x44
jnp 0x1004585d
movaps xmm0, xmm6
mov dword [0x10278108], 0x434d0000
addss xmm0, xmm1
mov dword [0x1027810c], 0x42000000
movss dword [0x10278110], xmm0
movaps xmm0, xmm5
addss xmm0, xmm2
movss dword [0x10278114], xmm0
sub esp, 0x10
mov edi, 0x799791
movss dword [esp + 0xc], xmm5
movss dword [esp + 8], xmm6
mov dword [esp + 4], 0x42000000
mov dword [esp], 0x434d0000
push dword [0x102780fc]
call edi
movss xmm5, dword [0x10278168]
add esp, 0x14
movss xmm0, dword [0x100d1f00]
movss xmm3, dword [0x10278164]
movss xmm4, dword [0x10278160]
movss xmm2, dword [0x100d1c1c]
ucomiss xmm5, xmm0
lahf
test ah, 0x44
jnp 0x100458e3
movss xmm1, dword [0x1027816c]
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jnp 0x100458e3
ucomiss xmm5, dword [0x100d1dd4]
lahf
test ah, 0x44
jp 0x100458e3
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jnp 0x10045919
movaps xmm0, xmm4
mov dword [0x10278168], 0x434d0000
addss xmm0, dword [0x100d1dd4]
mov dword [0x1027816c], 0x41f00000
movss dword [0x10278170], xmm0
movaps xmm0, xmm3
addss xmm0, xmm2
movss dword [0x10278174], xmm0
sub esp, 0x10
movss dword [esp + 0xc], xmm3
movss dword [esp + 8], xmm4
mov dword [esp + 4], 0x41f00000
mov dword [esp], 0x434d0000
push dword [0x1027815c]
call edi
movss xmm1, dword [0x100d1c28]
add esp, 0x14
movss xmm0, dword [0x102781c4]
mov esi, 0xe
movss dword [ebp - 8], xmm1
nop dword [eax]
sub esp, 0x10
movss dword [esp + 0xc], xmm0
movss xmm0, dword [0x102781c0]
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm1
mov dword [esp], 0x434d0000
push dword [0x102781bc]
call edi
movss xmm1, dword [ebp - 8]
add esp, 0x14
movss xmm0, dword [0x102781c4]
addss xmm1, xmm0
movss dword [ebp - 8], xmm1
sub esi, 1
jne 0x10045960
movss xmm2, dword [0x10278228]
movss xmm0, dword [0x100d1f00]
movss xmm4, dword [0x10278224]
movss xmm5, dword [0x10278220]
ucomiss xmm2, xmm0
lahf
test ah, 0x44
jnp 0x100459fa
movss xmm3, dword [0x1027822c]
ucomiss xmm3, xmm0
lahf
test ah, 0x44
jnp 0x100459fa
ucomiss xmm2, dword [0x100d1dd4]
lahf
test ah, 0x44
jp 0x100459fa
ucomiss xmm3, xmm1
lahf
test ah, 0x44
jnp 0x10045a2e
movaps xmm0, xmm5
mov dword [0x10278228], 0x434d0000
addss xmm0, dword [0x100d1dd4]
movss dword [0x1027822c], xmm1
movss dword [0x10278230], xmm0
movaps xmm0, xmm1
addss xmm0, xmm4
movss dword [0x10278234], xmm0
sub esp, 0x10
movss dword [esp + 0xc], xmm4
movss dword [esp + 8], xmm5
movss dword [esp + 4], xmm1
mov dword [esp], 0x434d0000
push dword [0x1027821c]
call edi
add esp, 0x14
mov ecx, 0x101888b0
push 0x48
call fcn.1003ad30
push eax
push 0
push 3
push 0xd2
push 0x28
push 0xd7
push 0xff19bdff
push 0x10276e38
call fcn.100712f0
push str.Character:
push 0
push 1
push 0x34
push 0x43
push 0xe1
push 0xff19bdff
push 0x10276e38
call fcn.100712f0
add esp, 0x40
mov ecx, 0x101888b0
push 0x49
call fcn.1003ad30
push eax
push 0
push 1
push 0x34
push 0x43
push 0x115
push 0xff19bdff
push 0x10276e38
call fcn.100712f0
xor edx, edx
add esp, 0x20
xor esi, esi
mov dword [ebp - 4], edx
mov dword [ebp - 8], esi
mov ebx, 0x1021bcd8
mov ecx, ebx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10045ae5
sub ecx, edi
test ecx, ecx
jle 0x10045ba6
movd xmm0, esi
test dl, 1
cvtdq2ps xmm0, xmm0
push ebx
push 0
push 1
push 0x34
mov eax, 0xff8be100
mov esi, 0xb4ffffff
addss xmm0, dword [0x100d1cbc]
cmovne esi, eax
cvttss2si edi, xmm0
push edi
push 0xe1
push esi
push 0x10276e38
call fcn.100712f0
lea eax, [ebx + 0xb]
push eax
push 0
push 1
push 0x96
push edi
push 0x115
push esi
push 0x10276e38
call fcn.100712f0
add esp, 0x40
lea esi, [ebx + 0x64]
mov eax, 0x799756
push 9
push 0xa0
push edi
push 0x109
call eax
add esp, 0x10
cmp al, 1
jne 0x10045b80
cmp dword [0x1021aeb0], esi
je 0x10045ba6
mov dword [0x1021aeb0], esi
jmp 0x10045b92
cmp dword [0x1021aeb0], esi
jne 0x10045ba6
mov dword [0x1021aeb0], 0
mov eax, 0x936aac
call eax
mov ecx, dword [eax + 0xc4]
mov eax, 0x992ec6
call eax
inc dword [ebp - 4]
add ebx, 0xf0
add dword [ebp - 8], 0xd
mov edx, dword [ebp - 4]
mov esi, dword [ebp - 8]
cmp ebx, 0x1021cae8
jl 0x10045ae0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [0x102780bd], 0
je 0x10045be9
mov dword [0x1021aeb0], 0
mov dword [0x11c4454], 0
cmp dword [0x1021aeb0], 0
mov byte [0x102780bd], 0
je 0x10045c03
mov dword [0x1021aeb0], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret