Function at 0x4485f0
Capabilities:
Create thread
Hide graphical window
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b7c95
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4f8f48]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.00442080
push 4
call fcn.004b56e8
mov dword [ebp - 0x14], eax
mov dword [eax], 0x445ea0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
push ecx
push 0
push eax
push 0x44bdd0
push 0
push 0
call esi
add esp, 0x1c
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x448938
mov dword [ebp - 4], 1
cmp byte [0x9705ff], 0
jne 0x44870b
cmp byte [0x9705fd], 0
jne 0x4486eb
push 4
call fcn.004b56e8
mov dword [ebp - 0x14], eax
mov dword [eax], 0x4477a0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
push ecx
push 0
push eax
push 0x44bdd0
push 0
push 0
call esi
add esp, 0x1c
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x4486dc
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.00440b60
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], 0
mov byte [0x9705fd], 1
je 0x4486eb
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
push 6
mov dword [ebp - 0x18], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
mov dword [0x4f8fa0], 0x10
mov dword [0x4f8fac], 3
mov dword [0x4f8fa8], 8
jmp 0x448729
mov dword [0x4f8fa0], 0x18
mov dword [0x4f8fac], 0xa
mov dword [0x4f8fa8], 0x12
push 4
call fcn.004b56e8
mov dword [ebp - 0x14], eax
mov dword [eax], 0x442a00
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
push ecx
push 0
push eax
push 0x44bdd0
push 0
push 0
call esi
add esp, 0x1c
mov dword [ebp - 0x24], eax
test eax, eax
je 0x448929
mov byte [ebp - 4], 5
mov ecx, 4
cmp byte [0x970613], 0
mov eax, dword [0x4f8f80]
cmovne eax, ecx
mov dword [0x4f8fb8], 0xf
cmp byte [0x4f9014], 0
mov dword [0x4f8fc0], 0
mov dword [0x4f8fc4], 1
mov dword [0x4f8fbc], 0
mov word [0x4f8fcb], 1
mov dword [0x4f8f80], eax
je 0x4488eb
call fcn.004439a0
mov ecx, dword [0x971738]
mov eax, 0xdd67c8a7
mov esi, dword [0x971734]
xor ebx, ebx
sub ecx, esi
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x448896
xor edi, edi
cmp byte [esi + edi + 0x64], 0
jne 0x44886c
cmp dword [esi + edi + 0x38], 0
je 0x44881b
cmp dword [0x971830], 0
je 0x44881b
cmp byte [0x4f8f99], 0
jne 0x448814
mov eax, dword [esi + edi + 0x1c]
cmp eax, dword [0x971814]
je 0x44881b
mov ecx, ebx
call fcn.00444cd0
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov esi, dword [0x971734]
test ax, ax
jne 0x448865
cmp byte [esi + edi + 0x8b], 0
je 0x448855
mov eax, dword [esi + edi + 0x3c]
cmp eax, 1
jl 0x448846
cmp eax, 5
jle 0x448865
cmp eax, 0x22
je 0x448865
cmp eax, 0x23
je 0x448865
cmp eax, 0x2d
je 0x448865
cmp byte [0x4f8ff9], 0
je 0x44886c
cmp byte [esi + edi + 0x66], 0
je 0x44886c
mov byte [0x4fc30e], 1
mov ecx, dword [0x971738]
mov eax, 0xdd67c8a7
sub ecx, esi
inc ebx
imul ecx
add edi, 0x94
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x4487e8
cmp byte [0x4fc30e], 0
je 0x4488a8
cmp dword [0x4fc404], 0
jg 0x4488b6
mov byte [0x970612], 0
mov byte [0x970611], 0
call fcn.004482b0
mov dword [0x4fc404], 0
call fcn.00447e30
mov eax, dword [0x4f8f80]
lea ecx, [ebp - 0x1c]
cdq
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
call fcn.0044ac80
cmp byte [0x4f9014], 0
jne 0x4487b8
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::basic_istream_char__struct_std::char_traits_char__::get_void_]
cmp dword [ebp - 0x20], 0
jne 0x4486d6
cmp dword [ebp - 0x28], 0
jne 0x4486d6
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b50b5
mov esp, ebp
pop ebp
ret
push 6
mov dword [ebp - 0x20], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
push 6
mov dword [ebp - 0x28], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3