Function at 0x1400cbd50
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 0x1400cbde4
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.14010abe0
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 [0x1401302c0]
movups xmmword [rax + 0x10], xmm1
movzx ecx, word [0x1401302d0]
mov word [rax + 0x20], cx
mov byte [rax + 0x22], r12b
lea rdx, [rbp - 0x59]
xor ecx, ecx
call fcn.1400c9370
jmp 0x1400cc014
mov rax, qword [0x140156ac8]
inc dword [rax + 0x30]
mov rdx, r14
lea rcx, [rbp - 0x39]
call fcn.1400cb990
nop
movabs r15, 0x7fffffffffffffff
mov rax, r15
mov rcx, qword [rbp - 0x29]
sub rax, rcx
cmp rax, 0x10
jb 0x1400cc2bd
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.1400a5860
nop
mov r8d, 1
lea rdx, [0x1401302d4]
lea rcx, [rbp + 0x17]
call fcn.1400a0280
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.1400c9370
nop
lea rcx, [rbp + 0x17]
call fcn.1400672b0
lea rax, [rbp - 0x39]
mov r8, qword [rbp - 0x39]
mov r9, qword [rbp - 0x21]
mov r10, qword [rbp - 0x29]
cmp r9, 0xf
jbe 0x1400cbec2
lea rax, [r10 + r8]
mov rcx, r8
jmp 0x1400cbec9
add rax, r10
lea rcx, [rbp - 0x39]
cmp rcx, rax
je 0x1400cbeec
nop
cmp byte [rcx], 0x5f
jne 0x1400cbed8
mov byte [rcx], 0x20
inc rcx
cmp rcx, rax
jne 0x1400cbed0
mov r9, qword [rbp - 0x21]
mov r10, qword [rbp - 0x29]
mov r8, qword [rbp - 0x39]
mov rdi, qword [0x140156ac8]
lea rcx, [rdi + 0x58]
lea rax, [rbp - 0x39]
cmp rcx, rax
je 0x1400cbf27
lea rdx, [rbp - 0x39]
cmp r9, 0xf
cmova rdx, r8
mov r8, r10
call fcn.140067380
mov r9, qword [rbp - 0x21]
mov r10, qword [rbp - 0x29]
mov r8, qword [rbp - 0x39]
mov rdi, qword [0x140156ac8]
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.1400a3c90
cmp rax, 0xffffffffffffffff
setne byte [0x140156b0c]
lea rsi, [0x140153c08]
cmp byte [rdi + 0x4c], 0
jne 0x1400cc038
mov rdx, rsi
cmp qword [reloc.WS2_32.dll_ntohs], 0xf
cmova rdx, qword [0x140153c08]
lea rcx, [rdi + 0x58]
cmp qword [rdi + 0x70], 0xf
jbe 0x1400cbf8c
mov rcx, qword [rdi + 0x58]
mov r8, qword [rdi + 0x68]
mov rbx, qword [0x140153c18]
cmp r8, rbx
jne 0x1400cc043
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400cc043
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.14010abe0
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 [0x140130310]
movups xmmword [rax + 0x10], xmm1
mov ecx, dword [0x140130320]
mov dword [rax + 0x20], ecx
mov byte [rax + 0x24], 0
lea rdx, [rbp - 0x59]
xor ecx, ecx
call fcn.1400c9370
nop
lea rcx, [rbp - 0x39]
call fcn.1400672b0
nop
mov rcx, r14
call fcn.1400672b0
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 [0x140153c18]
cmp qword [rdi + 0x68], 0
jne 0x1400cc0b5
lea r8, str.AircraftLoaded
xor edx, edx
mov rcx, qword [rdi]
call fcn.140106900
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.14010abe0
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 [0x1401302c0]
movups xmmword [rax + 0x10], xmm1
movzx ecx, word [0x1401302d0]
mov word [rax + 0x20], cx
mov byte [rax + 0x22], 0
jmp 0x1400cbffe
lea r8, [rdi + 0x58]
cmp rsi, r8
je 0x1400cc0de
mov rdx, r8
cmp qword [r8 + 0x18], 0xf
jbe 0x1400cc0cb
mov rdx, qword [r8]
mov r8, qword [r8 + 0x10]
mov rcx, rsi
call fcn.140067380
mov rbx, qword [0x140153c18]
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 [0x140153c08]
cmp rbx, r15
ja 0x1400cc2b1
mov qword [rbp - 0x41], reloc.WS2_32.dll_ntohs
cmp rbx, 0xf
ja 0x1400cc124
mov qword [rbp - 0x49], rbx
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x59], xmm0
jmp 0x1400cc1b6
mov rax, rbx
or rax, 0xf
cmp rax, r15
jbe 0x1400cc160
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.14010abe0
mov rcx, rax
test rax, rax
je 0x1400cc284
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1400cc19a
mov ecx, reloc.WS2_32.dll_shutdown
cmp rax, rcx
cmovb rax, rcx
mov r15, rax
lea rcx, [rax + 1]
cmp rcx, 0x1000
jb 0x1400cc18b
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400cc2b7
jmp 0x1400cc13e
test rcx, rcx
je 0x1400cc197
call fcn.14010abe0
jmp 0x1400cc19a
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.14009ec80
nop
mov ecx, 0x20
call fcn.14010abe0
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, [0x1400cd380]
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 0x1400cc2a1
lea rcx, [rbp - 0x19]
call fcn.1400672b0
cmp dword [rbp + 0xf], 0
je 0x1400cc295
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 0x1400cc295
xorps xmm0, xmm0
movdqa xmmword [rbp + 7], xmm0
mov rdx, qword [rbp - 0x41]
cmp rdx, 0xf
jbe 0x1400cc00a
inc rdx
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400cc28b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400cc28b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14010a808
jmp 0x1400cc00a
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.1400668e0
int3
call fcn.140066840
int3
call fcn.1400668e0
int3