Function at 0x1400399f0
Capabilities:
Create thread
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r14
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
movaps xmmword [rsp + 0x190], xmm6
mov rax, qword [0x140081040]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov r14, qword [0x140094ea0]
xor esi, esi
mov r12, rcx
test r14, r14
jne 0x140039b2d
xor edx, edx
mov dword [rbp + 0x70], 0x5f776f61
lea ecx, [rsi + 2]
mov dword [rbp + 0x74], 0x2e657865
mov dword [rbp + 0x78], 0x657865
mov ebx, esi
mov edi, esi
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x140039ac8
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x130
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x140039aba
mov r8d, 0xc
lea rdx, [rbp + 0x70]
lea rcx, [rsp + 0x6c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x140039aa8
mov eax, dword [rsp + 0x5c]
cmp rax, rbx
jbe 0x140039aa8
mov edi, dword [rsp + 0x48]
mov ebx, eax
lea rdx, [rsp + 0x40]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140039a80
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rdi, rdi
jne 0x140039ae4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Unknown
lea rcx, str.processID__NULL
call fcn.140040aa0
mov r8d, edi
mov qword [0x140094e98], rdi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [0x140094ea0], rax
mov r14, rax
test rax, rax
jne 0x140039b2d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, [0x140073428]
lea rcx, str.processHandle__nullptr
call fcn.140040aa0
mov r14, qword [0x140094ea0]
lea r8, str.8BPH
mov qword [rsp + 0x1d8], r15
xor edx, edx
mov ecx, 0x1f0001
xorps xmm6, xmm6
call qword [sym.imp.KERNEL32.dll_OpenMutexA]
test rax, rax
je 0x140039b71
xor r8d, r8d
lea rdx, str.unknown
lea rcx, str.application_is_already_running
call fcn.140040aa0
mov ebx, 1
jmp 0x140039dbd
lea r8, str.8BPH
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
xor ecx, ecx
mov r15, rax
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
test r14, r14
je 0x140039da8
mov rdi, qword [str.p__t_]
mov ebx, 1
mov ecx, ebx
call fcn.14004d5f4
mov qword [rdi], rax
call fcn.14003a870
mov qword [rdi + 8], rax
test rax, rax
je 0x140039d9b
mov rcx, qword [0x140094ea0]
lea rdx, [rax + 0x3434668]
lea r9d, [rbx + 7]
mov qword [rsp + 0x30], rsi
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rax, qword [rsp + 0x30]
mov qword [rdi + 0x10], rax
test rax, rax
je 0x140039d9b
mov rcx, r12
mov byte [rdi + 0x48], sil
mov qword [rdi + 0x2c], rbx
mov dword [rdi + 0x34], 0x42c80000
mov dword [rdi + 0x38], 0x32
mov dword [rdi + 0x3c], 0x64
call fcn.14003aa90
test al, al
je 0x140039d9b
lea ecx, [rbx + 7]
mov byte [0x140093e09], sil
call fcn.14004d5f4
lea rcx, [0x1400399a0]
mov r9, rax
lea r8, [0x140039e90]
xor edx, edx
mov qword [rax], rcx
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov dword [rsp + 0x20], esi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140039d8b
psrldq xmm6, 8
movd eax, xmm6
test eax, eax
jne 0x140039d84
movaps xmm6, xmmword [rsp + 0x30]
lea rdx, str.Gameloop
xorps xmm0, xmm0
lea rcx, str.TXGuiFoundation
movdqa xmmword [rsp + 0x30], xmm0
call qword [sym.imp.USER32.dll_FindWindowA]
test rax, rax
je 0x140039cd0
lea r9, str.AEngineRenderWindow
xor edx, edx
lea r8, str.AEngineRenderWindowClass
mov rcx, rax
call qword [sym.imp.USER32.dll_FindWindowExA]
mov qword [0x140093e20], rax
jmp 0x140039cd7
mov rax, qword [0x140093e20]
test rax, rax
je 0x140039d10
mov ecx, 0x84
call fcn.14004e250
mov rdx, qword [0x140093e20]
lea rcx, [0x14003a5d0]
call fcn.14004e340
lea r9, [0x14003a5f0]
xor edx, edx
xor ecx, ecx
mov r8d, 0x1388
call qword [sym.imp.USER32.dll_SetTimer]
call fcn.14003b000
mov rcx, r12
call fcn.14003b530
movdqa xmm0, xmm6
mov byte [0x140093e09], bl
psrldq xmm0, 8
movd edi, xmm0
test edi, edi
jne 0x140039d3d
mov ecx, ebx
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp edi, eax
jne 0x140039d53
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
xor edx, edx
movdqa xmmword [rsp + 0x30], xmm6
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
je 0x140039d76
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov rcx, r14
xorps xmm6, xmm6
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140039dad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov ecx, 6
mov dword [rsp + 0x38], esi
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov rcx, r14
mov esi, ebx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140039dad
mov esi, 1
test r15, r15
je 0x140039dbb
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ebx, esi
psrldq xmm6, 8
movd eax, xmm6
test eax, eax
je 0x140039dd1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov r15, qword [rsp + 0x1d8]
mov eax, ebx
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.14004d0d0
mov rbx, qword [rsp + 0x1e0]
movaps xmm6, xmmword [rsp + 0x190]
add rsp, 0x1a0
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret