Function at 0x40b9d0
Capabilities:
Log keystrokes via polling
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40e875
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x414008]
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
mov esi, ecx
lea ebx, [esi + 0x9c]
push ebx
call fcn.004077c0
mov edi, eax
mov dword [ebp - 0x2c], edi
test edi, edi
je 0x40bbec
mov cl, byte [esi + 0x95]
lea eax, [esi + 0x95]
test cl, cl
jne 0x40bb2a
mov al, 1
lea ecx, [esi + 0x94]
xchg byte [ecx], al
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.e_36m
call fcn.00401d80
cmp dword [ebx + 0x14], 0x10
mov edx, ebx
jb 0x40ba4e
mov edx, dword [ebx]
push dword [ebx + 0x10]
mov ecx, eax
call fcn.00402a10
add esp, 4
mov edx, str._found_with_process_ID
mov ecx, eax
call fcn.00401d80
push edi
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
mov edx, str.e_0m
mov ecx, eax
call fcn.00401d80
push 0x401fc0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push edi
lea eax, [ebp - 0x28]
push eax
call fcn.00407a20
push edi
sub esp, 0x18
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.004066e0
lea ecx, [esi + 0x20]
call fcn.00407b70
mov al, 1
lea ecx, [esi + 0x95]
xchg byte [ecx], al
push dword [ebp - 0x2c]
mov edi, dword [0x414858]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
sub esp, 0x1c
mov edx, edi
mov ecx, eax
call fcn.00402d10
mov dword [ebp - 4], 0xffffffff
add esp, 0x1c
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x40bb21
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40bb17
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bcad
push ecx
push edx
call fcn.0040cbca
add esp, 8
mov edi, dword [ebp - 0x2c]
lea eax, [esi + 0x95]
mov al, byte [eax]
test al, al
je 0x40bc79
push 0x2d
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x40bc79
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.e_35m
call fcn.00401d80
mov edx, str.You_pressed_INSERT__Search_for_new_modules_that_have_not_yet_been_injected...
mov ecx, eax
call fcn.00401d80
mov edx, str.e_0m
mov ecx, eax
call fcn.00401d80
push 0x401fc0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push edi
lea eax, [ebp - 0x28]
push eax
call fcn.00407a20
push edi
sub esp, 0x18
mov dword [ebp - 4], 1
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.004066e0
lea ecx, [esi + 0x20]
call fcn.00407b70
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x40bc79
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40bbdd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bcad
push ecx
push edx
call fcn.0040cbca
add esp, 8
jmp 0x40bc79
mov al, byte [esi + 0x94]
lea ecx, [esi + 0x94]
test al, al
je 0x40bc79
mov al, byte [esi + 0x95]
lea edi, [esi + 0x95]
test al, al
je 0x40bc79
xor al, al
xchg byte [ecx], al
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.e_31m
call fcn.00401d80
cmp dword [ebx + 0x14], 0x10
mov edx, ebx
jb 0x40bc2a
mov edx, dword [ebx]
push dword [ebx + 0x10]
mov ecx, eax
call fcn.00402a10
add esp, 4
mov edx, str._is_closed._Waiting_for_the_game_to_start..._n
mov ecx, eax
call fcn.00401d80
mov edx, str.e_0m
mov ecx, eax
call fcn.00401d80
push 0x401fc0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
xor al, al
xchg byte [edi], al
mov ecx, dword [esi + 0x38]
mov edx, dword [esi + 0x3c]
cmp ecx, edx
je 0x40bc79
push ecx
call fcn.00405800
mov eax, dword [esi + 0x38]
add esp, 4
mov dword [esi + 0x3c], eax
cmp dword [esi + 0xc4], 0
je 0x40bc92
lea eax, [esi + 0xb4]
push eax
call fcn.004077c0
test eax, eax
je 0x40bcb3
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x34], 0
call fcn.0040beb0
jmp 0x40ba03
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]