Function at 0x140024b20
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rsi, rdx
mov rdi, rcx
mov byte [rcx + 0x50], 0
lea rbx, [rcx + 0xe0]
cmp dword [rcx + 0xe8], 0
je 0x140024b83
cmp dword [rbx + 8], 0
je 0x140024c54
call sub.MSVCP140.dll__Thrd_id
cmp dword [rbx + 8], eax
je 0x140024c72
movups xmm0, xmmword [rbx]
movaps xmmword [rsp + 0x40], xmm0
xor edx, edx
lea rcx, [rsp + 0x40]
call sub.MSVCP140.dll__Thrd_join
test eax, eax
jne 0x140024c7d
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rsp + 0x30], rdi
mov rdx, rsi
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
nop
mov ecx, sendto
call fcn.14003626c
mov rdi, rax
test rax, rax
je 0x140024bc2
mov rax, qword [rsp + 0x30]
mov qword [rdi], rax
lea rcx, [rdi + 8]
lea rdx, [rsp + 0x38]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
jmp 0x140024bc4
xor edi, edi
mov qword [rsp + 0x60], rdi
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, rdi
lea r8, [0x140022e20]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140024c5f
cmp dword [rbx + 8], 0
jne 0x140024c4d
xorps xmm0, xmm0
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
movups xmmword [rbx], xmm1
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
cmp dword [rbx + 8], 0
je 0x140024c54
movups xmm0, xmmword [rbx]
movaps xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call sub.MSVCP140.dll__Thrd_detach
test eax, eax
jne 0x140024c54
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov ecx, 1
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov dword [rsp + 0x48], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov ecx, 5
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
mov ecx, 2
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
movzx edi, dl
mov rcx, qword [rcx + 0x20]
cmp byte [rcx + 0x131], 0
je 0x140024d9e
test dl, dl
jne 0x140024d89
test rcx, rcx
je 0x140024d89
call fcn.1400270b0
mov rcx, rbx
call fcn.140024850
test al, al
je 0x140024d9e
jmp 0x140024d8e
call sub.SDL2.dll_SDL_CloseAudio
movzx edx, dil
mov byte [rbx + 0x51], dil
mov rcx, rbx
call fcn.1400351b0
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, qword [rcx + 0x20]
mov rdi, rcx
add rbx, 0x48
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x140025992
mov rax, qword [rcx]
cmp rcx, rbx
setne dl
call qword [rax + 0x20]
mov qword [rbx + 0x38], 0
mov rcx, qword [rdi + 0x110]
test rcx, rcx
je 0x1400259a3
call fcn.140021b70
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movsd qword [rsp + 0x10], xmm1
sub rsp, 0x38
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov r8d, 2
lea rdx, [0x140092050]
call qword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QMetaObject::activate_class_QObject____ptr64__struct_QMetaObject_const____ptr64__int__void____ptr64____ptr64_]
add rsp, 0x38
ret
mov dword [rsp + 0x10], edx
sub rsp, 0x38
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov r8d, 3
lea rdx, [0x140092050]
call qword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QMetaObject::activate_class_QObject____ptr64__struct_QMetaObject_const____ptr64__int__void____ptr64____ptr64_]
add rsp, 0x38
ret
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rsi, r9
mov rdi, rcx
test edx, edx
jne 0x14003578c
cmp r8d, 0x10
ja case.default.0x140035576
lea rcx, [0x140000000]
movsxd rax, r8d
mov edx, dword [rcx + rax*4 + 0x358fc]
add rdx, rcx
jmp rdx
xor r9d, r9d
lea rdx, [0x140092050]
xor r8d, r8d
mov rcx, rdi
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QMetaObject::activate_class_QObject____ptr64__struct_QMetaObject_const____ptr64__int__void____ptr64____ptr64_]
mov rax, qword [r9 + 0x10]
lea rcx, [rsp + 0x20]
mov rdx, qword [r9 + 8]
mov qword [rsp + 0x40], rbx
mov ebx, dword [rax]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
mov r8d, ebx
mov rcx, rdi
mov rdx, rax
call fcn.140035080
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov rax, qword [r9 + 8]
mov rcx, rdi
movsd xmm1, qword [rax]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp 0x140034d60
mov rdx, qword [r9 + 8]
mov rcx, rdi
mov edx, dword [rdx]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp 0x140035040
mov rdx, qword [r9 + 8]
mov rcx, rdi
movzx edx, byte [rdx]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp fcn.1400351b0
mov rdx, qword [r9 + 8]
mov rcx, rdi
movzx edx, byte [rdx]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp fcn.1400350f0
mov rdx, qword [r9 + 8]
mov rcx, rdi
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp 0x140024b20
mov rcx, rdi
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp fcn.140025790
mov rdx, qword [r9 + 8]
mov rcx, rdi
movzx edx, byte [rdx]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp 0x140024d50
xor edx, edx
mov rcx, rdi
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp 0x140024d50
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.140024390
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400356aa
lea rdx, [rsp + 0x20]
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_class_QString____ptr64____ptr64]
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov rcx, rdi
call fcn.1400252e0
mov rcx, qword [rsi]
test rcx, rcx
je case.default.0x140035576
mov byte [rcx], al
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1400259b0
mov rcx, qword [rsi]
test rcx, rcx
je 0x140035701
lea rdx, [rsp + 0x20]
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_class_QString____ptr64____ptr64]
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov rcx, rdi
call fcn.140024db0
mov rcx, qword [rsi]
test rcx, rcx
je case.default.0x140035576
mov byte [rcx], al
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov rcx, rdi
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp 0x140025960
mov rcx, rdi
call fcn.140024b00
mov rcx, qword [rsi]
test rcx, rcx
je case.default.0x140035576
mov dword [rcx], eax
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov rcx, rdi
call fcn.140024ae0
mov rcx, qword [rsi]
test rcx, rcx
je case.default.0x140035576
mov dword [rcx], eax
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp edx, 0xa
jne 0x14003588f
mov rdx, qword [r9 + 8]
lea r8, [0x1400351f0]
mov rax, qword [r9]
mov rcx, qword [rdx]
cmp rcx, r8
jne 0x1400357c7
test rcx, rcx
je 0x1400357b6
cmp dword [rdx + 8], 0
jne 0x1400357c7
mov dword [rax], 0
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
lea r8, [fcn.140035080]
cmp rcx, r8
jne 0x1400357ef
test rcx, rcx
je 0x1400357de
cmp dword [rdx + 8], 0
jne 0x1400357ef
mov dword [rax], 1
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
lea r8, [0x140034d60]
cmp rcx, r8
jne 0x140035817
test rcx, rcx
je 0x140035806
cmp dword [rdx + 8], 0
jne 0x140035817
mov dword [rax], 2
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
lea r8, [0x140035040]
cmp rcx, r8
jne 0x14003583f
test rcx, rcx
je 0x14003582e
cmp dword [rdx + 8], 0
jne 0x14003583f
mov dword [rax], 3
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
lea r8, [fcn.1400351b0]
cmp rcx, r8
jne 0x140035867
test rcx, rcx
je 0x140035856
cmp dword [rdx + 8], 0
jne 0x140035867
mov dword [rax], 4
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
lea r8, [fcn.1400350f0]
cmp rcx, r8
jne case.default.0x140035576
test rcx, rcx
je 0x14003587e
cmp dword [rdx + 8], 0
jne case.default.0x140035576
mov dword [rax], 5
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp edx, 1
jne 0x1400358dc
mov rcx, qword [r9]
test r8d, r8d
je 0x1400358cb
cmp r8d, edx
jne case.default.0x140035576
mov rax, qword [rdi + 0x20]
test rax, rax
jne 0x1400358b7
mov byte [rcx], al
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
movzx eax, byte [rax + 0x131]
mov byte [rcx], al
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
movzx eax, byte [rdi + 0x51]
mov byte [rcx], al
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp edx, 2
jne case.default.0x140035576
test r8d, r8d
jne case.default.0x140035576
mov rdx, qword [r9]
movzx edx, byte [rdx]
call 0x140024d50
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret