Function at 0x43686f
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x20
mov eax, 0x573c9b
call fcn.0054f3cf
mov ebx, dword [ebp + 8]
xor edi, edi
test ebx, ebx
jne 0x436889
mov dword [ebp - 0x20], edi
jmp 0x43688f
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
call dword [sym.imp.USER32.dll_GetFocus]
push eax
mov dword [ebp - 0x28], eax
call fcn.0041fb43
mov esi, eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], esi
cmp eax, 0x100
jb 0x4368bd
cmp eax, 0x109
jbe 0x4368cb
add eax, 0xfffffe00
cmp eax, 9
ja 0x436998
test esi, esi
je 0x436998
mov eax, esi
mov dword [ebp - 0x18], esi
cmp dword [eax + 0x74], edi
jne 0x43690d
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0041fb43
cmp eax, ebx
mov eax, dword [ebp - 0x18]
je 0x436909
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0041fb43
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x4368d8
test eax, eax
je 0x43693e
mov ecx, dword [eax + 0x74]
test ecx, ecx
je 0x43693e
mov ecx, dword [ecx + 0x58]
test ecx, ecx
je 0x43693e
mov eax, dword [ecx]
push dword [ebp + 0xc]
push ecx
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x580a08]
call esi
test eax, eax
jne 0x436938
inc eax
jmp 0x436a99
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0x101
je 0x436959
cmp ecx, 0x100
je 0x436959
cmp ecx, 0x102
jne 0x436998
test eax, eax
je 0x436998
mov edx, dword [eax + 0x74]
test edx, edx
je 0x436998
mov eax, dword [ebp + 0xc]
push 0xd
movzx ecx, word [eax + 8]
mov dword [ebp - 0x18], ecx
pop ecx
cmp word [ebp - 0x18], cx
jne 0x436986
test byte [edx + 0x84], 1
jne 0x436a26
jmp 0x43699b
push 0x1b
pop ecx
cmp word [ebp - 0x18], cx
jne 0x43699b
test byte [edx + 0x84], 2
jmp 0x43697e
mov eax, dword [ebp + 0xc]
push dword [eax]
call fcn.0041fb43
mov ecx, dword [ebp - 0x1c]
mov edx, eax
mov dword [ebp - 0x18], edx
sub ecx, 0x100
je 0x436aa1
dec ecx
sub ecx, 1
je 0x4369ef
sub ecx, 4
jne 0x436ae8
test esi, esi
jne 0x4369dd
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x436ae8
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp + 0xc]
push 0x20
pop eax
cmp word [esi + 8], ax
je 0x436aeb
jmp 0x4369f2
mov esi, dword [ebp + 0xc]
push esi
push edx
call fcn.00437306
cmp dword [ebp - 0x1c], 0x102
jne 0x436a0a
test al, 0x84
jne 0x436aeb
movzx ecx, word [esi + 8]
push 9
pop edx
cmp cx, dx
jne 0x436a1e
test al, 2
jne 0x436aeb
push 0x20
pop eax
cmp cx, ax
jne 0x436a2a
xor eax, eax
jmp 0x436a99
mov eax, dword [ebp - 0x18]
push esi
push eax
push ebx
call fcn.00437336
test eax, eax
je 0x436aeb
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x436aeb
push esi
call fcn.0043520b
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 0x436a97
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.0041fb43
push eax
push esi
call fcn.00436ee7
pop ecx
pop ecx
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x436a97
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.0041fb43
push eax
push esi
push ebx
call fcn.00436f74
mov eax, edi
call fcn.0054f32d
ret 8
push dword [ebp + 0xc]
push edx
call fcn.00437306
mov edx, eax
mov eax, dword [ebp + 0xc]
push 0x1b
movzx ecx, word [eax + 8]
movzx esi, cx
mov dword [ebp - 0x24], ecx
pop ecx
cmp si, cx
ja 0x436bd6
je 0x436c2b
cmp esi, 3
je 0x436c2b
push 9
pop eax
cmp si, ax
je 0x436b3b
push 0xd
pop eax
cmp si, ax
je 0x436bff
mov esi, dword [ebp + 0xc]
test dword [ebx + 0x60], 0x1000
jne 0x436a51
push esi
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_IsDialogMessageW]
mov edi, eax
test edi, edi
je 0x436a51
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.0041fb43
mov esi, dword [ebp - 0x14]
cmp eax, esi
je 0x436a54
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.0041fb43
push eax
call fcn.00436e6c
pop ecx
jmp 0x436a54
test dl, 2
jne 0x436ae8
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
xor ecx, ecx
test ax, ax
sets cl
push ecx
mov dword [ebp - 0x24], ecx
mov ecx, ebx
push edi
call fcn.00424a96
mov ecx, eax
test ecx, ecx
je 0x436ae8
mov eax, dword [ecx + 4]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x436b89
mov eax, dword [eax]
push dword [ebp + 0xc]
mov esi, dword [eax + 0xac]
mov ecx, esi
call dword [0x580a08]
mov ecx, dword [ebp - 0x1c]
call esi
jmp 0x436a4e
mov eax, dword [ecx]
test eax, eax
jne 0x436baa
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x436b9a
mov eax, edi
jmp 0x436b9d
mov eax, dword [eax + 0x20]
push dword [ebp - 0x24]
push eax
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetNextDlgTabItem]
push eax
call fcn.0041fb43
mov esi, eax
test esi, esi
je 0x436a4e
mov ecx, dword [ebx + 0x70]
push esi
mov dword [ecx + 0x70], edi
call fcn.00437052
push esi
push dword [ebp - 0x14]
call fcn.00436ee7
pop ecx
pop ecx
jmp 0x436a4e
cmp esi, 0x25
jb 0x436d95
push 0x26
pop ecx
cmp cx, si
jae 0x436c99
cmp esi, 0x28
jbe 0x436c96
cmp word [ebp - 0x24], 0x2b
jne 0x436d95
test dl, 4
jne 0x436ae8
mov esi, dword [ebp - 0x14]
push esi
call fcn.00436849
pop ecx
test al, 0x10
je 0x436c23
mov ecx, esi
call fcn.0042489d
test esi, esi
jne 0x436c3f
jmp 0x436c2e
push ebx
call fcn.00437524
jmp 0x436c2e
push 2
pop eax
push eax
push ebx
call fcn.00437083
mov esi, eax
test esi, esi
je 0x436ae8
mov ecx, esi
call fcn.00424e69
test eax, eax
jne 0x436c56
push edi
call dword [sym.imp.USER32.dll_MessageBeep]
jmp 0x436ae8
cmp dword [esi + 0x74], edi
je 0x436ae8
push edi
push edi
push edi
mov dword [ebp - 4], edi
xor edi, edi
inc edi
push edi
push 0xfffffdd9
push esi
call fcn.00424db3
add esp, 0x18
jmp 0x436c8d
or dword [ebp - 4], 0xffffffff
jmp 0x436a51
cmp cx, si
sbb ecx, ecx
push eax
push dword [ebp - 0x14]
inc ecx
mov dword [ebp - 0x1c], ecx
call fcn.00437306
test al, 1
jne 0x436ae8
push 0x26
pop eax
mov ecx, ebx
push edi
cmp si, ax
ja 0x436cc2
call fcn.00424c5b
jmp 0x436cc7
call fcn.00424a46
mov esi, eax
test esi, esi
je 0x436ae8
cmp dword [esi + 8], edi
je 0x436cde
push esi
mov ecx, ebx
call fcn.004250b3
mov eax, dword [esi + 4]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x436d03
mov eax, dword [eax]
push dword [ebp + 0xc]
mov esi, dword [eax + 0xac]
mov ecx, esi
call dword [0x580a08]
mov ecx, dword [ebp - 0x24]
jmp 0x436b82
mov eax, dword [esi]
test eax, eax
jne 0x436d24
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x436d14
mov eax, edi
jmp 0x436d17
mov eax, dword [eax + 0x20]
push dword [ebp - 0x1c]
push eax
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetNextDlgGroupItem]
push eax
call fcn.0041fb43
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x436ae8
mov ecx, dword [ebx + 0x70]
push eax
mov dword [ecx + 0x70], edi
call fcn.00437052
cmp dword [esi + 8], edi
je 0x436a4e
mov eax, dword [ebp - 0x1c]
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 - 0x1c]
inc edi
push edi
push 0xf1
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x1c]
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 - 0x1c]
call fcn.00437052
jmp 0x436a51
mov esi, eax
jmp 0x436aeb