Function at 0x140038bd0
Capabilities:
Create thread
Execute command

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x14004c040]
xor rax, rsp
mov qword [rbp + 0x190], rax
xor esi, esi
mov dword [rbp + 0x180], esi
lea rax, [rsp + 0x30]
mov qword [rsp + 0x50], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rsi
mov ecx, 0x20
call fcn.14003a608
mov rdx, rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], 0x15
mov qword [rsp + 0x48], 0x1f
movups xmm0, xmmword [str._nOpen_dark_and_darker]
movups xmmword [rax], xmm0
mov eax, dword [0x140045090]
mov dword [rdx + 0x10], eax
movzx eax, byte [0x140045094]
mov byte [rdx + 0x14], al
mov byte [rdx + 0x15], 0
mov r8, qword [rsp + 0x40]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140039a40
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140038cb8
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140038cb3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140038d41
call fcn.14003a414
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [0x140045098]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rdx, str.Dark_and_Darker
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov rbx, rax
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
test rbx, rbx
je 0x140038c12
call fcn.1400376d0
mov edx, 0x190
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Beep]
mov rcx, qword [0x14004ce08]
call fcn.140037240
nop word [rax + rax]
xor edx, edx
lea rcx, str.UnrealWindow
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
jne 0x140038d48
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140038d20
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rdx, [rbp + 0x180]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
call fcn.140031f20
mov edi, 6
test al, al
je 0x140038f1b
mov rbx, qword [0x14004d370]
mov eax, dword [rbp + 0x180]
mov dword [rbx], eax
mov eax, dword [rbp + 0x180]
cmp dword [rbx + 0x20], 0
je 0x140038e3e
mov qword [rbp + 0x188], rsi
mov dword [rsp + 0x50], eax
lea rax, [rbp + 0x188]
mov qword [rsp + 0x58], rax
lea rcx, [0x14004c0c0]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x140038dbd
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
cmp dword [0x14004c10c], 0x7fffffff
jne 0x140038ddc
mov dword [0x14004c10c], 0x7ffffffe
mov ecx, edi
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
lea rax, [rbx + 0x18]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], edi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x184]
mov qword [rsp + 0x48], rax
mov rax, qword [rbx + 8]
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rax + 0x10], xmm1
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
lea rcx, [0x14004c0c0]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov rax, qword [rbp + 0x188]
mov qword [0x14004cdc8], rax
jmp 0x140038f22
mov qword [rsp + 0x50], rsi
mov dword [rbp + 0x184], esi
mov dword [rsp + 0x60], eax
lea rax, [rsp + 0x50]
mov qword [rbp + 0x168], rax
lea rax, [rbp + 0x184]
mov qword [rbp + 0x170], rax
lea r8, str.DungeonCrawler.exe
mov edx, 0xff
lea rcx, [rsp + 0x64]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea rcx, [0x14004c0c0]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x140038e9b
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
cmp dword [0x14004c10c], 0x7fffffff
jne 0x140038eba
mov dword [0x14004c10c], 0x7ffffffe
mov ecx, edi
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
lea rax, [rbx + 0x18]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], 5
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x188]
mov qword [rsp + 0x48], rax
mov rax, qword [rbx + 8]
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rax + 0x10], xmm1
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
lea rcx, [0x14004c0c0]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov rax, qword [rsp + 0x50]
mov qword [0x14004cdc8], rax
jmp 0x140038f22
mov rax, qword [0x14004cdc8]
test rax, rax
jne 0x140038f40
xor r9d, r9d
lea r8, str.ERROR_2391
lea rdx, str.Try_run_.reg_file.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
movzx edx, di
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rcx, str.Do_not_close_loader___n
call fcn.1400309c0
lea rcx, str.END_KEY_for_Unload._n
call fcn.1400309c0
mov edx, 0x190
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Beep]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rax, qword [0x14004cdc8]
mov qword [0x14004ce80], rax
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea r8, [0x1400335d0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.1400380d0
jmp 0x140038fc4