Function at 0x55f99d
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x622f41
push eax
mov dword fs:[0], esp
sub esp, 0x160
push ebx
push ebp
push esi
mov esi, ecx
test esi, esi
push edi
je case.0x55fc19.16
mov eax, dword [esi + 0x1c]
test eax, eax
je case.0x55fc19.16
test byte [esi + 0x80], 1
je case.0x55fc19.16
mov eax, dword [esi]
call dword [eax + 0x1f0]
test byte [eax], 1
jne case.0x55fc19.16
mov ecx, dword [eax + 4]
test ecx, ecx
je case.0x55fc19.16
mov ecx, eax
call fcn.0052e930
test eax, eax
jne case.0x55fc19.16
call dword [sym.imp.USER32.dll_GetFocus]
mov ebp, dword [esp + 0x180]
mov edi, eax
test edi, edi
mov dword [esp + 0x14], edi
je 0x55fbd7
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x40000000
je 0x55fbd7
push edi
call dword [sym.imp.USER32.dll_GetParent]
cmp eax, dword [esi + 0x1c]
jne 0x55fbd7
cmp ebp, 0xd
jne 0x55fa50
mov eax, dword [esi + 0x2d0]
test eax, eax
jl 0x55fa50
push eax
mov ecx, esi
call fcn.00561980
mov ecx, dword [eax + 0x8c]
test ecx, ecx
jne 0x55fbd7
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x12
call edi
mov bx, ax
push 0x11
shr ebx, 0xf
and bl, 1
call edi
shr eax, 0xf
and al, 1
push 0x10
mov byte [esp + 0x17], al
call edi
mov edi, dword [esp + 0x18c]
shr eax, 0xf
and al, 1
test bl, bl
je 0x55faa2
mov ecx, dword [esi + 0x1c]
push 0
push 0
push 0x1f
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov cl, byte [edi]
xor eax, eax
test cl, cl
sete al
jmp 0x55fd71
cmp ebp, 0x1b
jne 0x55fabc
mov ecx, esi
call fcn.005dcea8
mov cl, byte [edi]
xor eax, eax
test cl, cl
sete al
jmp 0x55fd71
cmp ebp, 0x2d
je 0x55fac6
cmp ebp, 0x43
jne 0x55faf0
mov cl, byte [esp + 0x13]
test cl, cl
je 0x55faf4
mov edx, dword [esp + 0x14]
push 0
push 0
push 0x301
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov cl, byte [edi]
xor eax, eax
test cl, cl
sete al
jmp 0x55fd71
mov cl, byte [esp + 0x13]
cmp ebp, 0x58
jne 0x55fb0e
test cl, cl
jne 0x55fb17
mov byte [edi], 1
mov cl, byte [edi]
xor eax, eax
test cl, cl
sete al
jmp 0x55fd71
cmp ebp, 0x2e
jne 0x55fb39
test al, al
je 0x55fb7e
mov eax, dword [esp + 0x14]
push 0
push 0
push 0x300
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov cl, byte [edi]
xor eax, eax
test cl, cl
sete al
jmp 0x55fd71
cmp ebp, 0x56
jne 0x55fb53
test cl, cl
jne 0x55fb5c
mov byte [edi], 1
mov cl, byte [edi]
xor eax, eax
test cl, cl
sete al
jmp 0x55fd71
cmp ebp, 0x2d
jne 0x55fba2
test al, al
je 0x55fafd
mov ecx, dword [esp + 0x14]
push 0
push 0
push 0x302
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov cl, byte [edi]
xor eax, eax
test cl, cl
sete al
jmp 0x55fd71
mov edx, dword [0x6c6c40]
mov eax, dword [esp + 0x14]
push 0
push 0
push edx
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov cl, byte [edi]
xor eax, eax
test cl, cl
sete al
jmp 0x55fd71
cmp ebp, 0x41
jne 0x55fafd
test cl, cl
je 0x55fafd
mov ecx, dword [0x6c6c3c]
mov edx, dword [esp + 0x14]
push 0
push 0
push ecx
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov cl, byte [edi]
xor eax, eax
test cl, cl
sete al
jmp 0x55fd71
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xb8]
mov dl, al
test dl, dl
mov byte [esp + 0x13], dl
je 0x55fc02
cmp ebp, 0x25
je 0x55fbf5
cmp ebp, 0x27
jne 0x55fc02
sub ebp, 0x25
neg ebp
sbb ebp, ebp
and ebp, 0xfffffffe
add ebp, 0x27
lea eax, [ebp - 0xd]
cmp eax, 0x1b
ja case.0x55fc19.23
or ebx, 0xffffffff
xor ecx, ecx
mov cl, byte [eax + 0x56042c]
jmp dword [ecx*4 + 0x560400]
mov edx, dword [esi]
push 0
push 0
mov ecx, esi
call dword [edx + 0x1e8]
jmp case.0x55fc19.16
mov eax, dword [esi + 0x2d0]
test eax, eax
jl case.0x55fc19.16
push eax
mov ecx, esi
call fcn.00561980
mov edi, eax
mov eax, dword [edi + 0x8c]
test eax, eax
je 0x55fd05
mov ebx, dword [edi + 0x88]
test ebx, ebx
je case.0x55fc19.16
mov al, byte [edi + 0xa4]
and al, 1
mov byte [esp + 0x13], al
je case.0x55fc19.16
mov ecx, ebx
call fcn.005dcc64
test eax, 0x10000000
jne 0x55fcf7
mov ecx, dword [esi + 0x2d0]
mov edx, dword [esi]
lea eax, [esp + 0x18]
push 1
push eax
push ecx
mov ecx, esi
call dword [edx + 0x194]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xb8]
push eax
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x44]
push eax
push ecx
mov ecx, edi
call fcn.005546d0
mov ecx, eax
mov edx, dword [ecx]
mov dword [esp + 0x18], edx
mov esi, dword [ecx + 4]
mov dword [esp + 0x1c], esi
mov eax, dword [ecx + 8]
mov dword [esp + 0x20], eax
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x24], ecx
sub ecx, esi
push 0x254
sub eax, edx
push ecx
push eax
push esi
push edx
push 0
mov ecx, ebx
call fcn.005dcdf0
mov ecx, ebx
call fcn.005dcea8
jmp case.0x55fc19.16
mov edx, dword [esp + 0x18c]
mov byte [edx], 1
xor al, al
jmp 0x55fd71
mov edx, dword [edi + 8]
test edx, edx
sete al
test al, al
jne 0x55fd8c
mov edx, dword [edi + 0x7c]
test edx, edx
setne al
test al, al
je 0x55fd8c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xec]
test al, al
jne 0x55fd8c
mov eax, dword [edi + 0x7c]
push edi
push esi
call eax
add esp, 8
lea ecx, [esp + 0x18]
push esi
call fcn.005e109a
mov edx, dword [esi]
lea eax, [esp + 0x18]
push 1
push eax
mov ecx, esi
mov dword [esp + 0x180], 0
call dword [edx + 0xe4]
mov dword [esp + 0x178], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.005e110c
mov al, 1
mov ecx, dword [esp + 0x170]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x16c
ret 0x10
mov ecx, edi
call fcn.00554790
test al, al
jne 0x55fdbc
cmp dword [edi + 8], ebx
jne 0x55fddf
mov ecx, dword [edi]
push 0x6553c8
call fcn.005dda74
test eax, eax
jne 0x55fdbc
mov ecx, dword [edi]
push 0x65b2c0
call fcn.005dda74
test eax, eax
je 0x55fddf
mov eax, dword [edi + 8]
test eax, eax
je 0x55fdd5
mov eax, dword [edi + 0x78]
test eax, eax
je 0x55fdd5
push edi
push esi
call eax
add esp, 8
test al, al
jne case.0x55fc19.16
push edi
mov ecx, esi
call fcn.0055dc20
jmp case.0x55fc19.16
mov dl, byte [esp + 0x13]
mov eax, dword [esi + 0x2d0]
test eax, eax
jge 0x55fdfc
mov eax, dword [esi + 0x350]
test eax, eax
jne 0x55fe64
jmp case.0x55fc19.16
push eax
mov ecx, esi
call fcn.00561980
cmp dword [eax + 8], ebx
jne 0x55fe60
mov eax, dword [eax]
test eax, eax
je 0x55fe1a
mov ecx, dword [eax + 0x1c]
test ecx, ecx
jne 0x55fd01
mov edx, dword [esi]
mov edi, dword [esi + 0x1c]
push ebx
mov ecx, esi
call dword [edx + 0x18c]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push edi
call ebx
test eax, eax
je case.0x55fc19.16
mov ecx, dword [esi + 0x2d0]
mov eax, dword [esi]
push 1
push 1
push 1
push ecx
mov ecx, esi
call dword [eax + 0x190]
push edi
call ebx
test eax, eax
jne 0x55fd01
jmp case.0x55fc19.16
mov dl, byte [esp + 0x13]
cmp ebp, 0x27
jne 0x55fd01
mov al, byte [0x6c6ea8]
test al, al
je case.0x55fc19.16
mov eax, dword [0x6c6c8c]
test dl, dl
jne 0x55fe88
mov eax, dword [0x6c6c90]
mov edx, dword [esi + 0x2e8]
push esi
push 0
push eax
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
jmp case.0x55fc19.16
test byte [esi + 0x2dc], 1
je case.0x55fc19.19
mov eax, dword [esi]
push 0
push 0
mov ecx, esi
call dword [eax + 0x1e8]
jmp case.0x55fc19.16
mov ecx, dword [esi + 0x2f0]
test ecx, ecx
jne 0x55fef5
mov al, byte [0x6c6ea8]
test al, al
je case.0x55fc19.16
mov eax, dword [0x6c6c90]
test dl, dl
jne 0x55fedf
mov eax, dword [0x6c6c8c]
mov ecx, dword [esi + 0x2e8]
push esi
push 0
push eax
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
jmp case.0x55fc19.16
mov edx, dword [ecx]
mov edi, dword [ecx + 0x2d0]
mov ebx, dword [esi + 0x1c]
call dword [edx + 0x1b8]
mov ecx, dword [esi + 0x2f0]
push 0
mov eax, dword [ecx]
call dword [eax + 0x188]
mov ecx, dword [esi + 0x2f0]
push 1
push 1
push 0
mov edx, dword [ecx]
push edi
call dword [edx + 0x190]
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je case.0x55fc19.16
mov ecx, dword [esi + 0x2f0]
mov eax, dword [ecx]
call dword [eax + 0x1b8]
jmp case.0x55fc19.16
mov eax, 3
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x1e4]
mov ecx, dword [esi + 0x350]
test ecx, ecx
jle 0x560355
test eax, eax
jl 0x560355
cmp eax, dword [esi + 0x2d0]
je 0x560355
mov edx, dword [esi]
mov edi, dword [esi + 0x1c]
push 1
push 1
push 0
push eax
mov ecx, esi
call dword [edx + 0x190]
push edi
call dword [sym.imp.USER32.dll_IsWindow]
jmp case.0x55fc19.16
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, 0x80
je 0x55ffc8
test byte [esi + 0x2dc], 4
je case.0x55fc19.16
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1d0]
jmp case.0x55fc19.16
mov eax, 2
jmp 0x55ff52
mov eax, 5
jmp 0x55ff52
mov eax, 4
jmp 0x55ff52
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call edi
test ah, 0x80
jne 0x55fd01
push 0x11
call edi
test ah, 0x80
jne 0x55fd01
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
push 0
push ebp
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov edi, eax
call fcn.005ddc59
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
lea edx, [esp + 0x18]
push 1
lea eax, [esp + 0x78]
push edx
push eax
push edi
push ebp
mov dword [esp + 0x2c], 0
call dword [sym.imp.USER32.dll_ToAsciiEx]
mov eax, dword [esi + 0x2d0]
mov ecx, dword [esp + 0x14]
mov edx, dword [esi]
push 1
push eax
push ecx
mov ecx, esi
call dword [edx + 0x150]
mov ebx, eax
test ebx, ebx
jge 0x5601b4
mov eax, dword [esi + 0x2d0]
test eax, eax
jl 0x5601b4
mov edx, dword [esi]
mov edi, eax
mov eax, dword [esp + 0x14]
or ebp, 0xffffffff
push 1
push ebp
push eax
mov ecx, esi
call dword [edx + 0x150]
cmp eax, edi
jne 0x5601b7
push edi
mov ecx, esi
call fcn.00561980
mov edi, eax
mov eax, dword [edi + 0x8c]
test eax, eax
je 0x56013e
cmp dword [edi + 8], ebp
je 0x56013e
mov ebx, dword [edi + 0x88]
test ebx, ebx
je case.0x55fc19.16
mov cl, byte [edi + 0xa4]
and cl, 1
mov byte [esp + 0x13], cl
je case.0x55fc19.16
mov ecx, ebx
call fcn.005dcc64
test eax, 0x10000000
jne 0x55fcee
mov ecx, dword [esi + 0x2d0]
mov edx, dword [esi]
lea eax, [esp + 0x18]
push 1
push eax
push ecx
mov ecx, esi
call dword [edx + 0x194]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xb8]
push eax
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x54]
push eax
push ecx
mov ecx, edi
call fcn.005546d0
mov ecx, eax
mov edx, dword [ecx]
mov dword [esp + 0x18], edx
mov esi, dword [ecx + 4]
mov dword [esp + 0x1c], esi
mov eax, dword [ecx + 8]
mov dword [esp + 0x20], eax
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x24], ecx
jmp 0x55fcd8
mov edx, dword [edi + 8]
test edx, edx
sete al
test al, al
jne 0x5601a4
mov edx, dword [edi + 0x7c]
test edx, edx
setne al
test al, al
je 0x5601a4
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xec]
test al, al
jne 0x5601a4
mov eax, dword [edi + 0x7c]
push edi
push esi
call eax
add esp, 8
lea ecx, [esp + 0x18]
push esi
call fcn.005e109a
mov eax, dword [esi]
lea ecx, [esp + 0x18]
push 1
push ecx
mov ecx, esi
mov dword [esp + 0x180], 1
call dword [eax + 0xe4]
mov dword [esp + 0x178], ebp
lea ecx, [esp + 0x18]
jmp 0x55fd6a
mov ecx, edi
call fcn.00554790
test al, al
je 0x5601b7
jmp 0x56033a
or ebp, 0xffffffff
cmp dword [esi + 0x2d0], ebx
je 0x55fd01
test ebx, ebx
jl 0x55fd01
mov edx, dword [esi]
mov edi, dword [esi + 0x1c]
push 1
push 1
push 1
push ebx
mov ecx, esi
call dword [edx + 0x190]
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je case.0x55fc19.16
mov ecx, dword [esp + 0x14]
mov eax, dword [esi]
push 1
push ebx
push ecx
mov ecx, esi
call dword [eax + 0x150]
test eax, eax
jge case.0x55fc19.16
push ebx
mov ecx, esi
call fcn.00561980
mov edi, eax
mov eax, dword [edi + 0x8c]
test eax, eax
je 0x5602c5
cmp dword [edi + 8], ebp
je 0x5602c5
mov ebp, dword [edi + 0x88]
test ebp, ebp
je case.0x55fc19.16
mov dl, byte [edi + 0xa4]
and dl, 1
mov byte [esp + 0x13], dl
je case.0x55fc19.16
mov ecx, ebp
call fcn.005dcc64
test eax, 0x10000000
jne 0x5602b9
mov eax, dword [esi]
lea ecx, [esp + 0x18]
push 1
push ecx
push ebx
mov ecx, esi
call dword [eax + 0x194]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xb8]
push eax
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x64]
push eax
push ecx
mov ecx, edi
call fcn.005546d0
mov ecx, eax
push 0x254
mov edx, dword [ecx]
mov dword [esp + 0x1c], edx
mov esi, dword [ecx + 4]
mov dword [esp + 0x20], esi
mov eax, dword [ecx + 8]
mov dword [esp + 0x24], eax
sub eax, edx
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x28], ecx
sub ecx, esi
push ecx
push eax
push esi
push edx
push 0
mov ecx, ebp
call fcn.005dcdf0
mov ecx, ebp
call fcn.005dcea8
jmp case.0x55fc19.16
mov edx, dword [edi + 8]
test edx, edx
sete al
test al, al
jne 0x56032b
mov edx, dword [edi + 0x7c]
test edx, edx
setne al
test al, al
je 0x56032b
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xec]
test al, al
jne 0x56032b
mov eax, dword [edi + 0x7c]
push edi
push esi
call eax
add esp, 8
lea ecx, [esp + 0x2c]
push esi
call fcn.005e109a
mov eax, dword [esi]
lea ecx, [esp + 0x2c]
push 1
push ecx
mov ecx, esi
mov dword [esp + 0x180], 2
call dword [eax + 0xe4]
mov dword [esp + 0x178], ebp
lea ecx, [esp + 0x2c]
jmp 0x55fd6a
mov ecx, edi
call fcn.00554790
test al, al
je case.0x55fc19.16
mov eax, dword [edi + 8]
test eax, eax
je 0x55fdd5
mov eax, dword [edi + 0x78]
test eax, eax
je 0x55fdd5
jmp 0x55fdca
cmp eax, 0xfffffffc
jne 0x55fd01
mov eax, dword [esi]
mov ebp, dword [esi + 0x2d0]
mov edi, dword [esi + 0x1c]
mov ecx, esi
call dword [eax + 0x1d0]
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je case.0x55fc19.16
test ebp, ebp
jl case.0x55fc19.16
mov edi, dword [esi]
mov ebx, dword [esi + 0x1c]
push 1
mov ecx, esi
call dword [edi + 0x1f0]
mov ecx, eax
call fcn.0052e930
neg eax
sbb eax, eax
mov ecx, esi
inc eax
push eax
push 0
push ebp
call dword [edi + 0x190]
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je case.0x55fc19.16
mov edx, dword [esi]
push 2
mov ecx, esi
call dword [edx + 0x1e4]
test eax, eax
jle 0x5603d0
mov ebp, eax
mov edi, dword [esi]
push 1
mov ecx, esi
call dword [edi + 0x1f0]
mov ecx, eax
call fcn.0052e930
neg eax
sbb eax, eax
mov ecx, esi
inc eax
push eax
push 0
push ebp
call dword [edi + 0x190]
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
jmp case.0x55fc19.16