Function at 0x140046c20
Capabilities:
Create process on windows
Create thread
Get common file path
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x6e8]
sub rsp, 0x7c0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x1400d4080]
xor rax, rsp
mov qword [rbp + 0x6a0], rax
xor r14d, r14d
mov dword [rbp + 0x130], 4
mov dword [rbp + 0x134], r14d
mov dword [rbp + 0x150], 4
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersionSystemRestore
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140046cce
lea rdx, str.Failed_to_open_registry_key.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400369a0
lea rdx, [0x140036b70]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x140046d50
lea rax, [rbp + 0x150]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x134]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x130]
xor r8d, r8d
lea rdx, str.RPSessionInterval
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x140046d3a
lea rdx, str.Failed_to_read_registry_value.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400369a0
lea rdx, [0x140036b70]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140046d50
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rbp + 0x134], r14d
ja 0x140046d55
call fcn.140059b90
call fcn.140059b90
xorps xmm0, xmm0
movups xmmword [rbp + 0x1f0], xmm0
mov qword [rbp + 0x200], r14
mov qword [rbp + 0x208], r14
mov r8d, WSAGetLastError
lea rdx, str.powershell__Command__Checkpoint_Computer__Description_FrozenTweaks.com__RestorePointType_MODIFY_SETTINGS_
lea rcx, [rbp + 0x1f0]
call fcn.14004c770
xorps xmm0, xmm0
movups xmmword [rbp + 0xb0], xmm0
movups xmmword [rbp + 0xc0], xmm0
movups xmmword [rbp + 0xd0], xmm0
movups xmmword [rbp + 0xe0], xmm0
movups xmmword [rbp + 0xf0], xmm0
movups xmmword [rbp + 0x100], xmm0
movups xmmword [rbp + 0x110], xmm0
mov dword [rbp + 0xb0], reloc.WS2_32.dll_WSASetLastError
mov dword [rbp + 0xb4], 0x40
mov qword [rbp + 0xb8], r14
lea rax, str.runas
mov qword [rbp + 0xc0], rax
lea rax, str.powershell.exe
mov qword [rbp + 0xc8], rax
lea rax, [rbp + 0x1f0]
cmp qword [rbp + 0x208], 7
cmova rax, qword [rbp + 0x1f0]
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], r14
mov dword [rbp + 0xe0], r14d
mov qword [rbp + 0xe8], r14
lea rcx, [rbp + 0xb0]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x118]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp + 0x118]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbp + 0x208]
cmp rdx, 7
jbe 0x140046e9e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1f0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140046e99
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140046e99
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a8168
lea rax, [rbp + 0x590]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x1c]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov rsi, 0xffffffffffffffff
xorps xmm0, xmm0
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], r14
movups xmmword [rsp + 0x48], xmm0
test eax, eax
js 0x140046ef5
lea rax, [rbp + 0x590]
mov r8, rsi
inc r8
cmp byte [rax + r8], r14b
jne 0x140046ee3
lea rdx, [rbp + 0x590]
jmp 0x140046eff
xor r8d, r8d
lea rdx, [0x1400ba0aa]
lea rcx, [rsp + 0x48]
call fcn.140041610
nop
mov r8d, reloc.WLDAP32.dll_Ordinal_22
lea rdx, str.VALORANTSavedConfig
lea rcx, [rsp + 0x48]
call fcn.140041580
xorps xmm0, xmm0
movups xmmword [rbp + 0x158], xmm0
mov qword [rbp + 0x168], r14
mov qword [rbp + 0x170], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x158], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x168], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x140046f9d
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140046f98
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140046f98
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a8168
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0x1d0], xmm0
mov qword [rbp + 0x1e0], r14
mov qword [rbp + 0x1e8], r14
mov r8d, 0xa54
lea rdx, str.__Script_ShooterGame.ShooterGameUserSettings__n____________________________DefaultMonitorDeviceID___n____________________________DefaultMonitorIndex1_n____________________________LastConfirmedDefaultMonitorDeviceID___n____________________________LastConfirmedDefaultMonitorIndex1_n____________________________bShouldLetterboxFalse_n____________________________bLastConfirmedShouldLetterboxFalse_n____________________________bUseVSyncFalse_n____________________________bUseDynamicResolutionFalse_n____________________________ResolutionSizeX1920_n____________________________ResolutionSizeY1080_n____________________________LastUserConfirmedResolutionSizeX1920_n____________________________LastUserConfirmedResolutionSizeY1080_n____________________________WindowPosX0_n____________________________WindowPosY0_n____________________________LastConfirmedFullscreenMode1_n____________________________PreferredFullscreenMode1_n____________________________AudioQualityLevel0_n____________________________LastConfirmedAudioQualityLevel0_n____________________________FrameRateLimit0.000000_n____________________________DesiredScreenWidth1280_n____________________________DesiredScreenHeight720_n____________________________LastUserConfirmedDesiredScreenWidth1280_n____________________________LastUserConfirmedDesiredScreenHeight720_n____________________________LastRecommendedScreenWidth_1.000000_n____________________________LastRecommendedScreenHeight_1.000000_n____________________________LastCPUBenchmarkResult_1.000000_n____________________________LastGPUBenchmarkResult_1.000000_n____________________________LastGPUBenchmarkMultiplier1.000000_n____________________________bUseHDRDisplayOutputFalse_n____________________________HDRDisplayOutputNits1000_n____________________________FullscreenMode1_n_n______________________________Script_Engine.GameUserSettings__n____________________________bUseDesiredScreenHeightFalse_n_n_____________________________ScalabilityGroups__n____________________________sg.ResolutionQuality100.000000_n____________________________sg.ViewDistanceQuality3_n____________________________sg.AntiAliasingQuality3_n____________________________sg.ShadowQuality3_n____________________________sg.PostProcessQuality3_n____________________________sg.TextureQuality0_n____________________________sg.EffectsQuality3_n____________________________sg.FoliageQuality3_n____________________________sg.ShadingQuality3_n_n_____________________________ShaderPipelineCache.CacheFile__n____________________________LastOpenedShooterGame_n_n_____________________________Internationalization.AssetGroupCultures__n____________________________MatureMature
lea rcx, [rbp + 0x1d0]
call fcn.140041610
nop
lea rax, [rbp + 0x158]
cmp qword [rbp + 0x170], 0xf
cmova rax, qword [rbp + 0x158]
mov qword [rbp + 0x120], rax
mov rax, qword [rbp + 0x168]
mov qword [rbp + 0x128], rax
call fcn.1400a8ca8
movaps xmm0, xmmword [rbp + 0x120]
movdqa xmmword [rbp + 0x40], xmm0
lea r8, [rbp + 0x40]
mov edx, eax
lea rcx, [rbp - 0x20]
call fcn.1400448d0
nop
lea rcx, [rbp - 0x20]
call fcn.140045c50
movzx ebx, al
mov rdx, qword [rbp - 8]
cmp rdx, 7
jbe 0x14004707e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140047079
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140047079
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a8168
test bl, bl
je 0x140047779
lea rax, [rbp + 0x158]
cmp qword [rbp + 0x170], 0xf
cmova rax, qword [rbp + 0x158]
mov qword [rbp + 0x120], rax
mov rax, qword [rbp + 0x168]
mov qword [rbp + 0x128], rax
call fcn.1400a8ca8
movaps xmm0, xmmword [rbp + 0x120]
movdqa xmmword [rbp + 0x50], xmm0
lea r8, [rbp + 0x50]
mov edx, eax
lea rcx, [rbp - 0x40]
call fcn.1400448d0
nop
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x120], xmm0
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x120]
call fcn.14004bd40
test eax, eax
jne 0x1400479a7
mov rdx, qword [rbp - 0x28]
cmp rdx, 7
jbe 0x140047139
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140047134
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140047134
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a8168
xorps xmm0, xmm0
movups xmmword [rbp + 0x140], xmm0
mov rcx, qword [rbp + 0x128]
test rcx, rcx
je 0x14004715a
lock inc dword [rcx + 8]
mov rcx, qword [rbp + 0x128]
movaps xmm0, xmmword [rbp + 0x120]
movdqa xmmword [rbp + 0x140], xmm0
test rcx, rcx
je 0x140047179
lock inc dword [rcx + 8]
mov rcx, qword [rbp + 0x128]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x218], xmm1
test rcx, rcx
je 0x1400471be
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400471be
mov rbx, qword [rbp + 0x128]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400471be
mov rcx, qword [rbp + 0x128]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
movabs r15, 0x7fffffffffffffff
lea r13, str.GameUserSettings.ini
lea r12, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
nop word [rax + rax]
mov rdi, qword [rbp + 0x140]
test rdi, rdi
je 0x1400476fa
lea rdx, [rsp + 0x70]
mov rcx, rdi
call fcn.140045700
mov rax, qword [rsp + 0x70]
mov edx, dword [rsp + 0x78]
test edx, edx
je 0x140047219
lea ecx, [rax - 1]
test ecx, 0xfffffff7
jne 0x1400479ba
cmp eax, 3
jne 0x140047630
lea rcx, [rdi + 0x20]
cmp qword [rdi + 0x38], 7
jbe 0x140047231
mov rcx, qword [rdi + 0x20]
mov rax, qword [rdi + 0x30]
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x58], rax
call fcn.1400a8ca8
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp + 0x60], xmm0
lea r8, [rbp + 0x60]
mov edx, eax
lea rcx, [rbp - 0x80]
call fcn.14004ba80
nop
mov r8d, 8
lea rdx, str.Windows
lea rcx, [rbp - 0x80]
call fcn.140041580
xorps xmm0, xmm0
movups xmmword [rbp + 0x178], xmm0
mov qword [rbp + 0x188], r14
mov qword [rbp + 0x190], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x178], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x188], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x1400472e8
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400472e3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400476de
call fcn.1400a8168
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x80], 0
lea rax, [rbp + 0x178]
cmp qword [rbp + 0x190], 0xf
cmova rax, qword [rbp + 0x178]
mov qword [rbp - 0x50], rax
mov rax, qword [rbp + 0x188]
mov qword [rbp - 0x48], rax
call fcn.1400a8ca8
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp + 0x30], xmm0
lea r8, [rbp + 0x30]
mov edx, eax
lea rcx, [rbp]
call fcn.1400448d0
nop
lea rcx, [rbp]
call fcn.140045c50
movzx ebx, al
mov rdx, qword [rbp + 0x18]
cmp rdx, 7
jbe 0x140047388
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140047383
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400476e5
call fcn.1400a8168
test bl, bl
je 0x1400475e3
mov rax, r15
mov rcx, qword [rbp + 0x188]
sub rax, rcx
cmp rax, 0x15
jb 0x1400479cb
lea r9, [rbp + 0x178]
cmp qword [rbp + 0x190], 0xf
cmova r9, qword [rbp + 0x178]
mov qword [rsp + 0x30], reloc.WS2_32.dll_setsockopt
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0x198]
call fcn.14004da10
nop
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x230]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 0x198]
cmp qword [rbp + 0x1b0], 0xf
cmova rdx, qword [rbp + 0x198]
lea rcx, [rbp + 0x230]
call fcn.140036410
mov rax, qword [rbp + 0x230]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x230], r12
mov rax, qword [rbp + 0x230]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x22c], edx
cmp qword [rbp + 0x2b8], 0
je 0x140047506
lea rdx, [rbp + 0x1d0]
cmp qword [rbp + 0x1e8], 0xf
cmova rdx, qword [rbp + 0x1d0]
mov r8, qword [rbp + 0x1e0]
lea rcx, [rbp + 0x230]
call fcn.140036eb0
lea rcx, [rbp + 0x238]
call fcn.1400367a0
test rax, rax
jne 0x1400474ac
mov rax, qword [rbp + 0x230]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x230]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rbp + 0x230]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x230], r12
mov rax, qword [rbp + 0x230]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x22c], edx
lea rcx, [rbp + 0x238]
call fcn.1400363a0
lea rcx, [rbp + 0x240]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x2d8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rdx, str.Operation_successful_for:
jmp 0x14004755e
mov rax, qword [rbp + 0x230]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x230], r12
mov rax, qword [rbp + 0x230]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x22c], edx
lea rcx, [rbp + 0x238]
call fcn.1400363a0
lea rcx, [rbp + 0x240]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x2d8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rdx, str.Operation_failed_for:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400369a0
lea rdx, [rbp + 0x198]
cmp qword [rbp + 0x1b0], 0xf
mov r8, qword [rbp + 0x1a8]
cmova rdx, qword [rbp + 0x198]
mov rcx, rax
call fcn.140036eb0
lea rdx, [0x140036b70]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rdx, qword [rbp + 0x1b0]
cmp rdx, 0xf
jbe 0x1400475e3
inc rdx
mov rcx, qword [rbp + 0x198]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400475dd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400476ec
call fcn.1400a8168
nop
mov rdx, qword [rbp + 0x190]
cmp rdx, 0xf
jbe 0x140047630
inc rdx
mov rcx, qword [rbp + 0x178]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004761f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400476f3
call fcn.1400a8168
nop dword [rax]
nop dword [rax + rax]
lea rdx, [rbp + 0x340]
mov rcx, qword [rdi + 0x40]
call fcn.1400a8f08
cmp eax, 0x12
je 0x140047687
test eax, eax
jne 0x14004799f
cmp word [rbp + 0x36c], 0x2e
jne 0x140047673
movzx eax, word [rbp + 0x36e]
test ax, ax
je 0x140047630
cmp ax, 0x2e
jne 0x140047673
cmp word [rbp + 0x370], 0
je 0x140047630
lea rdx, [rbp + 0x340]
mov rcx, rdi
call fcn.140045a10
jmp 0x1400471e7
mov rdi, r14
mov qword [rbp + 0x140], r14
mov rbx, qword [rbp + 0x148]
mov qword [rbp + 0x148], r14
test rbx, rbx
je 0x1400471e7
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400471e0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400471e0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
jmp 0x1400471e0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, qword [rbp + 0x148]
test rcx, rcx
je 0x14004773b
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14004773b
mov rbx, qword [rbp + 0x148]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14004773b
mov rcx, qword [rbp + 0x148]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rcx, qword [rbp + 0x128]
test rcx, rcx
je 0x140047779
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140047779
mov rbx, qword [rbp + 0x128]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x140047779
mov rcx, qword [rbp + 0x128]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov edi, 1
mov ecx, edi
call fcn.1400a7e1c
mov qword [rbp + 0x210], rax
lea rcx, [rbp + 0x1c8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x140054eb0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x1c0], rax
test rax, rax
je 0x14004798c
cmp dword [rbp + 0x1c8], 0
je 0x140047983
movaps xmm0, xmmword [rbp + 0x1c0]
movdqa xmmword [rbp + 0x20], xmm0
lea rcx, [rbp + 0x20]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140047983
xorps xmm0, xmm0
movaps xmmword [rbp + 0x70], xmm0
movdqa xmmword [rbp + 0x1c0], xmm0
mov ebx, r14d
mov qword [rsp + 0x40], rdi
movss xmm6, dword [0x1400c3aac]
nop dword [rax + rax]
lea rcx, [rsp + 0x40]
call fcn.14004bf50
lea rcx, [0x1402256e0]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x140047977
cmp dword [0x14022572c], 0x7fffffff
je 0x140047961
mov eax, dword [0x1401f4128]
movd xmm0, eax
addss xmm0, xmm6
movd eax, xmm0
xchg dword [0x1401f4128], eax
lea rcx, [0x1402256e0]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
inc ebx
cmp ebx, 0xf
jl 0x140047810
xchg byte [0x1401f40fc], dil
mov eax, r14d
xchg byte [0x1401f40fb], al
cmp dword [rbp + 0x1c8], 0
je 0x14004788b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov rdx, qword [rbp + 0x1e8]
cmp rdx, 0xf
jbe 0x1400478cf
inc rdx
mov rcx, qword [rbp + 0x1d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400478ca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400478ca
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a8168
mov qword [rbp + 0x1e0], r14
mov qword [rbp + 0x1e8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x1d0], 0
mov rdx, qword [rbp + 0x170]
cmp rdx, 0xf
jbe 0x14004792c
inc rdx
mov rcx, qword [rbp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140047927
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140047927
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a8168
mov rcx, qword [rbp + 0x6a0]
xor rcx, rsp
call fcn.1400a7a40
lea r11, [rsp + 0x7c0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov dword [0x14022572c], 0x7ffffffe
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, edi
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp + 0x1c8], r14d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov edx, eax
call fcn.140045540
nop
lea r8, [rbp - 0x40]
mov edx, eax
lea rcx, str.directory_iterator::directory_iterator
call fcn.140045630
nop
lea r8, [rdi + 0x20]
lea rcx, str.directory_entry::status
call fcn.140045630
nop
call fcn.140035650
int3