Function at 0x1400d6ef0
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 [0x14066efd8]
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.140080760
cvttss2si r8d, dword [rax + 0xd0]
mov edx, dword [0x140673588]
mov eax, edx
imul eax, ebx
imul ecx, eax, 7
inc edx
mov dword [0x140673588], edx
cmp ecx, r8d
mov ecx, dword [0x140673584]
jl 0x1400d6f93
mov dword [0x140673588], r12d
add ecx, 3
mov dword [0x140673584], 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_nKIMANDY___Mastermind_of_Backend_Operations_nPolloLoco___Artisan_of_Development_and_Idea_Forger_nBattleDash___From_whom_we_borrowed_the_light_of_inspiration_nManu157___Network_Saviour_nBree_Arnold___For_unwavering_support_and_answers_to_every_challenge_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 0x1400d6fb6
inc ecx
movsxd rax, ecx
cmp byte [rax + r8], 0x20
je 0x1400d6fa4
mov dword [0x140673584], ecx
cmp byte [0x14067358c], r12b
jne 0x1400d704c
mov ecx, 8
call fcn.14022c7ec
test rax, rax
je 0x1400d6fde
lea rcx, [0x1400e0b50]
mov qword [rax], rcx
jmp 0x1400d6fe1
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, [0x1400c3850]
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 0x1400d72a3
cmp dword [rbp - 0x48], 0
je 0x1400d72b8
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x30], xmm0
lea rcx, [rbp - 0x30]
call sub.MSVCP140.dll__Thrd_detach
test eax, eax
jne 0x1400d72b8
mov byte [0x14067358c], 1
mov ecx, dword [0x140673584]
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_nKIMANDY___Mastermind_of_Backend_Operations_nPolloLoco___Artisan_of_Development_and_Idea_Forger_nBattleDash___From_whom_we_borrowed_the_light_of_inspiration_nManu157___Network_Saviour_nBree_Arnold___For_unwavering_support_and_answers_to_every_challenge_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 0x1400d7056
movsxd rax, ecx
cmp rax, rdx
jb 0x1400d7076
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 0x40]
call qword [sym.imp.WINMM.dll_PlaySoundA]
mov rcx, qword [0x140672db0]
call fcn.1400899f0
movss xmm0, dword [0x140237c38]
call fcn.14008e3f0
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_nKIMANDY___Mastermind_of_Backend_Operations_nPolloLoco___Artisan_of_Development_and_Idea_Forger_nBattleDash___From_whom_we_borrowed_the_light_of_inspiration_nManu157___Network_Saviour_nBree_Arnold___For_unwavering_support_and_answers_to_every_challenge_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 0x1400d70a5
mov r8, rbx
lea rcx, [rbp - 0x30]
call fcn.1400c0670
nop
movsxd rdi, dword [0x140673584]
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 0x1400d72b2
mov qword [rbp - 0x38], reloc.WS2_32.dll_ntohs
cmp rdi, 0x10
jae 0x1400d7129
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 0x1400d7172
mov rax, rdi
or rax, 0xf
cmp rax, rsi
ja 0x1400d7144
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.1400ec590
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.1400bc520
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x1400d71c4
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d71bf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400d71bf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14022c3e8
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x50], 0
cmp r13, 0x10
jb 0x1400d720e
lea rdx, [r13 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x1400d7206
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400d7206
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.14022c3e8
movss xmm0, dword [0x140237c38]
call fcn.14008e3f0
call fcn.140089550
mov dword [rbp - 0x30], 0x440e8000
mov dword [rbp - 0x2c], 0x44188000
lea rcx, [rbp - 0x30]
call fcn.14008d8d0
mov qword [rbp - 0x30], 0
lea rdx, [rbp - 0x30]
lea rcx, str._BACK
call fcn.1400b4dd0
test al, al
je 0x1400d7276
mov dword [0x140672d88], r12d
mov dword [0x140673584], r12d
mov byte [0x14067358c], 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.14022c500
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.1400ec320
nop
mov ecx, 1
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3