Function at 0x100b4230
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ff8d0
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x1013c014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [ebp + 0x1c], 0
jne 0x100b43e3
mov eax, dword [ebp + 0xc]
cmp eax, 2
jne 0x100b42e2
mov esi, dword [edi + 0x24]
cmp esi, dword [edi + 0x28]
je 0x100b428c
mov ebx, dword [sym.imp.KERNEL32.dll_FreeLibrary]
nop word [eax + eax]
push dword [esi]
call ebx
add esi, 4
cmp esi, dword [edi + 0x28]
jne 0x100b4280
mov eax, dword [edi + 0x24]
mov esi, dword [sym.imp.USER32.dll_DestroyCursor]
mov dword [edi + 0x28], eax
mov eax, dword [edi + 0x4c]
test eax, eax
je 0x100b42a2
push eax
call esi
mov eax, dword [edi + 0x50]
test eax, eax
je 0x100b42ac
push eax
call esi
mov eax, dword [edi + 0x54]
test eax, eax
je 0x100b42b6
push eax
call esi
mov eax, dword [edi + 0x58]
test eax, eax
je 0x100b42c0
push eax
call esi
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x200
jne 0x100b4327
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], 1
push eax
push dword [ebp + 0x14]
sub esp, 8
call fcn.100b4dd0
cmp dword [ebp + 0x10], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
je 0x100b43e3
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x202
jne 0x100b4369
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], 1
push eax
sub esp, 0xc
call fcn.100b5a50
cmp dword [ebp + 0x10], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
je 0x100b43e3
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x204
jne 0x100b4399
mov eax, dword [ebp + 0x18]
mov ecx, dword [edi + 0x48]
mov dword [eax], 0
test ecx, ecx
je 0x100b43e3
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x101
jne 0x100b43f9
cmp dword [edi + 0x48], 3
jl 0x100b43da
cmp dword [edi + 0x74], 0
jne 0x100b43be
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov eax, 3
jns 0x100b43c3
mov eax, 4
mov dword [edi + 0x48], eax
cmp eax, 4
jne 0x100b43d0
mov eax, dword [edi + 0x54]
jmp 0x100b43d3
mov eax, dword [edi + 0x50]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x87
jne 0x100b444e
cmp dword [edi + 0x48], 0
jne 0x100b4422
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x100b441c
cmp dword [eax + 4], 0x100
jne 0x100b441c
cmp dword [eax + 8], 0xd
je 0x100b4422
xor ecx, ecx
xor edx, edx
jmp 0x100b442c
mov ecx, 4
mov edx, 1
mov eax, dword [ebp + 0x18]
mov dword [eax], ecx
test edx, edx
je 0x100b43e3
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x102
jne 0x100b4481
cmp dword [ebp + 0x10], 0xd
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
jne 0x100b43e3
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x215
jne 0x100b4522
cmp dword [edi + 0x48], 0
je 0x100b43da
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 8
push 0x110b
push dword [edi + 4]
mov dword [edi + 0x48], 0
call ebx
push 0
push 0
push 0x111a
push dword [edi + 4]
call ebx
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, dword [edi + 0x5c]
test eax, eax
je 0x100b44e7
push eax
push 9
push 0x110b
push dword [edi + 4]
call ebx
mov esi, dword [sym.imp.USER32.dll_KillTimer]
push 1
push dword [edi + 4]
call esi
push 2
push dword [edi + 4]
call esi
mov eax, dword [edi + 0x64]
test eax, eax
je 0x100b450f
push eax
push 0
push 0x1101
push dword [edi + 4]
call ebx
mov dword [edi + 0x64], 0
mov dword [edi + 0x70], 0
jmp 0x100b43da
cmp eax, 0x113
jne 0x100b4682
mov eax, dword [ebp + 0x10]
cmp eax, 1
jne 0x100b4566
cmp dword [edi + 0x6c], 0
push 0
jle 0x100b4551
push eax
push 0x115
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x100b42c0
push 0
push 0x115
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x100b42c0
cmp eax, 2
jne 0x100b43da
mov eax, dword [edi + 0x70]
test eax, eax
je 0x100b4655
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 2
push 0x1102
push dword [edi + 4]
call esi
push dword [edi + 0x70]
push 4
push 0x110a
push dword [edi + 4]
call esi
test eax, eax
jne 0x100b4655
mov eax, dword [edi + 0x64]
test eax, eax
je 0x100b45b8
push eax
push 0
push 0x1101
push dword [edi + 4]
call esi
mov eax, dword [edi + 0x70]
push 0x2c
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x40]
push 0
push eax
mov dword [ebp - 0x54], 0xffff0001
mov dword [ebp - 0x50], 0x2f
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0x20
mov dword [ebp - 0x44], 0x20
call fcn.100d6eb0
add esp, 0xc
lea ecx, [ebp + 0x14]
mov edx, 0xfbe
call fcn.100aedf0
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x58]
push eax
push 0
push 0x1132
push dword [edi + 4]
call esi
push eax
push 9
push 0x110b
push dword [edi + 4]
mov dword [edi + 0x64], eax
call esi
push dword [edi + 0x64]
push 0
push 0x1114
push dword [edi + 4]
call esi
mov edx, dword [ebp + 0x14]
add edx, 0xfffffff0
mov dword [ebp - 4], 0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100b4655
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 2
push dword [edi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x204e
jne 0x100b43e3
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx + 8]
cmp eax, 0xfffffe36
jne 0x100b46d5
mov esi, dword [ebx + 0x34]
test esi, esi
je 0x100b46b3
mov ecx, esi
call fcn.10086b40
push 0x24
push esi
call fcn.100d4917
add esp, 8
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0xfffffe38
jne 0x100b47c3
cmp byte [edi + 0x40], 0
jne 0x100b42c0
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x100b42c0
mov dword [edi + 0x74], 0
mov edx, dword [ebx + 0x3c]
mov dword [edi + 0x5c], edx
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x100b470f
cmp dword [ecx + 0x1c], 0
jne 0x100b471c
mov eax, dword [eax + 8]
cmp dword [eax - 0xc], 0
jne 0x100b471c
xor al, al
jmp 0x100b471e
mov al, 1
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edx
push 9
push 0x110b
push dword [edi + 4]
mov byte [edi + 0x78], al
call esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetCapture]
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
xor ecx, ecx
mov dword [edi + 0x60], 0
test ax, ax
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
sets cl
mov dword [edi + 0x70], 0
add ecx, 3
mov dword [edi + 0x64], 0
mov dword [edi + 0x48], ecx
test ax, ax
jns 0x100b4780
mov eax, dword [edi + 0x54]
jmp 0x100b4783
mov eax, dword [edi + 0x50]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
push 0
push 9
push 0x110b
push dword [edi + 4]
call esi
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0xfffffe35
jne 0x100b4855
cmp byte [edi + 0x40], 0
je 0x100b47f4
mov eax, dword [ebp + 0x18]
mov ecx, 1
mov dword [eax], ecx
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
push 0
push 0
push 0x110f
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0x434c5348
mov esi, eax
push 0x100759f0
push esi
call dword [sym.imp.COMCTL32.dll_SetWindowSubclass]
mov ecx, dword [ebx + 0x30]
test ecx, ecx
je 0x100b47d4
mov eax, dword [ecx + 0x20]
mov eax, dword [eax]
cmp word [eax], 0
jne 0x100b47d4
push dword [ecx + 0xc]
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [ebp + 0x18]
xor ecx, ecx
mov dword [eax], ecx
lea eax, [ecx + 1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0xfffffe34
jne 0x100b48ce
mov esi, dword [ebx + 0x1c]
test esi, esi
je 0x100b42c0
mov eax, dword [ebx + 0x30]
mov edx, esi
mov dword [ebp + 0x10], eax
lea ecx, [eax + 0xc]
lea eax, [edx + 2]
mov dword [ebp + 0x14], eax
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x100b4880
sub edx, dword [ebp + 0x14]
sar edx, 1
push edx
push esi
call fcn.10021eb0
mov ecx, dword [edi + 0x30]
call fcn.100b8af0
push dword [ebx + 0x10]
mov ecx, edi
push dword [ebp + 0x10]
call fcn.100b4d00
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0xfffffe64
jne 0x100b43e3
mov eax, dword [edi + 0x48]
test eax, eax
je 0x100b4934
cmp word [ebx + 0xc], 0x1b
jne 0x100b48fb
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [ebp + 0x18]
mov dword [eax], 1
jmp 0x100b42c9
cmp eax, 3
jl 0x100b4934
cmp dword [edi + 0x74], 0
jne 0x100b4918
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov eax, 3
jns 0x100b491d
mov eax, 4
mov dword [edi + 0x48], eax
cmp eax, 4
jne 0x100b492a
mov eax, dword [edi + 0x54]
jmp 0x100b492d
mov eax, dword [edi + 0x50]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
cmp word [ebx + 0xc], 0x71
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
jne 0x100b4960
push 0
push 9
push 0x110a
push dword [edi + 4]
call esi
test eax, eax
je 0x100b4960
push eax
push 0
push 0x1141
push dword [edi + 4]
call esi
cmp word [ebx + 0xc], 0x2e
jne 0x100b42c0
push 0
push 9
push 0x110a
push dword [edi + 4]
call esi
test eax, eax
je 0x100b42c0
cmp byte [edi + 0x40], 0
jne 0x100b42c0
push eax
push 0
push 0x1101
push dword [edi + 4]
call esi
mov ecx, dword [edi + 0x30]
call fcn.100b8af0
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18