Function at 0x14004b750
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 [0x1400841c0]
xor rax, rsp
mov qword [rbp + 0x440], rax
cmp byte [0x14005d389], 0
jne 0x14004b79f
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
xor r14d, r14d
lea rdx, str.cod.exe
xorps xmm0, xmm0
mov qword [rsp + 0x70], r14
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x78], r14
movups xmmword [rsp + 0x60], xmm0
lea r8d, [r14 + 7]
call fcn.140045550
xor edx, edx
lea ecx, [rdx + 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 word [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 0x14004b817
inc rcx
test eax, eax
jne 0x14004b804
mov rcx, rbx
test edx, edx
je 0x14004b830
lea rdx, [rbp - 0x20]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x14004b7f0
lea ebx, [rax + 1]
jmp 0x14004b839
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [rbp - 0x18]
lea rcx, [rsp + 0x60]
call fcn.140046400
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 0x14004b880
mov ecx, 0x45
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
call fcn.14004ac40
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
lea rdx, [rbp - 0x40]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov rcx, qword [0x14005d380]
call fcn.1400476d0
cmp eax, dword [rbp - 0x40]
jne 0x14004b885
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0x1400846e8], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [0x1400846f0], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
mov qword [0x1400846f8], 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 [0x14008470c], edx
mov dword [0x1400846ec], eax
lea rdx, [rbp + 0x110]
mov eax, r8d
mov dword [0x140084714], ecx
sub eax, ecx
mov dword [0x140084718], r8d
mov rcx, qword [0x1400846f8]
mov r8d, 0x104
mov dword [0x140084708], eax
mov dword [0x140084710], r9d
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov rcx, qword [0x1400846f8]
lea rax, [rbp + 0x110]
mov r8d, 0x104
mov qword [0x140084720], rax
lea rdx, [rbp + 0x220]
call qword [sym.imp.USER32.dll_GetClassNameA]
mov rcx, qword [0x1400846f0]
lea rax, [rbp + 0x220]
mov r9d, 0x104
mov qword [0x140084728], rax
lea r8, [rbp + 0x330]
xor edx, edx
call sub.KERNEL32.dll_K32GetModuleFileNameExA
lea rax, [rbp + 0x330]
mov edx, 0x7f00
mov qword [0x140084730], rax
xor ecx, ecx
lea rax, str.TEST
mov qword [0x140084790], 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 [0x140084790]
mov edx, 0x7f00
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.USER32.dll_LoadIconA]
lea rcx, [0x14004a9f0]
mov qword [0x140084740], 0x50
mov qword [0x140084748], rcx
xorps xmm0, xmm0
lea rcx, [0x140084740]
mov qword [0x140084750], r14
mov qword [0x140084758], r14
mov qword [0x140084760], rsi
mov qword [0x140084768], rbx
movdqa xmmword [0x140084770], xmm0
mov qword [0x140084780], rdi
mov qword [0x140084788], rax
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov rcx, qword [0x1400846f8]
test rcx, rcx
je 0x14004ba8f
lea rdx, [0x140084b60]
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [0x1400846f8]
lea rdx, [0x140084b70]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [0x140084b70]
mov ecx, dword [0x140084b6c]
mov dword [0x140084b60], eax
mov eax, dword [0x140084b74]
mov dword [0x140084b64], eax
mov eax, dword [0x140084b68]
mov dword [0x1400846ec], eax
mov dword [0x140084708], ecx
jmp 0x14004ba9b
mov eax, dword [0x1400846ec]
mov ecx, dword [0x140084708]
mov rdx, qword [0x140084790]
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 [0x140084714]
mov dword [rsp + 0x28], eax
mov eax, dword [0x14008470c]
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov rcx, rax
mov qword [0x140084738], rax
lea rdx, [0x14005d3e0]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov rcx, qword [0x140084738]
mov edx, 0xffffffec
mov r8d, 0x800a0
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x140084738]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x140084738]
call qword [sym.imp.USER32.dll_UpdateWindow]
lea rdx, [0x140084798]
mov ecx, 0x20
call sub.d3d9.dll_Direct3DCreate9Ex
test eax, eax
js 0x14004bcbf
mov eax, dword [0x1400846ec]
lea rdx, [0x1400847a0]
mov rcx, qword [0x140084798]
mov r9, qword [0x140084738]
mov qword [rsp + 0x38], rdx
lea rdx, [rbp - 0x80]
mov dword [rbp - 0x80], eax
mov eax, dword [0x140084708]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rdx
xor edx, edx
mov qword [rbp - 0x74], r14
mov qword [rbp - 0x68], 1
mov qword [rbp - 0x50], 0x50
mov dword [rbp - 0x58], 1
lea r8d, [rdx + 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 dword [rsp + 0x20], 0x40
call qword [rax + 0xa0]
test eax, eax
jns 0x14004bbed
mov rcx, qword [0x140084798]
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x14004bcbf
xor ecx, ecx
call fcn.140007bc0
call fcn.140009fb0
mov rbx, rax
call fcn.140009fb0
cmp byte [rax + 0x390], r14b
jne 0x14004bc1d
call fcn.140009fb0
cmp byte [rax + 0x392], r14b
jne 0x14004bc1d
call fcn.140009fb0
or dword [rbx], 1
mov rcx, qword [0x140084738]
call fcn.14002b490
mov rcx, qword [0x1400847a0]
call fcn.14002a880
mov rcx, qword [0x140084798]
mov rax, qword [rcx]
call qword [rax + 0x10]
call fcn.140009fb0
xor edx, edx
mov rcx, qword [rax + 0xa0]
call fcn.14001a040
lea rcx, [rbp + 0x110]
call fcn.140019490
mov dword [rbp + 0x134], 0x3f99999a
call fcn.140009fb0
movss xmm3, dword [0x14004f144]
lea rcx, [rbp + 0x110]
mov qword [rsp + 0x28], r14
lea rdx, [0x14005d450]
mov qword [rsp + 0x20], rcx
mov r8d, 0xe
mov rcx, qword [rax + 0xa0]
call fcn.14001a600
mov qword [0x140084b28], rax
call fcn.140009fb0
xor edx, edx
mov rcx, qword [rax + 0xa0]
call fcn.14001a040
mov qword [rsp + 0x28], r14
lea r8, [0x140047a30]
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]
nop dword [rax]
call fcn.140047780
jmp 0x14004bcf0