Function at 0x1400d6e50
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140616bf8]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor r12d, r12d
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov ebx, eax
mov eax, 0x2aaaaaab
imul ebx
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea ecx, [rdx + rdx*2]
add ecx, ecx
sub ebx, ecx
add ebx, 5
call fcn.1400806c0
cvttss2si r8d, dword [rax + 0xd0]
mov edx, dword [0x14061b1b0]
mov eax, edx
imul eax, ebx
imul ecx, eax, 7
inc edx
mov dword [0x14061b1b0], edx
cmp ecx, r8d
mov ecx, dword [0x14061b1ac]
jl 0x1400d6ef3
mov dword [0x14061b1b0], r12d
add ecx, 3
mov dword [0x14061b1ac], ecx
movsxd rax, ecx
mov r8, qword [str._______________________________________________________________n_________________________________Roll_of_Honour_and_Acknowledgements___________________________________n_______________________________________________________________n_nThe_Valiant_Heroes_in_the_Trenches:_n_nsilkker___Chief_Engineer_nDev007___The_Noble_Heart_who_rallied_the_troops_nNC_HardcorE___Commander_of_the_Community_Front_and_Hype_Inspirer_nBattleDash___From_whom_we_borrowed_the_light_of_inspiration_niiTz_Arcur___For_the_acquisition_of_soldier_stats_from_BLAZEs_watchful_gaze._n_nAnd_a_Special_Salute_to_all_the_Unsung_Strategists:_n_nEvery_comrade_who_fortified_us_with_insights_and_vision_n_nA_Grateful_Salute_to_Our_MARNE_Community_Inspectors:_n_nYour_dedicated_scrutiny_and_feedback_were_priceless_n_nAnd_to_the_Many_Other_Invisible_Guardians_of_this_Expedition:_n_nYour_support_was_the_wind_beneath_our_wings._n_nAnd_to_the_Many_Other_Invisible_Guardians_of_this_Expedition:_n_nA_heartfelt_salute_to_those_who_shared_their_tools_and_wisdom._n_n_______________________________________________________________n______________________________________We_Remember_Their_Sacrifices___________________________________________n_______________________________________________________________n]
cmp byte [rax + r8], 0x20
jne 0x1400d6f16
inc ecx
movsxd rax, ecx
cmp byte [rax + r8], 0x20
je 0x1400d6f04
mov dword [0x14061b1ac], ecx
cmp byte [0x14061b1b4], r12b
jne 0x1400d6fac
mov ecx, 8
call fcn.14022d13c
test rax, rax
je 0x1400d6f3e
lea rcx, [0x1400e0970]
mov qword [rax], rcx
jmp 0x1400d6f41
mov rax, r12
mov qword [rbp - 0x30], rax
lea rcx, [rbp - 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x1400c37b0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x50], rax
test rax, rax
je 0x1400d7203
cmp dword [rbp - 0x48], 0
je 0x1400d7218
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x30], xmm0
lea rcx, [rbp - 0x30]
call sub.MSVCP140.dll__Thrd_detach
test eax, eax
jne 0x1400d7218
mov byte [0x14061b1b4], 1
mov ecx, dword [0x14061b1ac]
mov r8, qword [str._______________________________________________________________n_________________________________Roll_of_Honour_and_Acknowledgements___________________________________n_______________________________________________________________n_nThe_Valiant_Heroes_in_the_Trenches:_n_nsilkker___Chief_Engineer_nDev007___The_Noble_Heart_who_rallied_the_troops_nNC_HardcorE___Commander_of_the_Community_Front_and_Hype_Inspirer_nBattleDash___From_whom_we_borrowed_the_light_of_inspiration_niiTz_Arcur___For_the_acquisition_of_soldier_stats_from_BLAZEs_watchful_gaze._n_nAnd_a_Special_Salute_to_all_the_Unsung_Strategists:_n_nEvery_comrade_who_fortified_us_with_insights_and_vision_n_nA_Grateful_Salute_to_Our_MARNE_Community_Inspectors:_n_nYour_dedicated_scrutiny_and_feedback_were_priceless_n_nAnd_to_the_Many_Other_Invisible_Guardians_of_this_Expedition:_n_nYour_support_was_the_wind_beneath_our_wings._n_nAnd_to_the_Many_Other_Invisible_Guardians_of_this_Expedition:_n_nA_heartfelt_salute_to_those_who_shared_their_tools_and_wisdom._n_n_______________________________________________________________n______________________________________We_Remember_Their_Sacrifices___________________________________________n_______________________________________________________________n]
mov rbx, 0xffffffffffffffff
mov rdx, rbx
inc rdx
cmp byte [r8 + rdx], 0
jne 0x1400d6fb6
movsxd rax, ecx
cmp rax, rdx
jb 0x1400d6fd6
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 0x40]
call qword [sym.imp.WINMM.dll_PlaySoundA]
mov rcx, qword [0x14061a9d0]
call fcn.140089950
movss xmm0, dword [0x140238c38]
call fcn.14008e350
mov rdx, qword [str._______________________________________________________________n_________________________________Roll_of_Honour_and_Acknowledgements___________________________________n_______________________________________________________________n_nThe_Valiant_Heroes_in_the_Trenches:_n_nsilkker___Chief_Engineer_nDev007___The_Noble_Heart_who_rallied_the_troops_nNC_HardcorE___Commander_of_the_Community_Front_and_Hype_Inspirer_nBattleDash___From_whom_we_borrowed_the_light_of_inspiration_niiTz_Arcur___For_the_acquisition_of_soldier_stats_from_BLAZEs_watchful_gaze._n_nAnd_a_Special_Salute_to_all_the_Unsung_Strategists:_n_nEvery_comrade_who_fortified_us_with_insights_and_vision_n_nA_Grateful_Salute_to_Our_MARNE_Community_Inspectors:_n_nYour_dedicated_scrutiny_and_feedback_were_priceless_n_nAnd_to_the_Many_Other_Invisible_Guardians_of_this_Expedition:_n_nYour_support_was_the_wind_beneath_our_wings._n_nAnd_to_the_Many_Other_Invisible_Guardians_of_this_Expedition:_n_nA_heartfelt_salute_to_those_who_shared_their_tools_and_wisdom._n_n_______________________________________________________________n______________________________________We_Remember_Their_Sacrifices___________________________________________n_______________________________________________________________n]
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
inc rbx
cmp byte [rdx + rbx], 0
jne 0x1400d7005
mov r8, rbx
lea rcx, [rbp - 0x30]
call fcn.1400c05d0
nop
movsxd rdi, dword [0x14061b1ac]
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], r12
cmp qword [rbp - 0x20], rdi
cmovb rdi, qword [rbp - 0x20]
lea r15, [rbp - 0x30]
mov r14, qword [rbp - 0x30]
mov r13, qword [rbp - 0x18]
cmp r13, 0x10
cmovae r15, r14
movabs rsi, 0x7fffffffffffffff
cmp rdi, rsi
ja 0x1400d7212
mov qword [rbp - 0x38], reloc.WS2_32.dll_ntohs
cmp rdi, 0x10
jae 0x1400d7089
mov qword [rbp - 0x40], rdi
mov r8, rdi
mov rdx, r15
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbp + rdi - 0x50], 0
jmp 0x1400d70d2
mov rax, rdi
or rax, 0xf
cmp rax, rsi
ja 0x1400d70a4
mov rsi, rax
mov ecx, reloc.WS2_32.dll_shutdown
cmp rax, rcx
cmovb rsi, rcx
lea rdx, [rsi + 1]
lea rcx, [rbp - 0x50]
call fcn.1400ec3b0
mov rbx, rax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x38], rsi
mov r8, rdi
mov rdx, r15
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + rdi], 0
lea rcx, [rbp - 0x50]
cmp qword [rbp - 0x38], 0x10
cmovae rcx, qword [rbp - 0x50]
call fcn.1400bc480
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x1400d7124
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d711f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400d711f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14022cd38
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x50], 0
cmp r13, 0x10
jb 0x1400d716e
lea rdx, [r13 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x1400d7166
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400d7166
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.14022cd38
movss xmm0, dword [0x140238c38]
call fcn.14008e350
call fcn.1400894b0
mov dword [rbp - 0x30], 0x440e8000
mov dword [rbp - 0x2c], 0x44188000
lea rcx, [rbp - 0x30]
call fcn.14008d830
mov qword [rbp - 0x30], 0
lea rdx, [rbp - 0x30]
lea rcx, str._BACK
call fcn.1400b4d30
test al, al
je 0x1400d71d6
mov dword [0x14061a9a8], r12d
mov dword [0x14061b1ac], r12d
mov byte [0x14061b1b4], 0
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 0x40]
call qword [sym.imp.WINMM.dll_PlaySoundA]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14022ce50
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov dword [rbp - 0x48], r12d
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
call fcn.1400ec140
nop
mov ecx, 1
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3