Function at 0x5738d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ac170
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x5f300c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 0x3c], 0
je 0x573a76
mov eax, dword [ebp + 8]
cmp eax, 9
je 0x573b3a
cmp eax, 0x12
je 0x573b20
cmp eax, 0x1b
je 0x573b14
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x573a76
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetTopWindow]
mov ebx, eax
test ebx, ebx
je 0x573a76
lea esp, [esp]
mov edx, ebx
lea ecx, [ebp - 0x2c]
call fcn.00573090
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp edi, 8
jb 0x573971
mov ecx, eax
mov esi, dword [ebp - 0x1c]
cmp esi, 6
jne 0x57398e
push esi
mov edx, 0x5d7fa0
call fcn.00436670
add esp, 4
test eax, eax
je 0x5739b7
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
cmp edi, 8
jb 0x573998
mov ecx, eax
cmp esi, 6
jne 0x573a54
push esi
mov edx, 0x5d7fb0
call fcn.00436670
add esp, 4
test eax, eax
jne 0x573a54
mov edx, ebx
lea ecx, [ebp - 0x5c]
call fcn.00572f70
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.00560610
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0
call fcn.0040ab30
mov edi, dword [ebp - 0x30]
xor edx, edx
mov esi, dword [ebp - 0x44]
lea eax, [ebp - 0x44]
cmp edi, 0x10
jb 0x5739ed
mov eax, esi
cmp byte [eax + edx], 0
je 0x573a26
lea eax, [ebp - 0x44]
cmp edi, 0x10
jb 0x5739fd
mov eax, esi
cmp byte [eax + edx], 0x26
jne 0x573a23
lea eax, [ebp - 0x44]
cmp edi, 0x10
jb 0x573a0d
mov eax, esi
mov al, byte [eax + edx + 1]
lea ecx, [eax - 0x61]
cmp cl, 0x19
ja 0x573a1b
sub al, 0x20
movsx eax, al
cmp eax, dword [ebp + 8]
je 0x573a96
inc edx
jmp 0x5739e3
cmp edi, 0x10
jb 0x573a54
inc edi
mov eax, esi
cmp edi, 0x1000
jb 0x573a4a
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x573af5
push edi
push esi
call fcn.0059e222
add esp, 8
push 2
push ebx
call dword [sym.imp.USER32.dll_GetWindow]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
mov ebx, eax
call fcn.0040ab30
test ebx, ebx
jne 0x573950
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0059df64
mov esp, ebp
pop ebp
ret 4
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
jb 0x573aa2
mov ecx, dword [ebp - 0x2c]
push 6
mov edx, 0x5d7f80
call fcn.00436670
add esp, 4
test eax, eax
jne 0x573ac5
push eax
push eax
push 0xf5
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x573ad5
push 2
push ebx
call dword [sym.imp.USER32.dll_GetWindow]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
cmp edi, 0x10
jb 0x573b05
inc edi
mov eax, esi
cmp edi, 0x1000
jb 0x573afb
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x573afb
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edi
push esi
call fcn.0059e222
add esp, 8
lea ecx, [ebp - 0x2c]
call fcn.0040ab30
mov al, 1
jmp 0x573a78
mov eax, dword [esi]
call dword [eax + 0x10]
mov al, 1
jmp 0x573a78
push 0
push 0x30002
push 0x128
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x573a76
mov edi, dword [sym.imp.USER32.dll_GetFocus]
call edi
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x573a76
push 0
push 0x30002
push 0x128
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ebx, ax
shr ebx, 0x1f
not bl
and bl, 1
call edi
movzx ecx, bl
xor ecx, 1
push ecx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetNextDlgTabItem]
test eax, eax
je 0x573b9a
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov al, 1
jmp 0x573a78