Function at 0x140011570
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x258]
sub rsp, 0x330
mov qword [rbp + 0xb0], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x140032008]
xor rax, rsp
mov qword [rbp + 0x228], rax
mov r14, rcx
mov qword [rbp - 0x78], rcx
xor r15d, r15d
mov dword [rsp + 0x30], r15d
mov byte [0x1400337ca], r15b
lea rcx, [0x140023b90]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea r12, [0x1400339f0]
test eax, eax
je 0x1400115e4
mov byte [0x1400337ca], 1
jmp 0x1400115f1
cmp byte [0x1400337ca], 1
jne 0x1400117b1
xor eax, eax
mov qword [rbp + 0x198], rax
mov qword [rbp + 0x1a0], rax
lea ecx, [rax + 0x40]
call fcn.14001fad4
mov rbx, rax
mov qword [rsp + 0x38], rax
xor edx, edx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::codecvt_wchar_t__char__struct__Mbstatet_::constructor_unsigned_long_long_unsigned___int64_____ptr64]
lea rax, vtable.std::codecvt_utf8_wchar_t__1114111__0_.0
mov qword [rbx], rax
lea rcx, [rbp + 0xb8]
call qword [sym.imp.MSVCP140.dll_public:_static_class_std::locale___cdecl_std::locale::empty_void_]
nop
mov rcx, qword [rax + 8]
call qword [sym.imp.MSVCP140.dll_private:_static_class_std::locale::_Locimp____ptr64___cdecl_std::locale::_Locimp::_New_Locimp_class_std::locale::_Locimp_const____ptr64_]
mov qword [rbp + 0x1a0], rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::locale::id_std::codecvt_wchar_t__char__struct__Mbstatet_::id]
call qword [sym.imp.MSVCP140.dll_public:_unsigned_long_long_unsigned___int64____cdecl_std::locale::id::operator_unsigned_long_long_unsigned___int64__void____ptr64]
mov r8, rax
mov rdx, rbx
mov rcx, qword [rbp + 0x1a0]
call qword [sym.imp.MSVCP140.dll_private:_void___cdecl_std::locale::_Locimp::_Addfac_class_std::locale::facet____ptr64__unsigned_long_long_unsigned___int64_____ptr64]
mov rax, qword [rbp + 0x1a0]
mov dword [rax + 0x20], r15d
mov rcx, qword [rbp + 0x1a0]
add rcx, 0x28
lea rdx, [0x140023b8c]
call qword [sym.imp.MSVCP140.dll_public:_class_std::_Yarn_char_____ptr64___cdecl_std::_Yarn_char_::operator_char_const____ptr64____ptr64]
nop
mov rcx, qword [rbp + 0xc0]
test rcx, rcx
je 0x1400116af
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x1400116af
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
nop
mov r8d, 2
lea rdx, str.C:windowsClientLogTransportProcessor.txt
lea rcx, [0x1400339f8]
call fcn.140009590
xor r8d, r8d
test rax, rax
mov rax, qword [0x1400339f0]
movsxd rcx, dword [rax + 4]
jne 0x1400116ea
add rcx, r12
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::setstate_int__bool____ptr64]
jmp 0x1400116f5
add rcx, r12
xor edx, edx
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::clear_int__bool____ptr64]
mov rax, qword [0x1400339f0]
movsxd rcx, dword [rax + 4]
add rcx, r12
lea r8, [rbp + 0x198]
lea rdx, [rbp + 0xc8]
call qword [sym.imp.MSVCP140.dll_public:_class_std::locale___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::imbue_class_std::locale_const____ptr64____ptr64]
nop
mov rcx, qword [rbp + 0xd0]
test rcx, rcx
je 0x14001173e
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x14001173e
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
nop
lea rdx, str.Inside_the_fetchUpdatedPreferencesFromBackend_function
mov rcx, r12
call fcn.14000a670
mov rcx, rax
lea rdx, [0x14000aab0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov rbx, qword [r14]
lea rdx, str.Parent_Path_:
mov rcx, r12
call fcn.14000a670
mov rcx, rax
mov rdx, rbx
call fcn.14000a8d0
mov rcx, rax
lea rdx, [0x14000aab0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
nop
mov rcx, qword [rbp + 0x1a0]
test rcx, rcx
je 0x1400117b1
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x1400117b1
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
nop
xor eax, eax
mov qword [rbp + 0x158], rax
mov qword [rbp + 0x160], rax
lea rcx, [rbp + 0x158]
call fcn.14001ea70
nop
cmp byte [0x1400337ca], 1
jne 0x140011809
mov rbx, qword [rbp + 0x160]
lea rdx, str.Preferences_fetched_from_the_registry__total_size_of_the_map_is:
mov rcx, r12
call fcn.14000a670
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_long_unsigned___int64_____ptr64]
mov rcx, rax
lea rdx, [0x14000aab0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
or rsi, 0xffffffffffffffff
cmp qword [rbp + 0x160], 0
jbe 0x14001204e
lea rdx, [rbp + 0x158]
lea rcx, [rbp - 0x40]
call fcn.140015330
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x1c8]
call fcn.140010f80
nop
lea rbx, [rbp + 0x1c8]
mov rcx, qword [rbp + 0x1c8]
mov rax, qword [rbp + 0x1e0]
cmp rax, 0x10
cmovae rbx, rcx
cmp byte [0x1400337ca], 1
jne 0x1400118aa
lea rdx, str.Json_request_for_fetching_updated_preferences_:
mov rcx, r12
call fcn.14000a670
mov rcx, rax
lea rdx, [0x14000aab0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov rdx, rbx
mov rcx, r12
call fcn.14000a670
mov rcx, rax
lea rdx, [0x14000aab0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov rax, qword [rbp + 0x1e0]
mov rcx, qword [rbp + 0x1c8]
test rbx, rbx
je 0x140011ffb
xor eax, eax
mov qword [rbp + 0x168], rax
mov qword [rbp + 0x170], rax
mov rcx, qword [r14]
sub rcx, 0x18
call fcn.140009a50
add rax, 0x18
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x168]
call fcn.14001ca00
nop
mov qword [rsp + 0x60], 0xf
mov qword [rsp + 0x58], r15
mov byte [rsp + 0x48], 0
mov r8d, 7
lea rdx, str.crcnurl
lea rcx, [rsp + 0x48]
call fcn.140008c80
nop
lea r8, [rsp + 0x48]
lea rdx, [rbp + 0xd8]
lea rcx, [rbp + 0x168]
call fcn.14000df30
mov rax, qword [rbp + 0xd8]
cmp qword [rax + 0x50], 0
jbe 0x14001199f
mov qword [rbp + 8], 0xf
mov qword [rbp], r15
mov byte [rbp - 0x10], 0
mov r8d, 7
lea rdx, str.crcnurl
lea rcx, [rbp - 0x10]
call fcn.140008c80
nop
mov dword [rsp + 0x30], 1
lea r8, [rbp - 0x10]
lea rdx, [rbp + 0xe8]
lea rcx, [rbp + 0x168]
call fcn.14000df30
mov rdx, qword [rbp + 0xe8]
add rdx, 0x40
lea rcx, [rbp - 0x30]
call fcn.140017b00
mov rdi, rax
mov ebx, 3
jmp 0x1400119d3
mov qword [rbp - 0x80], 7
mov qword [rsp + 0x78], r15
mov word [rsp + 0x68], r15w
mov r8d, 0x1c
lea rdx, str.https:__crlog_crcn.adobe.com
lea rcx, [rsp + 0x68]
call fcn.14000f0d0
lea rdi, [rsp + 0x68]
mov ebx, 4
mov dword [rsp + 0x30], ebx
mov qword [rbp + 0x190], 7
mov qword [rbp + 0x188], r15
mov word [rbp + 0x178], r15w
cmp qword [rdi + 0x18], 8
jae 0x140011a17
mov r8, qword [rdi + 0x10]
add r8, 1
je 0x140011a24
add r8, r8
mov rdx, rdi
lea rcx, [rbp + 0x178]
call qword [sym.imp.VCRUNTIME140.dll_memmove]
jmp 0x140011a24
mov rax, qword [rdi]
mov qword [rbp + 0x178], rax
mov qword [rdi], r15
mov rax, qword [rdi + 0x10]
mov qword [rbp + 0x188], rax
mov rax, qword [rdi + 0x18]
mov qword [rbp + 0x190], rax
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], r15
cmp qword [rdi + 0x18], 8
jb 0x140011a50
mov rdi, qword [rdi]
mov word [rdi], r15w
test bl, 4
je 0x140011a8a
and ebx, 0xfffffffb
mov dword [rsp + 0x30], ebx
mov r8, qword [rbp - 0x80]
cmp r8, 8
jb 0x140011a77
inc r8
mov rdx, qword [rsp + 0x68]
call fcn.1400099b0
mov qword [rbp - 0x80], 7
mov qword [rsp + 0x78], r15
mov word [rsp + 0x68], r15w
test bl, 2
je 0x140011abd
and ebx, 0xfffffffd
mov dword [rsp + 0x30], ebx
mov r8, qword [rbp - 0x18]
cmp r8, 8
jb 0x140011aac
inc r8
mov rdx, qword [rbp - 0x30]
call fcn.1400099b0
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], r15
mov word [rbp - 0x30], r15w
test bl, 1
je 0x140011ad3
and ebx, 0xfffffffe
mov dword [rsp + 0x30], ebx
lea rcx, [rbp - 0x10]
call fcn.140007490
nop
mov rax, qword [rsp + 0x60]
cmp rax, 0x10
jb 0x140011b2f
inc rax
mov rcx, qword [rsp + 0x48]
cmp rax, 0x1000
jb 0x140011b2a
test cl, 0x1f
je 0x140011afa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140011b0a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x140011b1a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x140011b27
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.14001f3e4
mov qword [rsp + 0x60], 0xf
mov qword [rsp + 0x58], r15
mov byte [rsp + 0x48], 0
mov qword [rbp - 0x48], 0xf
mov qword [rbp - 0x50], r15
mov byte [rbp - 0x60], 0
mov r8d, 8
lea rdx, str.crcnport
lea rcx, [rbp - 0x60]
call fcn.140008c80
nop
lea r8, [rbp - 0x60]
lea rdx, [rbp + 0xf8]
lea rcx, [rbp + 0x168]
call fcn.14000df30
mov rax, qword [rbp + 0xf8]
cmp qword [rax + 0x50], 0
jbe 0x140011bf2
mov qword [rbp + 0x28], 0xf
mov qword [rbp + 0x20], r15
mov byte [rbp + 0x10], 0
mov r8d, 8
lea rdx, str.crcnport
lea rcx, [rbp + 0x10]
call fcn.140008c80
nop
or ebx, 8
mov dword [rsp + 0x30], ebx
lea r8, [rbp + 0x10]
lea rdx, [rbp + 0x108]
lea rcx, [rbp + 0x168]
call fcn.14000df30
mov rcx, qword [rbp + 0x108]
add rcx, 0x40
cmp qword [rcx + 0x18], 0x10
jb 0x140011be8
mov rcx, qword [rcx]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov edi, eax
jmp 0x140011bf7
mov edi, 0x1bb
test bl, 8
je 0x140011c06
lea rcx, [rbp + 0x10]
call fcn.140007490
nop
mov rax, qword [rbp - 0x48]
cmp rax, 0x10
jb 0x140011c60
inc rax
mov rcx, qword [rbp - 0x60]
cmp rax, 0x1000
jb 0x140011c5b
test cl, 0x1f
je 0x140011c2b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140011c3b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x140011c4b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x140011c58
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.14001f3e4
lea rax, [rbp + 0x30]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x50]
mov qword [rbp - 0x70], rax
mov qword [rbp + 0x48], 7
mov qword [rbp + 0x40], r15
mov word [rbp + 0x30], r15w
mov r8d, 0x2f
lea rdx, str.Content_Type:_application_x_www_form_urlencoded
lea rcx, [rbp + 0x30]
call fcn.14000f0d0
nop
mov qword [rbp + 0x68], 7
mov qword [rbp + 0x60], r15
mov word [rbp + 0x50], r15w
mov r8d, 0x13
lea rdx, str._crcn_PvbPreference
lea rcx, [rbp + 0x50]
call fcn.14000f0d0
nop
mov qword [rbp + 0x88], 7
mov qword [rbp + 0x80], r15
mov word [rbp + 0x70], r15w
mov r9, rsi
xor r8d, r8d
lea rdx, [rbp + 0x178]
lea rcx, [rbp + 0x70]
call fcn.14000f220
lea rax, [rbp + 0x1c8]
cmp qword [rbp + 0x1e0], 0x10
cmovae rax, qword [rbp + 0x1c8]
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x30]
lea r8, [rbp + 0x50]
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x1a8]
call fcn.14000eca0
nop
cmp byte [0x1400337ca], 1
jne 0x140011f04
lea rcx, [rbp + 0x178]
cmp qword [rbp + 0x190], 8
cmovae rcx, qword [rbp + 0x178]
mov rax, qword [rbp + 0x188]
lea r8, [rcx + rax*2]
mov qword [rbp - 0x68], r8
lea rdx, [rbp + 0x178]
cmovae rdx, qword [rbp + 0x178]
mov qword [rbp + 0x220], 0xf
mov qword [rbp + 0x218], r15
mov byte [rbp + 0x208], 0
lea rcx, [rbp + 0x208]
call fcn.140015530
nop
lea rdx, [rbp + 0x208]
lea rcx, [rbp + 0x138]
call fcn.140017b00
mov rbx, rax
lea rdx, str.CRCN_Host:
mov rcx, r12
call fcn.14000a670
mov rcx, rax
mov rdx, rbx
call fcn.14000ac10
mov rcx, rax
lea rdx, str._Port:
call fcn.14000a670
mov rcx, rax
mov edx, edi
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___int____ptr64]
mov rcx, rax
lea rdx, [0x14000aab0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
nop
mov r8, qword [rbp + 0x150]
cmp r8, 8
jb 0x140011e06
inc r8
mov rdx, qword [rbp + 0x138]
call fcn.1400099b0
lea rcx, [rbp + 0x1a8]
cmp qword [rbp + 0x1c0], 8
cmovae rcx, qword [rbp + 0x1a8]
mov rax, qword [rbp + 0x1b8]
lea r8, [rcx + rax*2]
mov qword [rbp - 0x70], r8
lea rdx, [rbp + 0x1a8]
cmovae rdx, qword [rbp + 0x1a8]
mov qword [rbp + 0x200], 0xf
mov qword [rbp + 0x1f8], r15
mov byte [rbp + 0x1e8], 0
lea rcx, [rbp + 0x1e8]
call fcn.140015530
nop
lea rdx, [rbp + 0x1e8]
lea rcx, [rbp + 0x118]
call fcn.140017b00
mov rbx, rax
lea rdx, str.Response_is:
mov rcx, r12
call fcn.14000a670
mov rcx, rax
mov rdx, rbx
call fcn.14000ac10
mov rcx, rax
lea rdx, [0x14000aab0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
nop
mov r8, qword [rbp + 0x130]
cmp r8, 8
jb 0x140011ebe
inc r8
mov rdx, qword [rbp + 0x118]
call fcn.1400099b0
lea rcx, [0x1400339f8]
call fcn.140009510
test rax, rax
jne 0x140011eeb
mov rax, qword [0x1400339f0]
movsxd rcx, dword [rax + 4]
add rcx, r12
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::setstate_int__bool____ptr64]
nop
lea rcx, [rbp + 0x1e8]
call fcn.140007490
nop
lea rcx, [rbp + 0x208]
call fcn.140007490
mov qword [rbp + 0xa8], 7
mov qword [rbp + 0xa0], r15
mov word [rbp + 0x90], r15w
mov r9, rsi
xor r8d, r8d
lea rdx, [rbp + 0x1a8]
lea rcx, [rbp + 0x90]
call fcn.14000f220
lea rdx, [rbp + 0x158]
lea rcx, [rbp + 0x90]
call fcn.140019250
lea rcx, [rbp + 0x158]
call fcn.14001da30
nop
mov r8, qword [rbp + 0x1c0]
cmp r8, 8
jb 0x140011f73
inc r8
mov rdx, qword [rbp + 0x1a8]
call fcn.1400099b0
mov qword [rbp + 0x1c0], 7
mov qword [rbp + 0x1b8], r15
mov word [rbp + 0x1a8], r15w
mov r8, qword [rbp + 0x190]
cmp r8, 8
jb 0x140011fa9
inc r8
mov rdx, qword [rbp + 0x178]
call fcn.1400099b0
mov qword [rbp + 0x190], 7
mov qword [rbp + 0x188], r15
mov word [rbp + 0x178], r15w
mov r8, qword [rbp + 0x168]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x168]
call fcn.14000d790
mov rcx, qword [rbp + 0x168]
call fcn.14001f3e4
mov rax, qword [rbp + 0x1e0]
mov rcx, qword [rbp + 0x1c8]
cmp rax, 0x10
jb 0x14001204e
inc rax
cmp rax, 0x1000
jb 0x140012048
test cl, 0x1f
je 0x140012018
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140012028
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x140012038
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x140012045
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.14001f3e4
nop
mov r8, qword [rbp + 0x158]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0x158]
call fcn.14000d790
mov rcx, qword [rbp + 0x158]
call fcn.14001f3e4
nop
mov rdx, qword [r14]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x140012092
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rbp + 0x228]
xor rcx, rsp
call fcn.14001f400
lea r11, [rsp + 0x330]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret