Function at 0x140038fd0
Capabilities:
Create thread
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r14
lea rbp, [rsp - 0x90]
sub rsp, 0x190
movaps xmmword [rsp + 0x180], xmm6
mov rax, qword [0x140080040]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov r14, qword [0x140093ec0]
xor esi, esi
mov r12, rcx
test r14, r14
jne 0x14003910d
xor edx, edx
mov dword [rbp + 0x60], 0x5f776f61
mov ecx, 2
mov dword [rbp + 0x64], 0x2e657865
mov dword [rbp + 0x68], 0x657865
mov ebx, esi
mov edi, esi
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x1400390a8
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x130
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x14003909a
nop
mov r8d, 0xc
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x5c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x140039088
mov eax, dword [rsp + 0x4c]
cmp rax, rbx
jbe 0x140039088
mov edi, dword [rsp + 0x38]
mov ebx, eax
lea rdx, [rsp + 0x30]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140039060
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rdi, rdi
jne 0x1400390c4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Unknown
lea rcx, str.processID__NULL
call fcn.140040060
mov r8d, edi
mov qword [0x140093eb8], rdi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [0x140093ec0], rax
mov r14, rax
test rax, rax
jne 0x14003910d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, [0x140072408]
lea rcx, str.processHandle__nullptr
call fcn.140040060
mov r14, qword [0x140093ec0]
lea r8, str.8BPH
mov qword [rsp + 0x1c8], r15
xor edx, edx
mov ecx, 0x1f0001
xorps xmm6, xmm6
call qword [sym.imp.KERNEL32.dll_OpenMutexA]
test rax, rax
je 0x140039151
xor r8d, r8d
lea rdx, str.unknown
lea rcx, str.application_is_already_running
call fcn.140040060
mov ebx, 1
jmp 0x140039396
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 ecx, eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
test r14, r14
je 0x140039381
mov rdi, qword [0x1400800e0]
mov ebx, 1
mov ecx, ebx
call fcn.14004c3a4
mov qword [rdi], rax
call fcn.140039e50
mov qword [rdi + 8], rax
test rax, rax
je 0x140039374
mov rcx, qword [0x140093ec0]
lea rdx, [rax + 0x3434668]
mov r9d, 8
mov qword [rbp + 0x60], rsi
lea r8, [rbp + 0x60]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rax, qword [rbp + 0x60]
mov qword [rdi + 0x10], rax
test rax, rax
je 0x140039374
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.14003a070
test al, al
je 0x140039374
mov ecx, 8
mov byte [0x140092e29], sil
call fcn.14004c3a4
lea rcx, [0x140038f80]
mov r9, rax
lea r8, [0x140039460]
xor edx, edx
mov qword [rax], rcx
lea rcx, [rbp + 0x68]
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 [rbp + 0x60], rax
test rax, rax
je 0x140039365
psrldq xmm6, 8
movd eax, xmm6
test eax, eax
jne 0x14003935e
movaps xmm6, xmmword [rbp + 0x60]
lea rdx, str.Gameloop
xorps xmm0, xmm0
lea rcx, str.TXGuiFoundation
movdqa xmmword [rbp + 0x60], xmm0
call qword [sym.imp.USER32.dll_FindWindowA]
test rax, rax
je 0x1400392ac
lea r9, str.AEngineRenderWindow
xor edx, edx
lea r8, str.AEngineRenderWindowClass
mov rcx, rax
call qword [sym.imp.USER32.dll_FindWindowExA]
mov qword [0x140092e40], rax
jmp 0x1400392b3
mov rax, qword [0x140092e40]
test rax, rax
je 0x1400392ec
mov ecx, 0x84
call fcn.14004d190
mov rdx, qword [0x140092e40]
lea rcx, [0x140039ba0]
call fcn.14004d280
lea r9, [0x140039bc0]
xor edx, edx
xor ecx, ecx
mov r8d, 0x1388
call qword [sym.imp.USER32.dll_SetTimer]
call fcn.14003a5e0
mov rcx, r12
call fcn.14003ab10
movdqa xmm0, xmm6
mov byte [0x140092e29], bl
psrldq xmm0, 8
movd edi, xmm0
test edi, edi
jne 0x140039319
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 0x14003932f
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
xor edx, edx
movdqa xmmword [rbp + 0x60], xmm6
lea rcx, [rbp + 0x60]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
je 0x140039350
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 0x140039386
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov ecx, 6
mov dword [rbp + 0x68], 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 0x140039386
mov esi, 1
test r15, r15
je 0x140039394
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ebx, esi
psrldq xmm6, 8
movd eax, xmm6
test eax, eax
je 0x1400393aa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov r15, qword [rsp + 0x1c8]
mov eax, ebx
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.14004be80
mov rbx, qword [rsp + 0x1d0]
movaps xmm6, xmmword [rsp + 0x180]
add rsp, 0x190
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret