Function at 0x10b848a0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x58]
mov esi, ecx
mov eax, dword [edi + 4]
cmp eax, 0x106
ja 0x10b84da0
mov ebx, dword [esp + 0x50]
je 0x10b849a1
sub eax, 0x100
je 0x10b84a51
dec eax
je 0x10b84980
dec eax
jne 0x10b84e25
mov eax, dword [edi]
mov ebp, ebx
push eax
push ebp
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x10b84e25
mov ecx, dword [esi + 0x50]
push edi
push ecx
mov ecx, esi
call fcn.10b84120
test al, 4
jne 0x10b84e25
mov cl, byte [edi + 8]
cmp cl, 0x20
mov byte [esp + 0x58], cl
jbe 0x10b84e25
test al, 0x84
je 0x10b8492b
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, 0x80
je 0x10b84e25
mov ebx, dword [esp + 0x58]
mov edx, dword [esp + 0x50]
and ebx, 0xff
push edi
push ebx
push ebp
mov ebp, dword [esp + 0x60]
mov ecx, esi
push ebp
push edx
call fcn.10b841e0
test eax, eax
jne 0x10b84a42
test ebp, ebp
je 0x10b84e25
mov eax, dword [esp + 0x50]
push edi
push ebx
push ebp
push ebp
push eax
mov ecx, esi
call fcn.10b841e0
test eax, eax
je 0x10b84e25
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 0xc
mov eax, dword [esi + 0x64]
test eax, eax
je 0x10b84e25
mov dword [esi + 0x64], 0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 0xc
mov ecx, dword [edi]
push ecx
push ebx
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x10b84a51
mov ebp, dword [esp + 0x54]
test ebp, ebp
je 0x10b849d6
mov edx, dword [edi]
push edx
push ebp
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x10b849d6
mov dword [esi + 0x60], 1
mov eax, dword [edi]
push eax
push ebp
jmp 0x10b849e1
mov dword [esi + 0x60], 0
mov ecx, dword [edi]
push ecx
push ebx
mov ecx, esi
call fcn.10b841a0
mov edx, eax
push edi
push edx
mov ecx, esi
mov dword [esi + 0x50], eax
call fcn.10b84120
mov al, byte [edi + 8]
cmp al, 0x30
mov byte [esp + 0x50], al
jbe 0x10b84e25
mov eax, dword [esp + 0x50]
push edi
and eax, 0xff
mov ecx, esi
push eax
push ebx
push ebp
push ebx
mov dword [esp + 0x64], eax
call fcn.10b841e0
test eax, eax
jne 0x10b84a42
test ebp, ebp
je 0x10b84e25
mov eax, dword [esp + 0x50]
push edi
push eax
push ebp
push ebp
push ebx
mov ecx, esi
call fcn.10b841e0
test eax, eax
je 0x10b84e25
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 0xc
mov ecx, dword [edi]
push ecx
push ebx
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x10b84e25
mov ebp, dword [esp + 0x54]
test ebp, ebp
je 0x10b84a86
mov edx, dword [edi]
push edx
push ebp
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x10b84a86
mov dword [esi + 0x60], 1
mov eax, dword [edi]
push eax
push ebp
jmp 0x10b84a91
mov dword [esi + 0x60], 0
mov ecx, dword [edi]
push ecx
push ebx
mov ecx, esi
call fcn.10b841a0
mov edx, eax
push edi
push edx
mov ecx, esi
mov dword [esi + 0x50], eax
call fcn.10b84120
mov ecx, dword [edi + 8]
cmp ecx, 0x1b
jne 0x10b84ad8
push 2
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
push 2
push 0x111
push ebx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, 1
mov dword [esi + 0x64], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 0xc
cmp ecx, 0x70
jne 0x10b84b07
push 9
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
push 9
push 0x111
push ebx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, 1
mov dword [esi + 0x64], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 0xc
cmp ecx, 9
jne 0x10b84cad
test al, 2
je 0x10b84b25
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, 0x80
je 0x10b84e25
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, 0x80
push 0x10
je 0x10b84c6f
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, 0x80
mov eax, dword [esi]
push 0x3eb
push eax
je 0x10b84bd0
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x30]
lea ebx, [eax - 1]
test ebx, ebx
jge 0x10b84b67
mov ebx, dword [esi + 0x2c]
dec ebx
cmp ebx, eax
je 0x10b84d8e
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esp + 0x50]
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0x600
push ecx
push ebx
push 0x1305
push edx
call ebp
mov eax, dword [esp + 0x48]
test eax, eax
je 0x10b84bb0
mov eax, dword [esp + 0x44]
test eax, eax
je 0x10b84c53
dec ebx
test ebx, ebx
jge 0x10b84bb9
mov ebx, dword [esi + 0x2c]
dec ebx
cmp ebx, dword [esi + 0x30]
jne 0x10b84b75
mov eax, 1
mov dword [esi + 0x64], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 0xc
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edx, dword [esi + 0x2c]
mov ebp, eax
mov eax, dword [esi + 0x30]
xor ebx, ebx
lea ecx, [eax + 1]
cmp ecx, edx
setge bl
dec ebx
and ebx, ecx
cmp ebx, eax
je 0x10b84d8e
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0x600
push ecx
push ebx
push 0x1305
push ebp
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x48]
test eax, eax
je 0x10b84c2a
mov eax, dword [esp + 0x44]
test eax, eax
je 0x10b84c53
mov edi, dword [esi + 0x2c]
lea eax, [ebx + 1]
xor ebx, ebx
cmp eax, edi
setge bl
dec ebx
and ebx, eax
mov eax, dword [esi + 0x30]
cmp ebx, eax
jne 0x10b84bf3
mov eax, 1
mov dword [esi + 0x64], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 0xc
push 0
push ebx
mov ecx, esi
call fcn.10b85700
mov eax, 1
mov dword [esi + 0x64], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 0xc
call dword [sym.imp.USER32.dll_GetKeyState]
push edi
push ebp
test ah, 0x80
push ebx
mov ecx, esi
je 0x10b84c96
call fcn.10b844d0
mov eax, 1
mov dword [esi + 0x64], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 0xc
call fcn.10b843d0
mov eax, 1
mov dword [esi + 0x64], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 0xc
test al, 4
jne 0x10b84e25
cmp ecx, 0x28
je 0x10b84d4b
cmp ecx, 0x25
je 0x10b84d4b
cmp ecx, 0x26
je 0x10b84d4b
cmp ecx, 0x27
je 0x10b84d4b
cmp ecx, 0xd
jne 0x10b84e25
mov eax, dword [esi + 0x58]
test eax, eax
je 0x10b84e25
push eax
call dword [sym.imp.USER32.dll_GetParent]
cmp eax, ebp
mov eax, dword [esi + 0x58]
push eax
push 0xfffffffffffffff4
push eax
jne 0x10b84d21
call dword [sym.imp.USER32.dll_GetWindowLongA]
and eax, 0xffff
push eax
push 0x111
push ebp
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, 1
mov dword [esi + 0x64], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 0xc
call dword [sym.imp.USER32.dll_GetWindowLongA]
and eax, 0xffff
push eax
push 0x111
push ebx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, 1
mov dword [esi + 0x64], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 0xc
test al, 5
jne 0x10b84e25
test eax, 0x2070
je 0x10b84e25
cmp ecx, 0x28
je 0x10b84d84
cmp ecx, 0x27
je 0x10b84d84
push edi
push ebp
push ebx
mov ecx, esi
call fcn.10b84750
mov eax, 1
mov dword [esi + 0x64], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 0xc
push edi
push ebp
push ebx
mov ecx, esi
call fcn.10b84600
mov eax, 1
mov dword [esi + 0x64], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 0xc
cmp eax, 0x201
jne 0x10b84e25
mov edx, dword [edi]
mov ebp, dword [esp + 0x50]
push edx
push ebp
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x10b84e25
mov ebx, dword [esp + 0x54]
test ebx, ebx
je 0x10b84ddc
mov eax, dword [edi]
push eax
push ebx
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x10b84ddc
mov dword [esi + 0x60], 1
mov ecx, dword [edi]
push ecx
push ebx
jmp 0x10b84de7
mov dword [esi + 0x60], 0
mov edx, dword [edi]
push edx
push ebp
mov ecx, esi
call fcn.10b841a0
push edi
push eax
mov ecx, esi
mov dword [esi + 0x50], eax
call fcn.10b84120
test al, 0x30
je 0x10b84e16
mov ecx, dword [esi + 0x50]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
xor edx, edx
cmp eax, ebx
mov eax, dword [esi + 0x50]
sete dl
push edx
push eax
jmp 0x10b84e1c
mov ecx, dword [esi + 0x54]
push 0
push ecx
push ebx
push ebp
mov ecx, esi
call fcn.10b84140
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3c
ret 0xc