Function at 0x5467c0
Capabilities:
Log keystrokes via polling
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xec
mov eax, dword [0x62d040]
xor eax, esp
mov dword [esp + 0xe4], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x100]
mov ebx, ecx
mov dword [esp + 0x38], ebx
mov esi, edx
cmp edi, 0x201
je 0x5467f7
cmp edi, 0x204
jne 0x5467fe
push ebx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, edi
mov byte [esp + 0x16], 0
sub eax, 0x201
je 0x54692b
sub eax, 1
je 0x546910
sub eax, 2
jne 0x54682b
test byte [esi + 0x20], 2
je 0x54682b
mov ecx, esi
call fcn.005487e0
mov ebp, dword [esp + 0x108]
test byte [esi + 0x20], 2
jne 0x546f17
mov eax, dword [esp + 0x10c]
lea edx, [esp + 0xcc]
mov ecx, esi
mov dword [esp + 0xcc], ebp
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], 3
call fcn.0054a100
mov eax, dword [esp + 0x104]
mov ebx, dword [esp + 0xd8]
and eax, 8
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x104]
and eax, 4
mov dword [esp + 0x2c], eax
mov eax, ebx
and eax, 0x20
mov dword [esp + 0x18], eax
je 0x546993
nop dword [eax]
cmp edi, 0x201
jne 0x5469a8
mov ebx, dword [esp + 0xdc]
mov ecx, esi
mov edx, ebx
mov eax, dword [ebx]
shr eax, 2
not al
and al, 1
movzx eax, al
push eax
call fcn.00549c60
mov ecx, dword [esp + 0xe0]
or edx, 0xffffffff
mov eax, dword [esi + 0x78]
test eax, eax
je 0x546bd2
nop
cmp eax, edi
je 0x546bd2
cmp eax, 0x201
jne 0x546bc5
mov eax, dword [esp + 0x10c]
mov edx, 0xd
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], ebp
mov dword [esi + 0x80], eax
jmp 0x546b34
test byte [esi + 0x20], 2
je 0x54682b
nop word [eax + eax]
call dword [sym.imp.USER32.dll_ReleaseCapture]
jmp 0x54682b
mov ecx, dword [esi + 0x20]
mov ebp, dword [esp + 0x108]
test cl, 0x20
je 0x546832
mov edx, dword [esi + 0x60]
lea eax, [edx - 8]
cmp ebp, eax
jl 0x546832
lea eax, [edx + 8]
cmp ebp, eax
jge 0x546832
or ecx, 2
mov byte [esp + 0x16], 1
push ebx
mov dword [esi + 0x20], ecx
mov dword [esi + 0xc8], ebp
mov dword [esi + 0xcc], edx
call dword [sym.imp.USER32.dll_SetCapture]
push 0
push 0x64
push 1
push ebx
call dword [sym.imp.USER32.dll_SetTimer]
push 0x1b
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
jmp 0x54683c
cmp edi, 0x201
je 0x5469b4
nop dword [eax + eax]
cmp edi, 0x204
je 0x5469b4
mov ebx, dword [esp + 0xdc]
jmp 0x546ac5
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x5469e9
push 0
push 0
push 0x41c
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esi + 0xf8], 0xffffffff
mov dword [esi + 0xfc], 0xffffffff
mov dword [esi + 0x11c], 0xffffffff
mov eax, dword [esp + 0xe0]
and ebx, 0x10
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0xdc]
mov dword [esp + 0x1c], eax
je 0x546bf8
xor ebp, ebp
mov dword [esi + 0x6c], ebx
test byte [esi + 0x2c], 1
je 0x546a99
test byte [ebx], 2
jne 0x546a99
cmp byte [esp + 0x16], 0
jne 0x546a99
mov edx, dword [ebx + 0x20]
lea ecx, [esp + 0x58]
push ecx
push ecx
push eax
mov ecx, esi
call fcn.00549d80
test al, al
je 0x546a99
mov eax, dword [esp + 0x58]
mov ebp, 1
mov ecx, dword [esp + 0x108]
test al, 4
je 0x546a61
cmp ecx, dword [esp + 0x8c]
jl 0x546a61
xor edx, edx
cmp ecx, dword [esp + 0x94]
cmovl ebp, edx
and eax, 0x18
cmp al, 0x18
jne 0x546a99
cmp ecx, dword [esp + 0xac]
jl 0x546a99
cmp ecx, dword [esp + 0xb4]
jge 0x546a99
xor eax, eax
mov edx, ebx
cmp edi, 0x204
mov ecx, esi
sete al
push eax
push dword [esp + 0x30]
push dword [esp + 0x30]
call fcn.0054a560
jmp 0x546abe
xor eax, eax
mov edx, ebx
cmp edi, 0x204
mov ecx, esi
sete al
push eax
push dword [esp + 0x30]
push dword [esp + 0x30]
call fcn.0054a560
test ebp, ebp
jne 0x546bea
mov ebp, dword [esp + 0x108]
mov ecx, dword [esp + 0xe0]
or edx, 0xffffffff
cmp edi, 0x201
je 0x5468d3
nop dword [eax + eax]
cmp edi, 0x204
je 0x5468d3
cmp edi, 0x207
je 0x5468d3
nop dword [eax + eax]
cmp edi, 0x202
je 0x546b74
cmp edi, 0x205
je 0x546b74
cmp edi, 0x208
je 0x546b74
nop dword [eax + eax]
cmp edi, 0x203
jne 0x546b65
mov edx, 0x10
mov eax, dword [esp + 0x10c]
cmp dword [esp + 0x18], 0
jne 0x546f17
nop
cmp edx, 0xffffffff
je 0x546f17
push dword [esp + 0x104]
push ecx
push ebx
push eax
push ebp
mov ecx, esi
call fcn.00548bc0
nop dword [eax + eax]
jmp 0x546f17
cmp edi, 0x206
jne 0x546b2d
mov edx, 0x11
jmp 0x546b2d
mov eax, dword [esi + 0x78]
test eax, eax
je 0x546bb6
nop dword [eax + eax]
cmp dword [esi + 0x7c], ebp
jne 0x546bb6
mov edi, dword [esp + 0x10c]
cmp dword [esi + 0x80], edi
jne 0x546bb6
cmp eax, 0x201
jne 0x546ba9
mov edx, 0xd
mov dword [esi + 0x78], 0
jmp 0x546b2d
xor edx, edx
cmp eax, 0x204
setne dl
add edx, 0xe
mov dword ds:[esi + 0x78], 0
jmp 0x546b2d
xor edx, edx
cmp eax, 0x204
setne dl
add edx, 0xe
mov eax, dword [esp + 0x10c]
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], ebp
mov dword [esi + 0x80], eax
jmp 0x546b34
mov ebp, dword [esp + 0x108]
mov eax, dword [esp + 0xe0]
or ecx, 0xffffffff
mov byte [esp + 0x17], 0
test byte [esp + 0xd8], 0xf
mov byte [esp + 0x24], 0
mov byte [esp + 0x15], 0
jne 0x546dd1
cmp byte ds:[esp + 0x16], 0
jne 0x546dd1
test ebx, ebx
je 0x546c2f
mov ebx, dword [ebx + 0x20]
jmp 0x546c32
or ebx, 0xffffffff
test eax, eax
je 0x546c3b
mov eax, dword [eax + 4]
jmp 0x546c3e
or eax, 0xffffffff
mov edx, dword [esi + 0x1a0]
mov ecx, dword [esi + 0x1a4]
mov dword [esp + 0x18], eax
mov eax, ebp
sub eax, edx
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0x10c]
sub eax, ecx
mov dword [esp + 0xd0], eax
lea eax, [edx + ebp]
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0x10c]
add eax, ecx
push 2
mov dword [esp + 0xdc], eax
lea eax, [esp + 0xd0]
push eax
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_MapWindowPoints]
push dword [esi]
call dword [sym.imp.USER32.dll_SetCapture]
xor eax, eax
mov dword [esp + 0x20], eax
push 1
push 0
push 0
push 0
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
nop dword [eax + eax]
test eax, eax
je 0x546d48
mov eax, dword [esp + 0x40]
add eax, 0xfffffe00
cmp eax, 5
ja case.0x546cd6.515
jmp dword [eax*4 + 0x546f34]
nop dword [eax]
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x20], eax
jmp 0x546d4e
mov eax, dword [esp + 0x50]
cmp eax, dword [esp + 0xcc]
jl 0x546d1f
nop dword [eax]
cmp eax, dword [esp + 0xd4]
jge 0x546d1f
mov eax, dword [esp + 0x54]
cmp eax, dword [esp + 0xd0]
jl 0x546d1f
cmp eax, dword [esp + 0xd8]
jl 0x546d4e
push dword [esi]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
setne byte [esp + 0x16]
jmp 0x546d73
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x546d4e
call dword [sym.imp.USER32.dll_WaitMessage]
push dword [esi]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x546d6e
nop word [eax + eax]
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esi]
je 0x546ca5
mov byte [esp + 0x16], 0
cmp ebx, 0xffffffff
jne 0x546d7c
xor ebx, ebx
jmp 0x546d90
mov eax, dword [esi + 0xd4]
cmp ebx, dword [eax]
jae 0x546f17
mov eax, dword [eax + 8]
mov ebx, dword [eax + ebx*4]
mov eax, dword [esp + 0x18]
cmp eax, 0xffffffff
je 0x546db1
mov edx, eax
mov ecx, esi
call fcn.00548c20
mov dword [esp + 0x1c], eax
test eax, eax
je 0x546f17
cmp byte [esp + 0x16], 0
je 0x546dda
cmp dword [esp + 0x30], 0
mov byte [esp + 0x17], 1
je 0x546df2
test byte [esi + 0x2c], 1
je 0x546df2
test ebx, ebx
je 0x546df2
mov ecx, dword [ebx + 0x20]
mov bl, byte [esp + 0x15]
jmp 0x546e8d
nop word [eax + eax]
cmp edi, 0x201
jne 0x546dfb
cmp dword [esp + 0x20], 0x202
je 0x546e12
mov bl, byte [esp + 0x15]
jmp 0x546e8a
nop dword [eax + eax]
cmp edi, 0x204
jne 0x546df2
cmp dword [esp + 0x20], 0x205
jne 0x546df2
cmp dword [esp + 0x30], 0
je 0x546e30
mov eax, dword [esp + 0x24]
mov ecx, 1
test byte [esi + 0x2c], 1
movzx eax, al
cmovne eax, ecx
mov dword [esp + 0x24], eax
mov ecx, dword [esi]
lea edx, [esp + 0x30]
call fcn.0054ef60
nop dword [eax + eax]
cmp dword [esp + 0x30], ebp
jne 0x546e76
mov eax, dword [esp + 0x10c]
cmp dword [esp + 0x34], eax
jne 0x546e76
push dword [esp + 0x104]
xor edx, edx
mov ecx, esi
push dword [esp + 0x20]
cmp edi, 0x201
push ebx
push eax
setne dl
push ebp
add edx, 0xd
call fcn.00548bc0
cmp edi, 0x204
sete bl
cmp byte [esp + 0x24], 0
jne 0x546efd
or ecx, 0xffffffff
cmp dword [esp + 0x28], 0
jne 0x546ee6
cmp dword [esp + 0x2c], 0
jne 0x546ee6
lea eax, [esp + 0x1c]
mov edx, ecx
push eax
lea eax, [esp + 0x34]
push eax
push 4
push ecx
mov ecx, esi
call fcn.0054a300
mov edx, dword [esp + 0x30]
lea eax, [esp + 0xe4]
push eax
push 1
push dword [esp + 0x24]
mov ecx, esi
call fcn.0054a020
test al, al
je 0x546ee6
push 0
lea eax, [esp + 0xe8]
push eax
push dword [esp + 0x40]
call dword [sym.imp.USER32.dll_InvalidateRect]
cmp byte [esp + 0x17], 0
je 0x546efd
push dword [esp + 0x10c]
mov edx, ebp
mov ecx, esi
call fcn.0054e5a0
nop dword [eax]
test bl, bl
je 0x546f17
mov esi, dword [esi]
call dword [sym.imp.USER32.dll_GetMessagePos]
push eax
push esi
push 0x7b
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0xf4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00583f7f
add esp, 0xec
ret 0x10