Function at 0x5467e0
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 0x546817
cmp edi, 0x204
jne 0x54681e
push ebx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, edi
mov byte [esp + 0x16], 0
sub eax, 0x201
je 0x54694b
sub eax, 1
je 0x546930
sub eax, 2
jne 0x54684b
test byte [esi + 0x20], 2
je 0x54684b
mov ecx, esi
call fcn.00548800
mov ebp, dword [esp + 0x108]
test byte [esi + 0x20], 2
jne 0x546f37
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.0054a120
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 0x5469b3
nop dword [eax]
cmp edi, 0x201
jne 0x5469c8
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.00549c80
mov ecx, dword [esp + 0xe0]
or edx, 0xffffffff
mov eax, dword [esi + 0x78]
test eax, eax
je 0x546bf2
nop
cmp eax, edi
je 0x546bf2
cmp eax, 0x201
jne 0x546be5
mov eax, dword [esp + 0x10c]
mov edx, 0xd
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], ebp
mov dword [esi + 0x80], eax
jmp 0x546b54
test byte [esi + 0x20], 2
je 0x54684b
nop word [eax + eax]
call dword [sym.imp.USER32.dll_ReleaseCapture]
jmp 0x54684b
mov ecx, dword [esi + 0x20]
mov ebp, dword [esp + 0x108]
test cl, 0x20
je 0x546852
mov edx, dword [esi + 0x60]
lea eax, [edx - 8]
cmp ebp, eax
jl 0x546852
lea eax, [edx + 8]
cmp ebp, eax
jge 0x546852
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 0x54685c
cmp edi, 0x201
je 0x5469d4
nop dword [eax + eax]
cmp edi, 0x204
je 0x5469d4
mov ebx, dword [esp + 0xdc]
jmp 0x546ae5
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x546a09
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 0x546c18
xor ebp, ebp
mov dword [esi + 0x6c], ebx
test byte [esi + 0x2c], 1
je 0x546ab9
test byte [ebx], 2
jne 0x546ab9
cmp byte [esp + 0x16], 0
jne 0x546ab9
mov edx, dword [ebx + 0x20]
lea ecx, [esp + 0x58]
push ecx
push ecx
push eax
mov ecx, esi
call fcn.00549da0
test al, al
je 0x546ab9
mov eax, dword [esp + 0x58]
mov ebp, 1
mov ecx, dword [esp + 0x108]
test al, 4
je 0x546a81
cmp ecx, dword [esp + 0x8c]
jl 0x546a81
xor edx, edx
cmp ecx, dword [esp + 0x94]
cmovl ebp, edx
and eax, 0x18
cmp al, 0x18
jne 0x546ab9
cmp ecx, dword [esp + 0xac]
jl 0x546ab9
cmp ecx, dword [esp + 0xb4]
jge 0x546ab9
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.0054a580
jmp 0x546ade
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.0054a580
test ebp, ebp
jne 0x546c0a
mov ebp, dword [esp + 0x108]
mov ecx, dword [esp + 0xe0]
or edx, 0xffffffff
cmp edi, 0x201
je 0x5468f3
nop dword [eax + eax]
cmp edi, 0x204
je 0x5468f3
cmp edi, 0x207
je 0x5468f3
nop dword [eax + eax]
cmp edi, 0x202
je 0x546b94
cmp edi, 0x205
je 0x546b94
cmp edi, 0x208
je 0x546b94
nop dword [eax + eax]
cmp edi, 0x203
jne 0x546b85
mov edx, 0x10
mov eax, dword [esp + 0x10c]
cmp dword [esp + 0x18], 0
jne 0x546f37
nop
cmp edx, 0xffffffff
je 0x546f37
push dword [esp + 0x104]
push ecx
push ebx
push eax
push ebp
mov ecx, esi
call fcn.00548be0
nop dword [eax + eax]
jmp 0x546f37
cmp edi, 0x206
jne 0x546b4d
mov edx, 0x11
jmp 0x546b4d
mov eax, dword [esi + 0x78]
test eax, eax
je 0x546bd6
nop dword [eax + eax]
cmp dword [esi + 0x7c], ebp
jne 0x546bd6
mov edi, dword [esp + 0x10c]
cmp dword [esi + 0x80], edi
jne 0x546bd6
cmp eax, 0x201
jne 0x546bc9
mov edx, 0xd
mov dword [esi + 0x78], 0
jmp 0x546b4d
xor edx, edx
cmp eax, 0x204
setne dl
add edx, 0xe
mov dword ds:[esi + 0x78], 0
jmp 0x546b4d
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 0x546b54
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 0x546df1
cmp byte ds:[esp + 0x16], 0
jne 0x546df1
test ebx, ebx
je 0x546c4f
mov ebx, dword [ebx + 0x20]
jmp 0x546c52
or ebx, 0xffffffff
test eax, eax
je 0x546c5b
mov eax, dword [eax + 4]
jmp 0x546c5e
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 0x546d68
mov eax, dword [esp + 0x40]
add eax, 0xfffffe00
cmp eax, 5
ja case.0x546cf6.515
jmp dword [eax*4 + 0x546f54]
nop dword [eax]
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x20], eax
jmp 0x546d6e
mov eax, dword [esp + 0x50]
cmp eax, dword [esp + 0xcc]
jl 0x546d3f
nop dword [eax]
cmp eax, dword [esp + 0xd4]
jge 0x546d3f
mov eax, dword [esp + 0x54]
cmp eax, dword [esp + 0xd0]
jl 0x546d3f
cmp eax, dword [esp + 0xd8]
jl 0x546d6e
push dword [esi]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
setne byte [esp + 0x16]
jmp 0x546d93
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 0x546d6e
call dword [sym.imp.USER32.dll_WaitMessage]
push dword [esi]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x546d8e
nop word [eax + eax]
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esi]
je 0x546cc5
mov byte [esp + 0x16], 0
cmp ebx, 0xffffffff
jne 0x546d9c
xor ebx, ebx
jmp 0x546db0
mov eax, dword [esi + 0xd4]
cmp ebx, dword [eax]
jae 0x546f37
mov eax, dword [eax + 8]
mov ebx, dword [eax + ebx*4]
mov eax, dword [esp + 0x18]
cmp eax, 0xffffffff
je 0x546dd1
mov edx, eax
mov ecx, esi
call fcn.00548c40
mov dword [esp + 0x1c], eax
test eax, eax
je 0x546f37
cmp byte [esp + 0x16], 0
je 0x546dfa
cmp dword [esp + 0x30], 0
mov byte [esp + 0x17], 1
je 0x546e12
test byte [esi + 0x2c], 1
je 0x546e12
test ebx, ebx
je 0x546e12
mov ecx, dword [ebx + 0x20]
mov bl, byte [esp + 0x15]
jmp 0x546ead
nop word [eax + eax]
cmp edi, 0x201
jne 0x546e1b
cmp dword [esp + 0x20], 0x202
je 0x546e32
mov bl, byte [esp + 0x15]
jmp 0x546eaa
nop dword [eax + eax]
cmp edi, 0x204
jne 0x546e12
cmp dword [esp + 0x20], 0x205
jne 0x546e12
cmp dword [esp + 0x30], 0
je 0x546e50
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.0054ef80
nop dword [eax + eax]
cmp dword [esp + 0x30], ebp
jne 0x546e96
mov eax, dword [esp + 0x10c]
cmp dword [esp + 0x34], eax
jne 0x546e96
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.00548be0
cmp edi, 0x204
sete bl
cmp byte [esp + 0x24], 0
jne 0x546f1d
or ecx, 0xffffffff
cmp dword [esp + 0x28], 0
jne 0x546f06
cmp dword [esp + 0x2c], 0
jne 0x546f06
lea eax, [esp + 0x1c]
mov edx, ecx
push eax
lea eax, [esp + 0x34]
push eax
push 4
push ecx
mov ecx, esi
call fcn.0054a320
mov edx, dword [esp + 0x30]
lea eax, [esp + 0xe4]
push eax
push 1
push dword [esp + 0x24]
mov ecx, esi
call fcn.0054a040
test al, al
je 0x546f06
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 0x546f1d
push dword [esp + 0x10c]
mov edx, ebp
mov ecx, esi
call fcn.0054e5c0
nop dword [eax]
test bl, bl
je 0x546f37
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.00583f9f
add esp, 0xec
ret 0x10