Function at 0x14004f5a0
Capabilities:
Reference cloudflare dns server

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x720
mov rax, qword [0x1400ab008]
xor rax, rsp
mov qword [rsp + 0x710], rax
mov rsi, rcx
xor r12d, r12d
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x34], 1
add rcx, 0x3c0
mov qword [rsp + 0x78], rcx
mov byte [rsp + 0x80], r12b
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x140047638
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
mov byte [rsp + 0x80], 1
mov rax, qword [rsi + 0x3a8]
cmp qword [rsi + 0x3a0], rax
jne 0x14004765d
cmp dword [rsp + 0x34], 0
setne bl
jmp 0x1400484a8
mov qword [rsp + 0x230], r12
mov qword [rsp + 0x240], r12
mov qword [rsp + 0x248], 7
mov word [rsp + 0x230], r12w
lea rax, [rsp + 0x188]
mov qword [rsp + 0xd0], rax
lea rdx, [rsi + 0x88]
lea rcx, [rsp + 0x188]
call fcn.1400069b0
nop
lea rdx, [rsi + 0x68]
lea rcx, [rsp + 0x1a8]
call fcn.1400069b0
mov dword [rsp + 0x30], 3
lea r8, [rsp + 0x188]
lea rdx, [rsp + 0x1a8]
lea rcx, [rsp + 0x410]
call fcn.140038f00
nop
mov rbx, qword [rsi + 0x3a0]
mov r14, qword [rsi + 0x3a8]
nop dword [rax]
cmp rbx, r14
je 0x1400477a6
mov dword [rsp + 0x40], r12d
mov rcx, qword [rsp + 0x4c0]
test rcx, rcx
je 0x140048565
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x140048565
mov dword [rsp + 0x4ec], r12d
lea rcx, [rsp + 0x410]
call fcn.140039cf0
test al, al
je 0x140048502
lea r8, [rsp + 0x40]
mov rdx, rbx
lea rcx, [rsp + 0x4f0]
call fcn.14003d0f0
mov edi, eax
mov dword [rsp + 0x4ec], 1
mov rcx, qword [rsp + 0x4c0]
test rcx, rcx
je 0x140048537
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
test eax, eax
je 0x140048537
lea eax, [rdi + 1]
mov dword [rsp + 0x44], eax
lea r8, [rsp + 0x44]
mov rdx, rbx
lea rcx, [rsp + 0x410]
call fcn.14003b5b0
add rbx, 0x20
jmp 0x1400476f0
mov rdx, qword [rsi + 0x3a8]
mov rcx, qword [rsi + 0x3a0]
call fcn.14000fa00
mov rax, qword [rsi + 0x3a0]
mov qword [rsi + 0x3a8], rax
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov rcx, rax
cmp rax, qword [rsi + 0x370]
jae 0x140047802
cmp dword [rsp + 0x34], 0
setne bl
lea rcx, [rsp + 0x410]
call fcn.1400393b0
nop
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
movzx eax, bl
jmp 0x1400484b6
add rcx, qword [rsi + 0x378]
mov qword [rsi + 0x370], rcx
cmp qword [rsi + 0x198], 0
jne 0x1400478bf
lea rcx, [rsp + 0x510]
call fcn.140038b50
nop
lea r9, [rsi + 0x128]
lea r8, [rsi + 0x348]
lea rdx, [rsp + 0x2d0]
lea rcx, [rsp + 0x510]
call fcn.14003b920
lea rcx, [rsi + 0x188]
mov rdx, rax
call fcn.140009a20
mov rdx, qword [rsp + 0x2e8]
cmp rdx, 8
jb 0x1400478a9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x2d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400478a4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400478a4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140058b40
mov word [rsp + 0x2d0], r12w
lea rcx, [rsp + 0x510]
call fcn.1400393b0
lea r14, [rsi + 0x188]
mov rcx, qword [r14 + 0x10]
mov r9, r14
cmp qword [r14 + 0x18], 8
jb 0x1400478d7
mov r9, qword [r14]
cmp rcx, 7
jne 0x140047917
mov rax, qword [str.p_v_t_]
movzx edx, word [r9]
movzx r8d, word [rax]
cmp dx, r8w
jb 0x140047917
sub r9, rax
cmp dx, r8w
ja 0x140047917
cmp rcx, 1
je 0x14004794e
dec rcx
add rax, 2
movzx edx, word [rax + r9]
movzx r8d, word [rax]
cmp dx, r8w
jae 0x1400478f9
lea rcx, [rsp + 0x38]
call fcn.1400205a0
nop
lea r9, [rsp + 0x2f0]
lea r8, [rsp + 0x2f8]
mov edx, 7
mov rcx, qword [str.p_v_t_]
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsCreateStringReference
test eax, eax
je 0x14004795a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov r15, 0xffffffffffffffff
jmp 0x1400480cf
lea rax, [rsp + 0x2f0]
mov qword [rsp + 0xe8], rax
lea rdi, [0x1400aff28]
mov qword [rsp + 0x148], rdi
lock inc qword [0x1400aff28]
mov rcx, qword [0x1400aff20]
test rcx, rcx
je 0x1400479d1
mov qword [rsp + 0x88], r12
mov rax, qword [rcx]
lea r8, [rsp + 0x88]
mov rdx, qword [rsp + 0x2f0]
call qword [rax + 0x50]
test eax, eax
js 0x140048594
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x50], rax
lock dec qword [0x1400aff28]
mov eax, dword [rsp + 0x30]
or eax, 0x38
jmp 0x1400479f2
lock dec qword [0x1400aff28]
lea r8, [rsp + 0xe8]
lea rdx, [rsp + 0x50]
call fcn.140042230
mov eax, dword [rsp + 0x30]
or eax, 8
or eax, 4
mov dword [rsp + 0x30], eax
lea rcx, [rsi + 0x268]
mov rax, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 8
jb 0x140047a0e
mov rcx, qword [rcx]
test eax, eax
jne 0x140047a1f
mov rdx, r12
mov qword [rsp + 0x3d0], rdx
jmp 0x140047a3e
lea r9, [rsp + 0x3d0]
lea r8, [rsp + 0x3d8]
mov edx, eax
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsCreateStringReference
mov rdx, qword [rsp + 0x3d0]
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
mov rbx, qword [rsp + 0x50]
mov r8, rbx
call qword [rax + 0x38]
test eax, eax
js 0x14004859f
test rbx, rbx
je 0x140047a68
lea rcx, [rsp + 0x50]
call fcn.140006b90
lea rcx, [rsi + 0xc8]
cmp qword [rcx + 0x18], 8
jb 0x140047a79
mov rcx, qword [rcx]
mov r15, 0xffffffffffffffff
mov rax, r15
inc rax
cmp word [rcx + rax*2], 0
jne 0x140047a83
test eax, eax
jne 0x140047a9b
mov qword [rsp + 0x290], r12
jmp 0x140047ab2
lea r9, [rsp + 0x290]
lea r8, [rsp + 0x298]
mov edx, eax
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsCreateStringReference
lea rax, [rsp + 0x290]
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0x150], rdi
lock inc qword [0x1400aff28]
mov rcx, qword [0x1400aff20]
test rcx, rcx
je 0x140047b24
mov qword [rsp + 0x90], r12
mov rax, qword [rcx]
lea r8, [rsp + 0x90]
mov rdx, qword [rsp + 0x290]
call qword [rax + 0x50]
test eax, eax
js 0x1400485aa
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x58], rax
lock dec qword [0x1400aff28]
mov eax, dword [rsp + 0x30]
or eax, 0x380
jmp 0x140047b46
lock dec qword [0x1400aff28]
lea r8, [rsp + 0xf0]
lea rdx, [rsp + 0x58]
call fcn.140042230
mov eax, dword [rsp + 0x30]
bts eax, 7
or eax, 0x40
mov dword [rsp + 0x30], eax
lea rcx, [rsi + 0x248]
mov rax, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 8
jb 0x140047b62
mov rcx, qword [rcx]
test eax, eax
jne 0x140047b73
mov rdx, r12
mov qword [rsp + 0x310], rdx
jmp 0x140047b92
lea r9, [rsp + 0x310]
lea r8, [rsp + 0x318]
mov edx, eax
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsCreateStringReference
mov rdx, qword [rsp + 0x310]
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
mov rbx, qword [rsp + 0x58]
mov r8, rbx
call qword [rax + 0x38]
test eax, eax
js 0x1400485b5
test rbx, rbx
je 0x140047bbc
lea rcx, [rsp + 0x58]
call fcn.140006b90
lea r9, [rsp + 0x330]
lea r8, [rsp + 0x338]
mov edx, 6
lea rcx, str.Fusion
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsCreateStringReference
lea rax, [rsp + 0x330]
mov qword [rsp + 0xf8], rax
mov qword [rsp + 0x158], rdi
lock inc qword [0x1400aff28]
mov rcx, qword [0x1400aff20]
test rcx, rcx
je 0x140047c4f
mov qword [rsp + 0x98], r12
mov rax, qword [rcx]
lea r8, [rsp + 0x98]
mov rdx, qword [rsp + 0x330]
call qword [rax + 0x50]
test eax, eax
js 0x1400485c0
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x60], rax
lock dec qword [0x1400aff28]
mov eax, dword [rsp + 0x30]
or eax, 0x3800
jmp 0x140047c71
lock dec qword [0x1400aff28]
lea r8, [rsp + 0xf8]
lea rdx, [rsp + 0x60]
call fcn.140042230
mov eax, dword [rsp + 0x30]
bts eax, 0xb
bts eax, 0xa
mov dword [rsp + 0x30], eax
lea rcx, [rsi + 0x288]
mov rax, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 8
jb 0x140047c8e
mov rcx, qword [rcx]
test eax, eax
jne 0x140047c9f
mov rdx, r12
mov qword [rsp + 0x350], rdx
jmp 0x140047cbe
lea r9, [rsp + 0x350]
lea r8, [rsp + 0x358]
mov edx, eax
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsCreateStringReference
mov rdx, qword [rsp + 0x350]
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
mov rbx, qword [rsp + 0x60]
mov r8, rbx
call qword [rax + 0x38]
test eax, eax
js 0x1400485cb
test rbx, rbx
je 0x140047ce8
lea rcx, [rsp + 0x60]
call fcn.140006b90
lea r9, [rsp + 0x370]
lea r8, [rsp + 0x378]
mov edx, 0xc
lea rcx, str.FusionUpdate
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsCreateStringReference
lea rax, [rsp + 0x370]
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x120], rdi
lock inc qword [0x1400aff28]
mov rcx, qword [0x1400aff20]
test rcx, rcx
je 0x140047d7b
mov qword [rsp + 0xa0], r12
mov rax, qword [rcx]
lea r8, [rsp + 0xa0]
mov rdx, qword [rsp + 0x370]
call qword [rax + 0x50]
test eax, eax
js 0x1400485d6
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x68], rax
lock dec qword [0x1400aff28]
mov eax, dword [rsp + 0x30]
or eax, 0x38000
jmp 0x140047d9d
lock dec qword [0x1400aff28]
lea r8, [rsp + 0x100]
lea rdx, [rsp + 0x68]
call fcn.140042230
mov eax, dword [rsp + 0x30]
bts eax, 0xf
bts eax, 0xe
mov dword [rsp + 0x30], eax
lea rcx, [rsi + 0x2a8]
mov rax, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 8
jb 0x140047dba
mov rcx, qword [rcx]
test eax, eax
jne 0x140047dcb
mov rdx, r12
mov qword [rsp + 0x390], rdx
jmp 0x140047dea
lea r9, [rsp + 0x390]
lea r8, [rsp + 0x398]
mov edx, eax
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsCreateStringReference
mov rdx, qword [rsp + 0x390]
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
mov rbx, qword [rsp + 0x68]
mov r8, rbx
call qword [rax + 0x38]
test eax, eax
js 0x1400485e1
test rbx, rbx
je 0x140047e14
lea rcx, [rsp + 0x68]
call fcn.140006b90
mov rax, qword [r14 + 0x10]
mov rcx, r14
cmp qword [r14 + 0x18], 8
jb 0x140047e25
mov rcx, qword [r14]
test eax, eax
jne 0x140047e33
mov qword [rsp + 0x2b0], r12
jmp 0x140047e4a
lea r9, [rsp + 0x2b0]
lea r8, [rsp + 0x2b8]
mov edx, eax
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsCreateStringReference
lea rax, [rsp + 0x2b0]
mov qword [rsp + 0x108], rax
mov qword [rsp + 0x128], rdi
lock inc qword [0x1400aff28]
mov rcx, qword [0x1400aff20]
test rcx, rcx
je 0x140047ebd
mov qword [rsp + 0xa8], r12
mov rax, qword [rcx]
lea r8, [rsp + 0xa8]
mov rdx, qword [rsp + 0x2b0]
call qword [rax + 0x50]
test eax, eax
js 0x1400485ec
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x70], rax
lock dec qword [0x1400aff28]
mov edi, dword [rsp + 0x30]
or edi, 0x380000
jmp 0x140047edf
lock dec qword [0x1400aff28]
lea r8, [rsp + 0x108]
lea rdx, [rsp + 0x70]
call fcn.140042230
mov edi, dword [rsp + 0x30]
bts edi, 0x13
bts edi, 0x12
lea rcx, [rsi + 0x2e8]
mov rax, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 8
jb 0x140047ef8
mov rcx, qword [rcx]
test eax, eax
jne 0x140047f09
mov rdx, r12
mov qword [rsp + 0x3b0], rdx
jmp 0x140047f28
lea r9, [rsp + 0x3b0]
lea r8, [rsp + 0x3b8]
mov edx, eax
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsCreateStringReference
mov rdx, qword [rsp + 0x3b0]
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
mov rbx, qword [rsp + 0x70]
mov r8, rbx
call qword [rax + 0x38]
test eax, eax
js 0x1400485f7
test rbx, rbx
je 0x140047f52
lea rcx, [rsp + 0x70]
call fcn.140006b90
mov qword [rsp + 0xc0], r12
mov rcx, qword [rsp + 0x38]
test rcx, rcx
jne 0x140047f69
mov rcx, r12
jmp 0x140047f8d
mov qword [rsp + 0xb0], r12
mov rax, qword [rcx]
lea r8, [rsp + 0xb0]
lea rdx, [0x140072e38]
call qword [rax]
mov rcx, qword [rsp + 0xb0]
mov qword [rsp + 0xb8], rcx
mov rax, qword [rcx]
lea rdx, [rsp + 0xc0]
call qword [rax + 0x38]
test eax, eax
js 0x140048602
lea rcx, [rsp + 0xb8]
call fcn.140006b90
bts edi, 0x16
mov dword [rsp + 0x30], edi
xor edx, edx
mov rbx, qword [rsp + 0xc0]
mov rcx, rbx
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsGetStringRawBuffer
mov rdx, rax
lea rcx, [rsp + 0x270]
call sym.OmenCap.exe_public:_static_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_Hp::Bridge::Server::Services::StringUtils::FromUtf16ToUtf8_wchar_t_const____ptr64_
nop
test rbx, rbx
je 0x140047ff0
mov rcx, rbx
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString
mov dword [rsp + 0x48], 1
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x270]
lea rcx, [rsp + 0x410]
call fcn.14003b5b0
mov r8d, 7
mov rdx, qword [str.p_v_t_]
mov rcx, r14
call fcn.140006a60
lea rcx, [rsp + 0x610]
call fcn.140038b50
nop
lea rdx, [rsi + 0x348]
mov r8, r14
lea rcx, [rsp + 0x610]
call fcn.14003b770
nop
lea rcx, [rsp + 0x610]
call fcn.1400393b0
nop
mov rdx, qword [rsp + 0x288]
cmp rdx, 0x10
jb 0x1400480a1
inc rdx
mov rcx, qword [rsp + 0x270]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004809c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004809c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140058b40
mov qword [rsp + 0x280], r12
mov qword [rsp + 0x288], 0xf
mov byte [rsp + 0x270], 0
cmp qword [rsp + 0x38], 0
je 0x1400480cf
lea rcx, [rsp + 0x38]
call fcn.140006b90
lea rbx, [rsi + 0x148]
lea r9, [rsi + 0xe8]
mov r8, rbx
lea rdx, [rsp + 0x3f0]
lea rcx, [rsp + 0x410]
call fcn.14003b920
lea rcx, [rsp + 0x230]
cmp rcx, rax
je 0x140048129
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x230], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x240], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
mov rdx, qword [rsp + 0x408]
cmp rdx, 8
jb 0x140048174
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x3f0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004816f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004816f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140058b40
cmp qword [rsp + 0x240], 0
jne 0x140048263
lea rdx, [rsi + 0xc8]
lea rax, [rsp + 0x230]
cmp rax, rdx
je 0x1400481b2
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 8
jb 0x1400481a5
mov rdx, qword [rdx]
lea rcx, [rsp + 0x230]
call fcn.140006a60
cmp qword [rbx + 0x18], 0x10
jb 0x1400481bc
mov rbx, qword [rbx]
mov qword [rsp + 0x250], r12
mov qword [rsp + 0x260], r12
mov qword [rsp + 0x268], 0xf
mov byte [rsp + 0x250], 0
mov r8, r15
inc r8
cmp byte [rbx + r8], 0
jne 0x1400481e3
mov rdx, rbx
lea rcx, [rsp + 0x250]
call fcn.140008940
nop
lea r8, [rsp + 0x230]
lea rdx, [rsp + 0x250]
lea rcx, [rsp + 0x410]
call fcn.14003b770
nop
mov rdx, qword [rsp + 0x268]
cmp rdx, 0x10
jb 0x140048263
inc rdx
mov rcx, qword [rsp + 0x250]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004825d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004825d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140058b40
nop
lea rcx, [rsp + 0x410]
call fcn.1400393b0
lea rcx, [rsi + 0xc8]
mov rdx, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 8
jb 0x140048285
mov rcx, qword [rcx]
lea r9, [rsp + 0x230]
cmp qword [rsp + 0x248], 8
setae r14b
mov rbx, qword [rsp + 0x230]
cmovae r9, rbx
mov rax, qword [rsp + 0x240]
cmp rax, rdx
jne 0x1400482f3
test rax, rax
je 0x140048450
movzx edx, word [r9]
movzx r8d, word [rcx]
cmp dx, r8w
jb 0x1400482f3
sub r9, rcx
cmp dx, r8w
ja 0x1400482f3
cmp rax, 1
je 0x140048450
dec rax
add rcx, 2
movzx edx, word [rcx + r9]
movzx r8d, word [rcx]
cmp dx, r8w
jae 0x1400482d1
mov rax, qword [rsi + 0x390]
test rax, rax
je 0x140048335
cmp byte [rsi + 0x398], 0
je 0x140048311
cmp byte [rax + 0xb8], 0
jne 0x140048335
mov qword [rsp + 0xc8], r12
lea rdx, [rsp + 0xc8]
lea rcx, [rsi + 0x390]
call fcn.14004d850
test eax, eax
jne 0x140048450
mov qword [rsp + 0x110], rsi
lea rax, [rsp + 0x34]
mov qword [rsp + 0x118], rax
movaps xmm0, xmmword [rsp + 0x110]
movdqa xmmword [rsp + 0x160], xmm0
mov ecx, 0x120
call fcn.140058b74
mov qword [rsp + 0x130], rax
lea rdx, [rsp + 0x160]
mov rcx, rax
call fcn.14004ec30
mov rcx, rax
mov qword [rsp + 0x170], rax
mov byte [rsp + 0x178], 0
mov byte [rsp + 0x180], 0
test rax, rax
je 0x1400484e4
lock inc dword [rax + 8]
mov qword [rsp + 0xd8], rax
mov byte [rsp + 0xe0], 1
or dword [rsp + 0x30], 0x800000
mov eax, r15d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400483ee
mov r8, qword [rcx + 0xc8]
test r8, r8
je 0x1400483e3
mov rax, qword [r8]
mov rdx, rcx
mov rcx, r8
call qword [rax]
jmp 0x1400483ee
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
nop
lea rdx, [rsp + 0xd8]
lea rcx, [rsi + 0x390]
call fcn.140043ca0
nop
mov rax, qword [rsp + 0xd8]
test rax, rax
je 0x140048448
lock xadd dword [rax + 8], r15d
cmp r15d, 1
jne 0x140048448
mov rcx, qword [rsp + 0xd8]
mov r8, qword [rcx + 0xc8]
test r8, r8
je 0x14004843d
mov rax, qword [r8]
mov rdx, rcx
mov rcx, r8
call qword [rax]
jmp 0x140048448
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
nop
mov rbx, qword [rsp + 0x230]
test r14b, r14b
je 0x140048496
mov rax, qword [rsp + 0x248]
lea rdx, [rax*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14004848d
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004848d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140058b40
nop
cmp dword [rsp + 0x34], 0
setne bl
cmp byte [rsp + 0x80], 0
je 0x1400484b3
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
movzx eax, bl
mov rcx, qword [rsp + 0x710]
xor rcx, rsp
call fcn.140058b20
lea r11, [rsp + 0x720]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
mov edx, 4
lea rcx, [rsp + 0x1e0]
call fcn.140043bb0
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_future_error_class_std::error_code_const____ptr64_]
nop
jmp 0x140048496
lea rcx, [rsp + 0x4c0]
call fcn.14003e3e0
lea rdx, str.CapDataStore::read___File_read_error
lea rcx, [rsp + 0x1c8]
call fcn.140007360
lea rdx, [0x1400a20d0]
lea rcx, [rsp + 0x1c8]
call sub.VCRUNTIME140.dll__CxxThrowException
mov r8d, 3
lea rdx, str.SystemMutex::unlock___something_went_wrong_trying_to_free_the_mutex
lea rcx, [rsp + 0x1f0]
call fcn.14003e430
lea rdx, [0x1400a24f8]
lea rcx, [rsp + 0x1f0]
call sub.VCRUNTIME140.dll__CxxThrowException
mov r8d, 2
lea rdx, str.SystemMutex::lock___failed_to_gain_ownership_of_mutex
lea rcx, [rsp + 0x210]
call fcn.14003e430
lea rdx, [0x1400a24f8]
lea rcx, [rsp + 0x210]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lfence
mov ecx, eax
call fcn.1400054a0
nop
lfence
mov ecx, eax
call fcn.1400054a0
nop
lfence
mov ecx, eax
call fcn.1400054a0
nop
lfence
mov ecx, eax
call fcn.1400054a0
nop
lfence
mov ecx, eax
call fcn.1400054a0
nop
lfence
mov ecx, eax
call fcn.1400054a0
nop
lfence
mov ecx, eax
call fcn.1400054a0
nop
lfence
mov ecx, eax
call fcn.1400054a0
nop
lfence
mov ecx, eax
call fcn.1400054a0
nop
lfence
mov ecx, eax
call fcn.1400054a0
nop
lfence
mov ecx, eax
call fcn.1400054a0
int3
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [0x1400affd0]
test rcx, rcx
je 0x14004f5cc
mov rax, qword [rbx + 8]
mov edx, dword [rax + 0x378]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x14004f5da
mov rcx, qword [rbx + 8]
add rsp, 0x20
pop rbx
jmp 0x1400475d0
add rsp, 0x20
pop rbx
ret