Function at 0x14004a4b0
Capabilities:
Create thread
Get graphical window text
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x450]
sub rsp, 0x550
mov rax, qword [0x140083180]
xor rax, rsp
mov qword [rbp + 0x440], rax
cmp byte [0x14005c399], 0
jne 0x14004a4ff
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
xorps xmm0, xmm0
lea rdx, str.cod.exe
xor r14d, r14d
lea rcx, [rsp + 0x60]
mov r8d, 7
mov qword [rsp + 0x70], r14
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x78], r14
call fcn.1400446b0
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdi, qword [rsp + 0x78]
mov rbx, rax
mov rsi, qword [rsp + 0x60]
mov dword [rbp - 0x20], 0x130
nop dword [rax + rax]
cmp rdi, 0xf
lea r8, [rsp + 0x60]
lea rcx, [rbp + 0xc]
cmova r8, rsi
sub r8, rcx
movzx edx, byte [rcx]
movzx eax, byte [rcx + r8]
sub edx, eax
jne 0x14004a577
inc rcx
test eax, eax
jne 0x14004a564
mov rcx, rbx
test edx, edx
je 0x14004a592
lea rdx, [rbp - 0x20]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x14004a550
mov ebx, 1
jmp 0x14004a59b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [rbp - 0x18]
lea rcx, [rsp + 0x60]
call fcn.140045550
mov r8d, ebx
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rcx, rax
xor edx, edx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, 0x102
je 0x14004a5e2
mov ecx, 0x45
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
call fcn.1400499b0
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
lea rdx, [rbp - 0x40]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov rcx, qword [str.cod.exe]
call fcn.140046810
cmp eax, dword [rbp - 0x40]
jne 0x14004a5e7
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0x1400836b0], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [0x1400836b8], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
mov qword [0x1400836c0], rax
lea rdx, [rbp - 0x38]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [rbp - 0x38]
mov r8d, dword [rbp - 0x2c]
mov ecx, dword [rbp - 0x34]
mov r9d, dword [rbp - 0x30]
mov eax, r9d
sub eax, edx
mov dword [0x1400836d8], edx
mov dword [0x1400836d0], eax
lea rdx, [rbp + 0x110]
mov eax, r8d
mov dword [0x1400836e0], ecx
sub eax, ecx
mov dword [0x1400836e4], r8d
mov rcx, qword [0x1400836c0]
mov r8d, 0x104
mov dword [0x1400836d4], eax
mov dword [0x1400836dc], r9d
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov rcx, qword [0x1400836c0]
lea rax, [rbp + 0x110]
mov r8d, 0x104
mov qword [0x1400836e8], rax
lea rdx, [rbp + 0x220]
call qword [sym.imp.USER32.dll_GetClassNameA]
mov rcx, qword [0x1400836b8]
lea rax, [rbp + 0x220]
mov r9d, 0x104
mov qword [0x1400836f0], rax
lea r8, [rbp + 0x330]
xor edx, edx
call sub.KERNEL32.dll_K32GetModuleFileNameExA
lea rax, [rbp + 0x330]
mov edx, 0x7f00
mov qword [0x1400836f8], rax
xor ecx, ecx
lea rax, str.TEST
mov qword [0x140083758], rax
call qword [sym.imp.USER32.dll_LoadIconA]
mov edx, 0x7f00
xor ecx, ecx
mov rsi, rax
call qword [sym.imp.USER32.dll_LoadCursorA]
mov rdi, qword [0x140083758]
mov edx, 0x7f00
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.USER32.dll_LoadIconA]
lea rcx, [0x140049760]
mov qword [0x140083700], 0x50
mov qword [0x140083708], rcx
xorps xmm0, xmm0
lea rcx, [0x140083700]
mov qword [0x140083710], r14
mov qword [0x140083718], r14
mov qword [0x140083720], rsi
mov qword [0x140083728], rbx
movdqa xmmword [0x140083730], xmm0
mov qword [0x140083740], rdi
mov qword [0x140083748], rax
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov rcx, qword [0x1400836c0]
test rcx, rcx
je 0x14004a7f1
lea rdx, [0x140083b40]
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [0x1400836c0]
lea rdx, [0x140083b50]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [0x140083b50]
mov ecx, dword [0x140083b4c]
mov dword [0x140083b40], eax
mov eax, dword [0x140083b54]
mov dword [0x140083b44], eax
mov eax, dword [0x140083b48]
mov dword [0x1400836d0], eax
mov dword [0x1400836d4], ecx
jmp 0x14004a7fd
mov eax, dword [0x1400836d0]
mov ecx, dword [0x1400836d4]
mov rdx, qword [0x140083758]
mov r9d, 0x90000000
mov qword [rsp + 0x58], r14
mov r8, rdx
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x38], ecx
xor ecx, ecx
mov dword [rsp + 0x30], eax
mov eax, dword [0x1400836e0]
mov dword [rsp + 0x28], eax
mov eax, dword [0x1400836d8]
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov rcx, rax
mov qword [0x140083750], rax
lea rdx, [0x14005c380]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov rcx, qword [0x140083750]
mov edx, 0xffffffec
mov r8d, 0x800a0
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x140083750]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x140083750]
call qword [sym.imp.USER32.dll_UpdateWindow]
lea rdx, [0x140083760]
mov ecx, 0x20
call sub.d3d9.dll_Direct3DCreate9Ex
test eax, eax
js 0x14004aa23
mov eax, dword [0x1400836d0]
lea rdx, [0x140083768]
mov rcx, qword [0x140083760]
mov r8d, 1
mov r9, qword [0x140083750]
mov qword [rsp + 0x38], rdx
lea rdx, [rbp - 0x80]
mov dword [rbp - 0x80], eax
mov eax, dword [0x1400836d4]
mov qword [rbp - 0x74], r14
mov qword [rbp - 0x68], 1
mov qword [rbp - 0x50], 0x50
mov dword [rbp - 0x58], 1
mov qword [rbp - 0x60], r9
mov dword [rbp - 0x6c], r14d
mov dword [rbp - 0x78], 0x15
mov dword [rbp - 0x7c], eax
mov dword [rbp - 0x54], 1
mov dword [rbp - 0x44], 1
mov dword [rbp - 0x48], r14d
mov rax, qword [rcx]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rdx
xor edx, edx
mov dword [rsp + 0x20], 0x40
call qword [rax + 0xa0]
test eax, eax
jns 0x14004a951
mov rcx, qword [0x140083760]
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x14004aa23
xor ecx, ecx
call fcn.140007bb0
call fcn.14000a020
mov rbx, rax
call fcn.14000a020
cmp byte [rax + 0x390], r14b
jne 0x14004a981
call fcn.14000a020
cmp byte [rax + 0x392], r14b
jne 0x14004a981
call fcn.14000a020
or dword [rbx], 1
mov rcx, qword [0x140083750]
call fcn.14002a450
mov rcx, qword [0x140083768]
call fcn.140029810
mov rcx, qword [0x140083760]
mov rax, qword [rcx]
call qword [rax + 0x10]
call fcn.14000a020
xor edx, edx
mov rcx, qword [rax + 0xa0]
call fcn.140019f30
lea rcx, [rbp + 0x110]
call fcn.140019390
mov dword [rbp + 0x134], 0x3f99999a
call fcn.14000a020
movss xmm3, dword [0x14004e154]
lea rcx, [rbp + 0x110]
mov qword [rsp + 0x28], r14
lea rdx, [0x14005c450]
mov qword [rsp + 0x20], rcx
mov r8d, 0xe
mov rcx, qword [rax + 0xa0]
call fcn.14001a470
mov qword [0x140083b08], rax
call fcn.14000a020
xor edx, edx
mov rcx, qword [rax + 0xa0]
call fcn.140019f30
mov qword [rsp + 0x28], r14
lea r8, [0x140046b70]
xor r9d, r9d
mov dword [rsp + 0x20], r14d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, 0x190
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Beep]
call fcn.1400468c0
jmp 0x14004aa51