Function at 0x10079d30
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor ebx, ebx
push 0xd
call edi
bt ax, 8
mov esi, dword [sym.imp.USER32.dll_keybd_event]
jae 0x10079d5e
push ebx
push 2
push ebx
push 0xd
mov dword [0x10138d8c], 1
call esi
push 0x1b
call edi
mov ecx, 0x100
test cx, ax
je 0x10079d80
push 0
push 2
push 0
push 0x1b
mov dword [0x10138d8c], 1
call esi
mov eax, 0x482b70
call eax
mov edi, 0x6d6c20
cmp byte [eax + 0x849c], bl
jne 0x10079fcc
xor esi, esi
mov eax, 0x402bc0
nop
push esi
call eax
mov ecx, eax
mov eax, 0x96a4c0
call eax
cmp byte [eax + 0x30c], bl
je 0x10079de0
inc esi
mov eax, 0x402bc0
cmp esi, 5
jl 0x10079da0
mov eax, dword [0x10138da0]
cmp eax, 0xffffff4c
jl 0x10079e06
push 0
push 0
push 0x1b
call edi
mov eax, dword [0x10138da0]
add esp, 0xc
sub eax, 0x14
jmp 0x10079e01
mov eax, dword [0x10138da0]
mov ebx, 1
test eax, eax
jns 0x10079e06
push 0
push 0
push 0x1b
call edi
mov eax, dword [0x10138da0]
add esp, 0xc
add eax, 0x14
mov dword [0x10138da0], eax
push ecx
mov dword [esp], 0
add eax, 4
push 1
push 1
sub esp, 0x20
movd xmm0, eax
mov eax, 0x637c60
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x1c], 0x3f5a0000
mov dword [esp + 0x18], 0x3f470000
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x42da0000
mov dword [esp + 8], 0x43470000
movss dword [esp + 4], xmm0
movd xmm0, dword [0xe61e58]
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0xe7c3d4]
subss xmm0, dword [0x1012e3ac]
mulss xmm0, dword [0x1012ddd4]
cvtps2pd xmm0, xmm0
addsd xmm0, qword [0x1012df60]
cvtpd2ps xmm0, xmm0
movss dword [esp], xmm0
push 0x157ce
call eax
add esp, 0x30
cmp ebx, 1
jne 0x10079fcc
movd xmm0, dword [0xe61e58]
cvtdq2ps xmm0, xmm0
push 0x19
push 0x46
push 0x50
divss xmm0, dword [0xe7c3d4]
subss xmm0, dword [0x1012e3ac]
mulss xmm0, dword [0x1012ddd4]
addss xmm0, dword [0x1012e258]
cvttss2si eax, xmm0
push eax
mov eax, 0x790b10
call eax
add esp, 0x10
test al, al
je 0x10079fcc
cmp byte [0x8793386], 0
je 0x10079f29
sub dword [0x10138da0], 0xb4
push 0
push 0
push 0x19
mov dword [0x10138d8c], ebx
call edi
add esp, 0xc
mov ebx, 0x482b70
call ebx
lea esi, [eax + 0x8490]
call ebx
push esi
mov edx, 0x483b20
mov ecx, eax
call edx
movd xmm0, dword [0x10138da0]
mov eax, 0x637c60
cvtdq2pd xmm0, xmm0
push ecx
mov dword [esp], 0
push 1
push 1
sub esp, 0x20
addsd xmm0, qword [0x1012df18]
mov dword [esp + 0x1c], 0x3f480000
mov dword [esp + 0x18], 0x3f0c0000
mov dword [esp + 0x14], 0
cvtpd2ps xmm0, xmm0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x41c80000
mov dword [esp + 8], 0x428c0000
movss dword [esp + 4], xmm0
movd xmm0, dword [0xe61e58]
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0xe7c3d4]
subss xmm0, dword [0x1012e3ac]
mulss xmm0, dword [0x1012ddd4]
cvtps2pd xmm0, xmm0
addsd xmm0, qword [0x1012df70]
cvtpd2ps xmm0, xmm0
movss dword [esp], xmm0
push 0x157cf
call eax
add esp, 0x30
mov eax, dword [0xe60b4c]
test eax, eax
je 0x1007a029
cmp eax, 1
je 0x1007a029
cmp eax, 2
je 0x1007a029
cmp eax, 3
je 0x1007a029
cmp eax, 4
je 0x1007a029
cmp eax, 5
je 0x1007a029
cmp dword [0x10138dac], 0xffffff4c
jle 0x1007a00c
push 0
push 0
push 0x1b
call edi
add esp, 0xc
sub dword [0x10138dac], 0x14
cmp dword [0x10138db0], 0xa
jle 0x1007a062
push 0
push 0
push 0x1b
call edi
add esp, 0xc
sub dword [0x10138db0], 0x14
jmp 0x1007a062
cmp dword [0x10138dac], 0xfffffff6
jge 0x1007a044
push 0
push 0
push 0x1b
call edi
add esp, 0xc
add dword [0x10138dac], 0x14
cmp dword [0x10138db0], 0xc1
jge 0x1007a062
push 0
push 0
push 0x1b
call edi
add esp, 0xc
add dword [0x10138db0], 0x14
cmp dword [0x10138d8c], 0
jne 0x1007a088
cmp dword [0x10138da4], 0
jge 0x1007a0a6
push 0
push 0
push 0x1b
call edi
add esp, 0xc
add dword [0x10138da4], 0x32
jmp 0x1007a0a6
cmp dword [0x10138da4], 0xfffffed4
jle 0x1007a0a6
push 0
push 0
push 0x1b
call edi
add esp, 0xc
sub dword [0x10138da4], 0x32
xor esi, esi
mov ebx, 0xe60b4c
nop dword [eax]
cmp dword [ebx], esi
jne 0x1007a190
movd xmm0, dword [0xe61e58]
cvtdq2ps xmm0, xmm0
push 0xd
push 0x46
push 0x56
divss xmm0, dword [0xe7c3d4]
subss xmm0, dword [0x1012e3ac]
mulss xmm0, dword [0x1012ddd4]
addss xmm0, xmm0
addss xmm0, dword [0x1012e360]
cvttss2si eax, xmm0
push eax
mov eax, 0x790b10
call eax
add esp, 0x10
test al, al
je 0x1007a123
mov dword [0xe61730], esi
mov dword [ebx], esi
cmp byte [0x8793386], 0
je 0x1007a123
push 0
push 0
push 0x19
call edi
add esp, 0xc
mov eax, 0x405b10
call eax
movd xmm0, dword [0xe61e58]
cvtdq2ps xmm0, xmm0
push 0xd
push 0x46
push 0x56
divss xmm0, dword [0xe7c3d4]
subss xmm0, dword [0x1012e3ac]
mulss xmm0, dword [0x1012ddd4]
addss xmm0, xmm0
addss xmm0, dword [0x1012e320]
cvttss2si eax, xmm0
push eax
mov eax, 0x790b10
call eax
add esp, 0x10
test al, al
je 0x1007a190
mov dword [0xe61730], esi
mov dword [ebx], esi
cmp byte [0x8793386], 0
je 0x1007a190
push 0
push 0
push 0x19
call edi
add esp, 0xc
xor cl, cl
mov eax, 0x4d6a60
call eax
inc esi
cmp esi, 5
jl 0x1007a0b0
pop edi
pop esi
pop ebx
ret