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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x250]
sub rsp, 0x350
mov rax, qword [0x1400df080]
xor rax, rsp
mov qword [rbp + 0x240], rax
mov ebx, 4
xor edx, edx
lea ecx, [rdx + 0xa]
call fcn.140039ce0
test eax, eax
je 0x1400534bf
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rbx + rcx]
cmp dword [0x1400e2b84], eax
jle 0x140053498
lea rcx, [0x1400e2b84]
call fcn.1400b4a4c
cmp dword [0x1400e2b84], 0xffffffff
jne 0x140053498
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1400e2b70], rax
lea rcx, [0x1400e2b84]
call fcn.1400b49e0
lea rdx, str.SetThreadDpiAwarenessContext
mov rcx, qword [0x1400e2b70]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400534bf
mov rcx, 0xfffffffffffffffc
call rax
jmp 0x140053544
mov edx, 3
lea ecx, [rdx + 3]
call fcn.140039ce0
test eax, eax
je 0x14005353e
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rbx + rcx]
cmp dword [0x1400e2b80], eax
jle 0x14005351c
lea rcx, [0x1400e2b80]
call fcn.1400b4a4c
cmp dword [0x1400e2b80], 0xffffffff
jne 0x14005351c
lea rcx, str.shcore.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1400e2b78], rax
lea rcx, [0x1400e2b80]
call fcn.1400b49e0
lea rdx, str.SetProcessDpiAwareness
mov rcx, qword [0x1400e2b78]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14005353e
mov ecx, 2
call rax
jmp 0x140053544
call qword [sym.imp.USER32.dll_SetProcessDPIAware]
xor r14d, r14d
mov qword [rbp + 0x10], r14
mov dword [rbp], 0x50
xor ecx, ecx
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov qword [rbp + 0x30], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov qword [rbp + 0x28], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadIconA]
mov qword [rbp + 0x20], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadIconA]
mov qword [rbp + 0x48], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp + 0x18], rax
lea rax, [0x140053310]
mov qword [rbp + 8], rax
lea rdi, str.D3D11_Overlay_ImGui
mov qword [rbp + 0x40], rdi
mov qword [rbp + 0x38], r14
mov dword [rbp + 4], 3
lea rcx, [rbp]
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov esi, 1
mov ecx, esi
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov qword [rsp + 0x58], r14
mov rcx, qword [rbp + 0x18]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
mov r9d, 0x80000000
mov r8, rdi
mov rdx, qword [rbp + 0x40]
mov ecx, 0x8000028
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov rdi, rax
lea r9d, [r14 + 2]
mov r8b, 0xff
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
movdqa xmm0, xmmword [0x1400ceb10]
movdqu xmmword [rbp + 0x90], xmm0
lea rdx, [rbp + 0x90]
mov rcx, rdi
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov qword [rbp - 0x7c], r14
mov qword [rbp - 0x68], 2
mov qword [rbp - 0x50], 2
mov qword [rsp + 0x70], r14
mov dword [rbp - 0x80], Ordinal_32
mov dword [rsp + 0x78], reloc.WLDAP32.dll_Ordinal_60
mov dword [rsp + 0x7c], esi
mov dword [rbp - 0x6c], reloc.WLDAP32.dll_Ordinal_32
mov qword [rbp - 0x60], rdi
mov qword [rbp - 0x74], rsi
mov qword [rbp - 0x58], rsi
mov dword [rbp + 0xa0], 0xb000
mov dword [rbp + 0xa4], 0xa000
lea rbx, [0x1400e2688]
mov qword [rsp + 0x58], rbx
lea rax, [rbp + 0x50]
mov qword [rsp + 0x50], rax
lea r15, [0x1400e2668]
mov qword [rsp + 0x48], r15
lea r12, [0x1400e2690]
mov qword [rsp + 0x40], r12
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, esi
xor ecx, ecx
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
cmp eax, 0x887a0004
jne 0x140053762
mov qword [rsp + 0x58], rbx
lea rax, [rbp + 0x50]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r12
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rsi + 4]
xor ecx, ecx
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
test eax, eax
je 0x14005377e
call fcn.140053290
mov rdx, qword [rbp + 0x18]
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.USER32.dll_UnregisterClassA]
jmp 0x140053ea7
call fcn.140053220
mov edx, 0xa
mov rcx, rdi
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rdi
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rbx, qword [0x1400e2640]
mov ecx, 0x6198
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r9, rax
mov r8, qword [0x1400e2640]
test r8, r8
je 0x14005381b
mov r10d, dword [r8 + 0x3f60]
movsx rax, word [r8 + 0x6048]
lea rdx, [r8 + 0x604c]
lea rdx, [rdx + rax*8]
cmp dword [rdx], r10d
je 0x140053810
lea ecx, [rax + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6048], cx
movsx rax, cx
lea rdx, [r8 + 0x604c]
lea rdx, [rdx + rax*8]
mov dword [rdx], r10d
mov dword [rdx + 4], r14d
inc word [rdx + 4]
inc dword [r8 + 0x6040]
mov qword [rbp + 0xa0], r9
lea rax, [rsp + 0x60]
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], r9
test r9, r9
je 0x140053840
xor edx, edx
mov rcx, r9
call fcn.14000aa20
jmp 0x140053843
mov rax, r14
mov qword [0x1400e2640], rax
call fcn.14000ed20
test rbx, rbx
je 0x14005385d
mov qword [0x1400e2640], rbx
jmp 0x140053864
mov rbx, qword [0x1400e2640]
or dword [rbx + 8], 1
xor ecx, ecx
call fcn.14002d560
mov edx, 2
mov rcx, rdi
call qword [sym.imp.USER32.dll_MonitorFromWindow]
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rbp + 0x68], xmm0
movups xmmword [rbp + 0x78], xmm0
mov qword [rbp + 0x88], rcx
mov dword [rbp + 0x68], Ordinal_46
lea rdx, [rbp + 0x68]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetMonitorInfoA]
mov eax, dword [rbp + 0x78]
sub eax, dword [rbp + 0x70]
cmp eax, 0x438
jle 0x140053923
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
mov byte [rsp + 0x7c], 1
mov dword [rbp - 0x78], 2
mov dword [rbp - 0x74], esi
mov dword [rbp - 0x4c], 0x7f7fffff
mov dword [rbp - 0x40], 0x3f800000
mov dword [rbp - 0x3c], 0x3f800000
mov eax, 0xffff
mov word [rbp - 0x38], ax
mov dword [rbp - 0x7c], 0x41d00000
lea rdx, [rsp + 0x70]
mov rcx, qword [0x1400e2640]
mov rcx, qword [rcx + 0x38]
call fcn.140031d90
mov rax, qword [0x1400e2640]
mov qword [rax + 0x20], r14
mov rcx, rdi
call fcn.140037cc0
call fcn.140037af0
xor bl, bl
nop dword [rax]
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x14005399c
nop dword [rax + rax]
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_DispatchMessageA]
movzx ebx, bl
cmp dword [rsp + 0x78], 0x12
cmove ebx, esi
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x140053960
mov ecx, reloc.WLDAP32.dll_Ordinal_35
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
movzx ebx, bl
cmovne ebx, esi
mov rcx, qword [0x1400e2680]
test rcx, rcx
je 0x1400539f7
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1400539f0
lea rdx, [rbp + 0x50]
mov rcx, qword [0x1400e2680]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [0x1400e2660]
cmp dword [rbp + 0x50], eax
jne 0x1400539f0
mov eax, dword [0x1400e2678]
mov rcx, qword [0x1400e2680]
jmp 0x140053a05
mov rcx, qword [0x1400e2680]
mov eax, dword [0x1400e2678]
test eax, eax
jne 0x140053c5c
test bl, bl
jne 0x140053c5c
test rcx, rcx
je 0x140053a55
test eax, eax
je 0x140053a55
lea rdx, [rbp + 0x58]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [rbp + 0x64]
mov r9d, dword [rbp + 0x5c]
sub ecx, r9d
sub ecx, 0x1d
mov eax, dword [rbp + 0x60]
mov r8d, dword [rbp + 0x58]
sub eax, r8d
sub eax, 5
mov dword [rsp + 0x30], 0x40
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], eax
xor edx, edx
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetWindowPos]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r8d, 0x7d
lea rdx, [rbp + 0xc0]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetClassNameA]
test eax, eax
je 0x140053b2b
mov r8d, 0x7d
lea rdx, [rbp + 0x140]
mov rcx, qword [0x1400e2680]
call qword [sym.imp.USER32.dll_GetClassNameA]
test eax, eax
je 0x140053b2b
mov r8d, 0x7d
lea rdx, [rbp + 0x1c0]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetClassNameA]
test eax, eax
je 0x140053b2b
lea rax, [rbp + 0xc0]
lea r8, [rbp + 0x140]
sub r8, rax
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140053ae3
inc rax
test ecx, ecx
jne 0x140053ad0
test edx, edx
je 0x140053b8f
lea rax, [rbp + 0xc0]
lea r8, [rbp + 0x1c0]
sub r8, rax
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140053b13
inc rax
test ecx, ecx
jne 0x140053b00
test edx, edx
je 0x140053b8f
mov edx, 0xffffffec
mov r8d, 0x800a8
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetWindowLongA]
cmp dword [0x1400e2678], 0
je 0x140053b8f
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
mov rcx, qword [0x1400e2688]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x1400e2670]
mov edx, esi
call qword [rax + 0x108]
mov rcx, qword [0x1400e2688]
mov rax, qword [rcx]
lea r8, [rbp + 0xa0]
mov rdx, qword [0x1400e2670]
call qword [rax + 0x190]
mov rcx, qword [0x1400e2690]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, esi
call qword [rax + 0x40]
jmp 0x140053940
mov rax, qword [0x1400e2640]
test rax, rax
je 0x140053ba4
mov rcx, qword [rax + 0x98]
jmp 0x140053ba7
mov rcx, r14
cmp qword [rcx + 0x48], 0
jne 0x140053bb3
call fcn.1400375d0
call fcn.1400386d0
call fcn.140011220
call fcn.140008f10
call fcn.140012df0
mov edx, 0xffffffec
mov rcx, rdi
cmp byte [reloc.WS2_32.dll_accept], 1
mov r8d, 0x80088
je 0x140053be4
mov r8d, 0x800a8
call qword [sym.imp.USER32.dll_SetWindowLongA]
call fcn.1400131f0
xorps xmm0, xmm0
movups xmmword [rbp + 0xb0], xmm0
mov rcx, qword [0x1400e2688]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x1400e2670]
mov edx, esi
call qword [rax + 0x108]
mov rcx, qword [0x1400e2688]
mov rax, qword [rcx]
lea r8, [rbp + 0xb0]
mov rdx, qword [0x1400e2670]
call qword [rax + 0x190]
mov rax, qword [0x1400e2640]
mov rcx, qword [rax + 0x4ad0]
mov rax, qword [rcx]
add rax, 0x48
mov rcx, r14
cmp byte [rax], r14b
cmovne rcx, rax
call fcn.140036970
jmp 0x140053b78
mov rbx, qword [0x1400e2640]
test rbx, rbx
je 0x140053c71
mov rsi, qword [rbx + 0x98]
jmp 0x140053c74
mov rsi, r14
call fcn.1400379d0
mov rcx, qword [rsi + 0x10]
test rcx, rcx
je 0x140053c88
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rsi]
test rcx, rcx
je 0x140053c96
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x140053ca5
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rbx + 0x88], r14
mov qword [rbx + 0x98], r14
and dword [rbx + 0xc], 0xfffffff7
mov r8, qword [0x1400e2640]
test r8, r8
je 0x140053d23
mov r9d, dword [r8 + 0x3f60]
movsx rdx, word [r8 + 0x6048]
lea rcx, [r8 + 0x604c]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140053d18
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6048], cx
movsx rax, cx
lea rcx, [r8 + 0x604c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x6044]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r8, qword [0x1400e2640]
test r8, r8
je 0x140053d41
mov rsi, qword [r8 + 0x90]
jmp 0x140053d44
mov rsi, r14
lea rbx, [r8 + 8]
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x140053d5e
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov r8, qword [0x1400e2640]
mov qword [rbx + 0x78], r14
mov qword [rbx + 0x88], r14
and dword [rbx + 4], 0xfffffff8
test r8, r8
je 0x140053dd2
mov r9d, dword [r8 + 0x3f60]
movsx rdx, word [r8 + 0x6048]
lea rcx, [rdx*8 + 0x604c]
add rcx, r8
cmp dword [rcx], r9d
je 0x140053dc7
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6048], cx
movsx rax, cx
lea rcx, [rax*8 + 0x604c]
add rcx, r8
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x6044]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x1400e2640]
mov qword [0x1400e2640], rbx
call fcn.14000f1a0
mov qword [0x1400e2640], r14
test rbx, rbx
je 0x140053e78
mov rcx, rbx
call fcn.140025760
mov r8, qword [0x1400e2640]
test r8, r8
je 0x140053e6f
mov r9d, dword [r8 + 0x3f60]
movsx r10, word [r8 + 0x6048]
lea rdx, [r8 + 0x604c]
lea rdx, [rdx + r10*8]
cmp dword [rdx], r9d
je 0x140053e64
lea ecx, [r10 + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6048], cx
movsx rax, cx
lea rdx, [r8 + 0x604c]
lea rdx, [rdx + rax*8]
mov dword [rdx], r9d
mov dword [rdx + 4], r14d
inc word [rdx + 6]
inc dword [r8 + 0x6044]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call fcn.140053290
mov rcx, rdi
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp + 0x18]
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.USER32.dll_UnregisterClassA]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbp + 0x240]
xor rcx, rsp
call fcn.1400b49c0
lea r11, [rsp + 0x350]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret