Function at 0x140018ba0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x108
mov qword [rsp + 0xd8], 0xfffffffffffffffe
mov rax, qword [0x140038020]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov dword [rsp + 0x40], 0
mov edx, 0xa
mov rcx, qword [rsp + 0x110]
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x140018e5f
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void____ptr64]
nop
call fcn.14000b9a0
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.140001830
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x140018ca8
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x40], eax
xor eax, eax
cmp eax, 1
je 0x140018c98
call fcn.140004430
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
je 0x140018c98
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r10, qword [rsp + 0x88]
mov r10, qword [r10]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], 0x32
lea rax, [0x140027820]
mov qword [rsp + 0x20], rax
lea r9, [0x140027870]
mov r8d, 0xf9
mov edx, 1
mov rcx, qword [rsp + 0x88]
call qword [r10 + 0x30]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
jmp 0x140018e5f
xor edx, edx
mov rcx, qword [rsp + 0x110]
mov rcx, qword [rcx + 0x10]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x140018cd3
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
jmp 0x140018e5f
mov rdx, qword [rsp + 0x110]
add rdx, 0x18
lea rcx, [rsp + 0x50]
call fcn.1400025b0
nop
lea rcx, [rsp + 0x98]
call fcn.1400187c0
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0xe8], rax
mov rcx, qword [rsp + 0x110]
add rcx, 0x40
mov rdx, qword [rsp + 0xe8]
call fcn.14001a0c0
nop
lea rcx, [rsp + 0x98]
call fcn.14001a2e0
mov rcx, qword [rsp + 0x110]
add rcx, 0x40
call fcn.14001a090
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64____ptr64]
mov r11, qword [rsp + 0x48]
mov rax, qword [rsp + 0x110]
mov qword [r11 + 0x28], rax
mov rax, qword [rsp + 0x48]
add rax, 0x38
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x48]
lea r8, [0x140019220]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov r11, rax
mov rax, qword [rsp + 0x48]
mov qword [rax + 0x30], r11
mov rax, qword [rsp + 0x48]
cmp qword [rax + 0x30], 0
jne 0x140018e44
mov dword [rsp + 0x40], 0x3df9246
xor eax, eax
cmp eax, 1
je 0x140018e2c
call fcn.140004430
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0
je 0x140018e2c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r10, qword [rsp + 0x90]
mov r10, qword [r10]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], 0x3df9246
mov dword [rsp + 0x28], 0x3d
lea rax, [0x1400278e0]
mov qword [rsp + 0x20], rax
lea r9, [0x140027930]
mov r8d, 0xf9
mov edx, 1
mov rcx, qword [rsp + 0x90]
call qword [r10 + 0x30]
nop
lea rcx, [rsp + 0x50]
call fcn.1400025f0
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
jmp 0x140018e5f
lea rcx, [rsp + 0x50]
call fcn.1400025f0
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
jmp 0x140018bd2
mov eax, dword [rsp + 0x40]
and eax, 0xfff
test eax, eax
je 0x140018e79
mov rcx, qword [rsp + 0x110]
call fcn.140019e10
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.1400239c0
add rsp, 0x108
ret