Function at 0x4367f9
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x20
mov eax, 0x59871b
call fcn.0054f610
mov ebx, dword [ebp + 8]
xor edi, edi
test ebx, ebx
jne 0x436813
mov dword [ebp - 0x24], edi
jmp 0x436819
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.dll_GetFocus]
push eax
mov dword [ebp - 0x28], eax
call fcn.0040f29c
mov esi, eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], esi
cmp eax, 0x100
jb 0x436847
cmp eax, 0x109
jbe 0x436855
add eax, 0xfffffe00
cmp eax, 9
ja 0x43696f
test esi, esi
je 0x43696f
cmp dword [esi + 0x74], edi
jne 0x43688a
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0040f29c
cmp eax, ebx
je 0x43688a
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0040f29c
mov esi, eax
test esi, esi
jne 0x43685d
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x4368bf
mov ecx, dword [esi + 0x74]
test ecx, ecx
je 0x4368bf
mov ecx, dword [ecx + 0x58]
test ecx, ecx
je 0x4368bf
mov eax, dword [ecx]
push dword [ebp + 0xc]
push ecx
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x5a7a70]
call esi
test eax, eax
jne 0x4368bc
inc eax
jmp 0x436a1d
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
cmp eax, 0x101
je 0x4368d7
cmp eax, 0x100
je 0x4368d7
cmp eax, 0x102
jne 0x436912
test esi, esi
je 0x436912
mov edx, dword [esi + 0x74]
test edx, edx
je 0x436912
mov eax, dword [ebp + 0xc]
push 0xd
pop ecx
movzx esi, word [eax + 8]
cmp si, cx
jne 0x4368fa
test byte [edx + 0x84], 1
jne 0x43690b
push 0x1b
pop ecx
cmp si, cx
jne 0x436915
test byte [edx + 0x84], 2
je 0x436915
xor eax, eax
jmp 0x436a1d
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp - 0x14]
push dword [eax]
call fcn.0040f29c
mov ecx, dword [ebp - 0x18]
mov edx, eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
sub ecx, 0x100
je 0x436a25
dec ecx
sub ecx, 1
je 0x436974
sub ecx, 4
jne 0x436a6c
test esi, esi
jne 0x43695d
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x436a6c
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp + 0xc]
push 0x20
pop eax
cmp word [esi + 8], ax
je 0x436a6f
jmp 0x436977
mov eax, dword [ebp + 0xc]
jmp 0x436918
mov esi, dword [ebp + 0xc]
push esi
push edx
call fcn.0043728b
cmp dword [ebp - 0x18], 0x102
jne 0x43698f
test al, 0x84
jne 0x436a6f
movzx ecx, word [esi + 8]
push 9
pop edx
cmp cx, dx
jne 0x4369a3
test al, 2
jne 0x436a6f
push 0x20
pop eax
cmp cx, ax
je 0x43690b
push esi
push dword [ebp - 0x1c]
push ebx
call fcn.004372bb
test eax, eax
je 0x436a6f
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x436a6f
push esi
call fcn.00435170
xor edi, edi
inc edi
mov esi, dword [ebp - 0x14]
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x436a1b
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.0040f29c
push eax
push esi
call fcn.00436e6a
pop ecx
pop ecx
push dword [ebp - 0x24]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x436a1b
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.0040f29c
push eax
push esi
push ebx
call fcn.00436ef7
mov eax, edi
call fcn.0054f56e
ret 8
push dword [ebp + 0xc]
push edx
call fcn.0043728b
mov edx, eax
mov eax, dword [ebp + 0xc]
push 0x1b
movzx ecx, word [eax + 8]
movzx esi, cx
mov dword [ebp - 0x18], ecx
pop ecx
cmp si, cx
ja 0x436b4e
je 0x436bac
cmp esi, 3
je 0x436bac
push 9
pop eax
cmp si, ax
je 0x436abf
push 0xd
pop eax
cmp si, ax
je 0x436b77
mov esi, dword [ebp + 0xc]
test dword [ebx + 0x60], 0x1000
jne 0x4369d5
push esi
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_IsDialogMessageW]
mov edi, eax
test edi, edi
je 0x4369d5
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.0040f29c
mov esi, dword [ebp - 0x14]
cmp eax, esi
je 0x4369d8
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.0040f29c
push eax
call fcn.00436def
pop ecx
jmp 0x4369d8
test dl, 2
jne 0x436a6c
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
xor ecx, ecx
test ax, ax
sets cl
push ecx
mov dword [ebp - 0x18], ecx
mov ecx, ebx
push edi
call fcn.00414a2f
mov ecx, eax
test ecx, ecx
je 0x436a6c
mov eax, dword [ecx + 4]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x436b0d
mov eax, dword [eax]
push dword [ebp + 0xc]
mov esi, dword [eax + 0xac]
mov ecx, esi
call dword [0x5a7a70]
mov ecx, dword [ebp - 0x20]
call esi
jmp 0x4369d2
cmp dword [ecx], 0
je 0x436b1b
push dword [ecx]
call fcn.0040f29c
jmp 0x436b28
push dword [ebp - 0x18]
mov ecx, ebx
push dword [ebp - 0x1c]
call fcn.00425065
mov esi, eax
test esi, esi
je 0x4369d2
mov eax, dword [ebx + 0x70]
push esi
mov dword [eax + 0x70], edi
call fcn.00436fd5
push esi
push dword [ebp - 0x14]
call fcn.00436e6a
pop ecx
pop ecx
jmp 0x4369d2
cmp esi, 0x25
jb 0x436d18
push 0x26
pop ecx
cmp cx, si
jae 0x436c21
cmp esi, 0x28
jbe 0x436c1e
cmp word [ebp - 0x18], 0x2b
jne 0x436d18
test dl, 4
jne 0x436a6c
mov esi, dword [ebp - 0x14]
push esi
call fcn.004367af
pop ecx
test al, 0x10
je 0x436b9d
mov ecx, esi
mov dword [ebp - 0x20], esi
call fcn.00414836
mov dword [ebp - 0x1c], eax
jmp 0x436ba3
push ebx
call fcn.004374a0
mov esi, dword [ebp - 0x20]
test esi, esi
jne 0x436bc0
jmp 0x436baf
push 2
pop eax
push eax
push ebx
call fcn.00437006
mov esi, eax
test esi, esi
je 0x436a6c
mov ecx, esi
call fcn.00414e02
test eax, eax
jne 0x436bd7
push edi
call dword [sym.imp.USER32.dll_MessageBeep]
jmp 0x436a6c
cmp dword [esi + 0x74], edi
je 0x436a6c
push edi
push edi
push edi
mov dword [ebp - 4], edi
xor edi, edi
inc edi
push edi
push 0xfffffdd9
push esi
call fcn.00414d4c
add esp, 0x18
or dword [ebp - 4], 0xffffffff
jmp 0x4369d5
cmp cx, si
sbb ecx, ecx
push eax
push dword [ebp - 0x14]
inc ecx
mov dword [ebp - 0x1c], ecx
call fcn.0043728b
test al, 1
jne 0x436a6c
push 0x26
pop eax
mov ecx, ebx
push edi
cmp si, ax
ja 0x436c4a
call fcn.00414bf4
jmp 0x436c4f
call fcn.004149df
mov esi, eax
test esi, esi
je 0x436a6c
cmp dword [esi + 8], edi
je 0x436c66
push esi
mov ecx, ebx
call fcn.0041504c
mov eax, dword [esi + 4]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x436c8b
mov eax, dword [eax]
push dword [ebp + 0xc]
mov esi, dword [eax + 0xac]
mov ecx, esi
call dword [0x5a7a70]
mov ecx, dword [ebp - 0x20]
jmp 0x436b06
cmp dword [esi], 0
je 0x436c9e
push dword [esi]
call fcn.0040f29c
mov ecx, eax
mov dword [ebp - 0x18], ecx
jmp 0x436cb0
push dword [ebp - 0x1c]
mov ecx, ebx
push dword [ebp - 0x14]
call fcn.004367d5
mov ecx, eax
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x436a6c
mov eax, dword [ebx + 0x70]
push ecx
mov dword [eax + 0x70], edi
call fcn.00436fd5
cmp dword [esi + 8], edi
je 0x4369d2
mov eax, dword [ebp - 0x18]
push 0xfffffffffffffff4
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push edi
xor edi, edi
mov esi, eax
mov eax, dword [ebp - 0x18]
inc edi
push edi
push 0xf1
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x18]
push dword [eax + 0x20]
movzx eax, si
push eax
push 0x111
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp - 0x18]
call fcn.00436fd5
jmp 0x4369d5
mov esi, eax
jmp 0x436a6f