Function at 0x464660
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x638105
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x6ae654]
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 dword [ebp - 0x10], esp
mov ebx, dword [ebp + 8]
mov dword [ebp - 0xc4], ebx
test ebx, ebx
jne 0x4646a6
lea eax, [ebx + 2]
jmp 0x464b82
xor esi, esi
mov dword [ebp - 0xc8], esi
cmp dword [ebx + 0x10], esi
je 0x464b00
mov dword [ebp - 0xb8], esi
mov dword [ebp - 0xb4], esi
mov dword [ebp - 0xb0], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0xbc], 1
mov dword [ebp - 0xa8], 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
mov edi, dword [eax]
dec edi
mov dword [ebp - 0xdc], edi
cmp edi, 1
jl 0x46486f
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
call fcn.00522a20
mov byte [ebp - 4], 2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___wargv]
push 0x10000
lea ecx, [ebp - 0x5c]
mov eax, dword [eax]
push dword [eax + 4]
call fcn.00523ab0
push dword [0x6ae05c]
lea ecx, [ebp - 0x38]
call fcn.00522860
push esi
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00529500
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
mov ebx, eax
call fcn.00522a50
test ebx, ebx
je 0x464828
mov esi, 1
mov dword [ebp - 0xc8], esi
cmp edi, 2
jl 0x464828
lea ecx, [ebp - 0x38]
call fcn.00522a20
mov byte [ebp - 4], 4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___wargv]
push 0x10000
lea ecx, [ebp - 0x38]
mov eax, dword [eax]
push dword [eax + 8]
call fcn.00523ab0
push dword [0x6ae060]
lea ecx, [ebp - 0x80]
call fcn.00522860
push 0
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00529500
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x80]
mov ebx, eax
call fcn.00522a50
test ebx, ebx
je 0x4647d3
mov dword [ebp - 0xa8], 2
jmp 0x464820
push dword [0x6ae064]
lea ecx, [ebp - 0xa4]
call fcn.00522860
push 0
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00529500
add esp, 0xc
lea ecx, [ebp - 0xa4]
mov ebx, eax
call fcn.00522a50
mov ecx, dword [ebp - 0xa8]
test ebx, ebx
mov eax, 3
cmovne ecx, eax
mov dword [ebp - 0xa8], ecx
lea ecx, [ebp - 0x38]
call fcn.00522a50
lea ecx, [ebp - 0x5c]
call fcn.00522a50
jmp 0x464844
mov ebx, dword [ebp - 0xc4]
mov dword [ebp - 4], 0
test esi, esi
je 0x46486f
xor eax, eax
cmp dword [ebp - 0xa8], 2
sete al
push eax
call fcn.0049aa40
add esp, 4
jmp 0x464a71
test edi, edi
jle 0x464a71
mov ebx, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___wargv]
nop dword [eax]
lea ecx, [ebp - 0x5c]
call fcn.00522a20
mov byte [ebp - 4], 8
call ebx
push 0x10000
lea ecx, [ebp - 0x5c]
mov eax, dword [eax]
push dword [eax + edi*4]
call fcn.00523ab0
lea ecx, [ebp - 0x38]
call fcn.00522a20
push 0x10000
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 9
call fcn.00523770
lea ecx, [ebp - 0x38]
mov esi, eax
call fcn.0046ee30
inc eax
lea ecx, [ebp - 0x5c]
push eax
push esi
call fcn.00522e30
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
jle 0x464986
push eax
lea ecx, [ebp - 0x38]
call fcn.00523770
push 0x24
call fcn.005a4b81
add esp, 4
mov dword [ebp - 0xdc], eax
mov byte [ebp - 4], 0xa
test eax, eax
je 0x46490b
lea ecx, [ebp - 0x38]
push ecx
mov ecx, eax
call fcn.005226b0
jmp 0x46490d
xor eax, eax
push eax
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 9
call fcn.0040f590
mov ecx, dword [ebp - 0xb4]
mov byte [ebp - 4], 0xb
cmp ecx, dword [ebp - 0xb0]
je 0x464968
mov eax, dword [ebp - 0xd0]
mov dword [ecx], eax
mov eax, dword [ebp - 0xcc]
mov dword [ecx + 4], eax
mov esi, dword [ebp - 0xcc]
test esi, esi
je 0x46495c
mov ecx, 1
lea eax, [esi + 4]
lock xadd dword [eax], ecx
mov esi, dword [ebp - 0xcc]
add dword [ebp - 0xb4], 8
jmp 0x464a1e
lea eax, [ebp - 0xd0]
push eax
push ecx
lea ecx, [ebp - 0xb8]
call fcn.0040fc10
mov esi, dword [ebp - 0xcc]
jmp 0x464a1e
push 0x24
call fcn.005a4b81
add esp, 4
mov dword [ebp - 0xc8], eax
mov byte [ebp - 4], 0xc
test eax, eax
je 0x4649ab
lea ecx, [ebp - 0x5c]
push ecx
mov ecx, eax
call fcn.005226b0
jmp 0x4649ad
xor eax, eax
push eax
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 9
call fcn.0040f590
mov ecx, dword [ebp - 0xb4]
mov byte [ebp - 4], 0xd
cmp ecx, dword [ebp - 0xb0]
je 0x464a05
mov eax, dword [ebp - 0xd8]
mov dword [ecx], eax
mov eax, dword [ebp - 0xd4]
mov dword [ecx + 4], eax
mov esi, dword [ebp - 0xd4]
test esi, esi
je 0x4649fc
mov ecx, 1
lea eax, [esi + 4]
lock xadd dword [eax], ecx
mov esi, dword [ebp - 0xd4]
add dword [ebp - 0xb4], 8
jmp 0x464a1e
lea eax, [ebp - 0xd8]
push eax
push ecx
lea ecx, [ebp - 0xb8]
call fcn.0040fc10
mov esi, dword [ebp - 0xd4]
test esi, esi
je 0x464a4e
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x464a4e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
or edx, 0xffffffff
lock xadd dword [eax], edx
cmp edx, 1
jne 0x464a4e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
lea ecx, [ebp - 0x38]
dec edi
call fcn.00522a50
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0
call fcn.00522a50
test edi, edi
jg 0x464880
mov ebx, dword [ebp - 0xc4]
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
mov dword [ebp - 0xac], 0
call esi
bt ax, 0xf
jae 0x464a93
or dword [ebp - 0xac], 2
push 0x11
call esi
bt ax, 0xf
jae 0x464aa5
or dword [ebp - 0xac], 4
push 0x12
call esi
bt ax, 0xf
jae 0x464ab7
or dword [ebp - 0xac], 1
lea eax, [ebp - 0xbc]
push eax
mov eax, dword [ebx + 0x10]
push ebx
call eax
add esp, 8
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 4], 0xe
test eax, eax
je 0x464af9
lea ecx, [ebp - 0xb8]
push ecx
push dword [ebp - 0xb4]
push eax
call fcn.0040fbc0
push dword [ebp - 0xb8]
call fcn.00521bb0
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
mov ebx, dword [sym.imp.USER32.dll_GetMessageW]
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea eax, [ebp - 0xc0]
push eax
call ebx
test eax, eax
je 0x464b51
cmp eax, 0xffffffff
je 0x464b5c
lea eax, [ebp - 0xc0]
push eax
call fcn.00463180
add esp, 4
test eax, eax
jne 0x464b12
lea eax, [ebp - 0xc0]
push eax
call esi
lea eax, [ebp - 0xc0]
push eax
call edi
jmp 0x464b12
mov eax, dword [ebp - 0xb8]
mov dword [0x6bfedc], eax
cmp dword [0x6bfee0], 0
jne 0x464b7d
push dword [ebp - 0xc4]
mov dword [0x6bfee0], 1
call fcn.004625c0
add esp, 4
mov eax, 1
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.005a4e1e
mov esp, ebp
pop ebp
ret