Function at 0x1000b258
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
cmp byte [ebp + 0x20], 0
push ebx
push esi
mov ebx, edx
mov esi, ecx
push edi
mov dword [ebp - 0x18], ebx
je 0x1000b377
cmp byte [ebp + 0xc], 0
je 0x1000b29a
mov eax, dword [ebp + 0x34]
cmp byte [eax], 0
je 0x1000b4b7
push 0
mov edx, 0x6edc
mov ecx, 0x66ba
call fcn.1000c6cb
jmp 0x1000b371
mov dword [ebp - 0xc], 0x50b2
cmp dword [ebp - 0xc], 0x534a
push 0
pop esi
jle 0x1000b31b
push esi
call dword [sym.imp.USER32.dll_SetCursor]
mov edi, esi
mov dword [ebp - 8], esi
mov ebx, esi
mov dword [ebp + 0x20], esi
mov ecx, ebx
mov dword [ebp - 0x14], edi
mov ebx, edi
mov edi, esi
sar ebx, cl
mov eax, ebx
lea ecx, [ebp - 0x30]
xor eax, edi
cdq
push edx
push eax
call fcn.10001a75
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1000b2e2
mov eax, dword [eax]
push eax
call fcn.10048743
pop ecx
push esi
push 1
lea ecx, [ebp - 0x30]
call fcn.10004a80
inc edi
cmp edi, 0x803b
jl 0x1000b2c9
mov ebx, dword [ebp + 0x20]
mov edi, dword [ebp - 8]
inc ebx
mov dword [ebp + 0x20], ebx
cmp ebx, 0x6356
jl 0x1000b2be
inc edi
mov dword [ebp - 8], edi
cmp edi, 0x20d6
jl 0x1000b2b9
mov eax, dword [ebp + 0x10]
cmp dword [eax], esi
je 0x1000b33f
mov eax, dword [ebp + 0x24]
xor dl, dl
mov dword [ebp + 0x20], 0x24f84b81
xor cl, cl
push 1
mov eax, dword [eax]
mov dword [ebp + 0x20], eax
call fcn.10007db5
pop ecx
jmp 0x1000b35a
push ecx
push ecx
push 0x4e99
push ecx
push esi
push 0xbe5
mov edx, 0x6258
call fcn.100081b3
add esp, 0x18
cmp dword [ebp - 0xc], 0x4d69
jge 0x1000b4b7
push str.gimg_clpcwpo_lampidle_ulrc_lxyntrb_hilpwdf_ifwrywtn_vpum_mfemcord_gop
call fcn.10048743
pop ecx
jmp 0x1000b4b7
cmp byte [ebp + 0x1c], 0
je 0x1000b49a
mov dword [ebp - 0x14], 0x10ad
cmp dword [ebp - 0x14], 0x136d
push 0
pop esi
jle 0x1000b420
push esi
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov edi, esi
mov dword [ebp - 0x10], esi
mov ebx, esi
mov dword [ebp - 8], esi
mov ecx, ebx
mov dword [ebp + 0x20], edi
mov ebx, edi
mov edi, esi
sar ebx, cl
mov eax, esi
mov dword [ebp - 0xc], 0x5226
mov dword [ebp + 0x20], eax
or eax, ebx
lea ecx, [ebp - 0x48]
cdq
push edx
push eax
call fcn.10001a75
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1000b3d7
mov eax, dword [eax]
push eax
call fcn.10048743
pop ecx
push esi
push 1
lea ecx, [ebp - 0x48]
call fcn.10004a80
mov eax, dword [ebp + 0x20]
add eax, edi
dec dword [ebp - 0xc]
mov dword [ebp + 0x20], eax
jne 0x1000b3c0
inc edi
cmp edi, 0x43c1
jl 0x1000b3b4
mov ebx, dword [ebp - 8]
mov edi, dword [ebp - 0x10]
inc ebx
mov dword [ebp - 8], ebx
cmp ebx, 0x4abf
jl 0x1000b3a9
inc edi
mov dword [ebp - 0x10], edi
cmp edi, 0x48a3
jl 0x1000b3a4
mov ebx, dword [ebp - 0x18]
cmp dword [ebp - 0x14], 0xef3
jge 0x1000b434
push str.oto_bqcjk_jywoa_bnv_vxpik_ntgymeby_fxibnql_cfjuiyscs_yfkh_sofdnsrn_umgfyygdg_zkqeoi
call fcn.10048743
pop ecx
mov edi, dword [ebp + 0x2c]
cmp dword [edi], esi
jne 0x1000b456
mov ecx, dword [ebx]
xor edx, edx
mov eax, dword [ebx]
cmp ecx, eax
mov eax, dword [edi]
setge dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp + 0x30]
setl cl
mov dword [eax], ecx
mov eax, dword [eax]
mov esi, dword [ebp + 0x18]
xor ecx, ecx
mov edx, dword [ebp + 8]
mov eax, dword [esi]
mov eax, dword [edx]
mov eax, dword [ebp + 0x28]
mov eax, dword [eax]
mov eax, dword [ebx]
cmp eax, 0xfffffffb
mov eax, dword [edx]
setg cl
xor edx, edx
sub eax, ecx
mov ecx, dword [ebx]
imul ecx, eax
mov eax, dword [ebx]
cmp ecx, eax
mov eax, dword [ebx]
setle dl
xor ebx, ebx
cmp edx, eax
mov eax, dword [esi]
setl bl
xor ecx, ecx
cmp ebx, eax
mov eax, dword [ebp + 0x38]
sete cl
mov dword [eax], ecx
jmp 0x1000b4b7
mov edx, dword [ebp + 0x14]
mov dword [edx], 0
jmp 0x1000b4b2
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [eax + ecx*4], 0x10e164ca
inc dword [edx]
cmp dword [edx], 3
jl 0x1000b4a5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret