Function at 0x14004c850
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x140063040]
xor rax, rsp
mov qword [rbp + 0x70], rax
xorps xmm0, xmm0
lea rdx, str.config.json
xor edi, edi
lea rcx, [rsp + 0x30]
mov r8d, 0xb
mov qword [rsp + 0x40], rdi
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x48], rdi
call fcn.140008b60
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x110
call sub.VCRUNTIME140.dll_memset
cmp qword [rsp + 0x48], 0xf
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
cmova rdx, qword [rsp + 0x30]
call fcn.140003060
mov rax, qword [rsp + 0x50]
lea r8, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x50], r8
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x4c], edx
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
mov ebx, dword [rsp + rcx + 0x60]
mov qword [rsp + rcx + 0x50], r8
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x4c], edx
lea rcx, [rsp + 0x60]
call fcn.140003d60
lea rcx, [rsp + 0x68]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14004c979
mov rcx, qword [rsp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004c974
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004c974
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004e3b4
test ebx, ebx
jne 0x14004c982
call fcn.140001a00
lea rbx, str.BBQClient_WinGDK_Shipping.exe
mov rcx, rbx
call fcn.14004d8d0
mov dword [0x140069e40], eax
test eax, eax
je 0x14004c9e6
mov rdx, rbx
mov qword [0x140069e38], rbx
call fcn.14004d9b0
mov r8d, dword [0x140069e40]
xor edx, edx
mov ecx, 0x1fffff
mov qword [0x140069e80], rax
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [0x140069e70], rax
mov rax, qword [0x140069e80]
add rax, 0x6b1fc40
mov qword [0x140069e68], 0x6ca0bb0
jmp 0x14004ca54
lea rbx, str.BBQClient_Win64_Shipping.exe
mov rcx, rbx
call fcn.14004d8d0
test eax, eax
je 0x14004cb0b
mov rcx, rbx
mov qword [0x140069e38], rbx
call fcn.14004d8d0
mov rdx, rbx
mov dword [0x140069e40], eax
call fcn.14004d9b0
mov r8d, dword [0x140069e40]
xor edx, edx
mov ecx, 0x1fffff
mov qword [0x140069e80], rax
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [0x140069e70], rax
mov rax, qword [0x140069e80]
add rax, 0x6b22d80
mov qword [0x140069e68], 0x6ca3cf0
lea rdx, str.The_Texas_Chain_Saw_Massacre
mov qword [0x140069e78], rax
lea rcx, str.UnrealWindow
call qword [sym.imp.USER32.dll_FindWindowA]
mov ecx, 8
mov qword [0x140069e48], rax
call fcn.14004e2a0
lea rcx, [0x14004df70]
mov r9, rax
lea r8, [0x14004cb30]
xor edx, edx
mov qword [rax], rcx
lea rcx, [rbp + 0x68]
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov dword [rsp + 0x20], edi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x60], rax
test rax, rax
je 0x14004cafc
call fcn.14004cc80
cmp dword [rbp + 0x68], edi
je 0x14004cb0b
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp + 0x68], eax
jne 0x14004cad5
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rbp + 0x60]
lea rcx, [rsp + 0x30]
xor edx, edx
movdqa xmmword [rsp + 0x30], xmm0
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
je 0x14004cb0b
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 6
mov dword [rbp + 0x68], edi
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
xor eax, eax
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.14004e280
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret