Function at 0x1400cc9c0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xd0
mov r14, rcx
xor r12d, r12d
cmp qword [rcx + 0x10], r12
jne 0x1400cca54
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x49], r12
mov qword [rbp - 0x41], reloc.WS2_32.dll_ntohs
lea ecx, [r12 + 0x30]
call fcn.14010bac0
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x49], 0x22
mov qword [rbp - 0x41], 0x2f
movups xmm0, xmmword [str.Ignored_aircraft_load___empty_path]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x140131448]
movups xmmword [rax + 0x10], xmm1
movzx ecx, word [0x140131458]
mov word [rax + 0x20], cx
mov byte [rax + 0x22], r12b
lea rdx, [rbp - 0x59]
xor ecx, ecx
call fcn.1400c9fe0
jmp 0x1400ccc84
mov rax, qword [0x140157aa8]
inc dword [rax + 0x30]
mov rdx, r14
lea rcx, [rbp - 0x39]
call fcn.1400cc600
nop
movabs r15, 0x7fffffffffffffff
mov rax, r15
mov rcx, qword [rbp - 0x29]
sub rax, rcx
cmp rax, 0x10
jb 0x1400ccf2d
lea rax, [rbp - 0x39]
cmp qword [rbp - 0x21], 0xf
cmova rax, qword [rbp - 0x39]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], reloc.WS2_32.dll_recv
lea r9, str.Aircraft_title_
lea rcx, [rbp + 0x17]
call fcn.1400a72c0
nop
mov r8d, 1
lea rdx, [0x14013145c]
lea rcx, [rbp + 0x17]
call fcn.1400a1a60
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], r12
mov qword [rbp - 1], r12
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x19], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 9], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rdx, [rbp - 0x19]
xor ecx, ecx
call fcn.1400c9fe0
nop
lea rcx, [rbp + 0x17]
call fcn.1400672c0
lea rax, [rbp - 0x39]
mov r8, qword [rbp - 0x39]
mov r9, qword [rbp - 0x21]
mov r10, qword [rbp - 0x29]
cmp r9, 0xf
jbe 0x1400ccb32
lea rax, [r10 + r8]
mov rcx, r8
jmp 0x1400ccb39
add rax, r10
lea rcx, [rbp - 0x39]
cmp rcx, rax
je 0x1400ccb5c
nop
cmp byte [rcx], 0x5f
jne 0x1400ccb48
mov byte [rcx], 0x20
inc rcx
cmp rcx, rax
jne 0x1400ccb40
mov r9, qword [rbp - 0x21]
mov r10, qword [rbp - 0x29]
mov r8, qword [rbp - 0x39]
mov rdi, qword [0x140157aa8]
lea rcx, [rdi + 0x58]
lea rax, [rbp - 0x39]
cmp rcx, rax
je 0x1400ccb97
lea rdx, [rbp - 0x39]
cmp r9, 0xf
cmova rdx, r8
mov r8, r10
call fcn.140067390
mov r9, qword [rbp - 0x21]
mov r10, qword [rbp - 0x29]
mov r8, qword [rbp - 0x39]
mov rdi, qword [0x140157aa8]
lea rcx, [rbp - 0x39]
cmp r9, 0xf
cmova rcx, r8
mov qword [rsp + 0x20], 9
lea r9, str.PMDG_737_
xor r8d, r8d
mov rdx, r10
call fcn.1400a56a0
cmp rax, 0xffffffffffffffff
setne byte [0x140157af4]
lea rsi, [0x140154c08]
cmp byte [rdi + 0x4c], 0
jne 0x1400ccca8
mov rdx, rsi
cmp qword [reloc.WS2_32.dll_ntohs], 0xf
cmova rdx, qword [0x140154c08]
lea rcx, [rdi + 0x58]
cmp qword [rdi + 0x70], 0xf
jbe 0x1400ccbfc
mov rcx, qword [rdi + 0x58]
mov r8, qword [rdi + 0x68]
mov rbx, qword [0x140154c18]
cmp r8, rbx
jne 0x1400cccb3
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400cccb3
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x49], r12
mov qword [rbp - 0x41], reloc.WS2_32.dll_ntohs
lea ecx, [rax + 0x30]
call fcn.14010bac0
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x49], 0x24
mov qword [rbp - 0x41], 0x2f
movups xmm0, xmmword [str.Ignored_aircraft_load___same_as_last]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x140131498]
movups xmmword [rax + 0x10], xmm1
mov ecx, dword [0x1401314a8]
mov dword [rax + 0x20], ecx
mov byte [rax + 0x24], 0
lea rdx, [rbp - 0x59]
xor ecx, ecx
call fcn.1400c9fe0
nop
lea rcx, [rbp - 0x39]
call fcn.1400672c0
nop
mov rcx, r14
call fcn.1400672c0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov byte [rdi + 0x4c], 0
mov rbx, qword [0x140154c18]
cmp qword [rdi + 0x68], 0
jne 0x1400ccd25
lea r8, str.AircraftLoaded
xor edx, edx
mov rcx, qword [rdi]
call fcn.1401077f0
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x49], r12
mov qword [rbp - 0x41], reloc.WS2_32.dll_ntohs
mov ecx, 0x30
call fcn.14010bac0
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x49], 0x22
mov qword [rbp - 0x41], 0x2f
movups xmm0, xmmword [str.Ignored_aircraft_load___empty_path]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x140131448]
movups xmmword [rax + 0x10], xmm1
movzx ecx, word [0x140131458]
mov word [rax + 0x20], cx
mov byte [rax + 0x22], 0
jmp 0x1400ccc6e
lea r8, [rdi + 0x58]
cmp rsi, r8
je 0x1400ccd4e
mov rdx, r8
cmp qword [r8 + 0x18], 0xf
jbe 0x1400ccd3b
mov rdx, qword [r8]
mov r8, qword [r8 + 0x10]
mov rcx, rsi
call fcn.140067390
mov rbx, qword [0x140154c18]
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x49], r12
mov qword [rbp - 0x41], r12
cmp qword [reloc.WS2_32.dll_ntohs], 0xf
cmova rsi, qword [0x140154c08]
cmp rbx, r15
ja 0x1400ccf21
mov qword [rbp - 0x41], reloc.WS2_32.dll_ntohs
cmp rbx, 0xf
ja 0x1400ccd94
mov qword [rbp - 0x49], rbx
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x59], xmm0
jmp 0x1400cce26
mov rax, rbx
or rax, 0xf
cmp rax, r15
jbe 0x1400ccdd0
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.14010bac0
mov rcx, rax
test rax, rax
je 0x1400ccef4
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1400cce0a
mov ecx, reloc.WS2_32.dll_shutdown
cmp rax, rcx
cmovb rax, rcx
mov r15, rax
lea rcx, [rax + 1]
cmp rcx, 0x1000
jb 0x1400ccdfb
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400ccf27
jmp 0x1400ccdae
test rcx, rcx
je 0x1400cce07
call fcn.14010bac0
jmp 0x1400cce0a
mov rax, r12
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x49], rbx
mov qword [rbp - 0x41], r15
lea r8, [rbx + 1]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
nop
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x19]
call fcn.1400a0240
nop
mov ecx, 0x20
call fcn.14010bac0
movups xmm0, xmmword [rbp - 0x19]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rbp - 9]
movups xmmword [rax + 0x10], xmm1
mov qword [rbp - 9], r12
mov qword [rbp - 1], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x19], 0
mov qword [rbp + 0x6f], rax
lea rcx, [rbp + 0xf]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x1400cdff0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 7], rax
test rax, rax
je 0x1400ccf11
lea rcx, [rbp - 0x19]
call fcn.1400672c0
cmp dword [rbp + 0xf], 0
je 0x1400ccf05
movaps xmm0, xmmword [rbp + 7]
movdqa xmmword [rbp - 0x19], xmm0
lea rcx, [rbp - 0x19]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x1400ccf05
xorps xmm0, xmm0
movdqa xmmword [rbp + 7], xmm0
mov rdx, qword [rbp - 0x41]
cmp rdx, 0xf
jbe 0x1400ccc7a
inc rdx
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ccefb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400ccefb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14010b6e8
jmp 0x1400ccc7a
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp + 0xf], r12d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
call fcn.1400668f0
int3
call fcn.140066850
int3
call fcn.1400668f0
int3