Function at 0x140238ae0
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x208]
sub rsp, 0x2d0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [0x1403f04b0]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov r15, r8
mov rdi, rdx
mov r14, rcx
call fcn.140048a14
mov r10, qword [rax + 8]
xor r13d, r13d
lea rsi, [0x1402cb810]
or r8, 0xffffffffffffffff
cmp dword [r10], 4
jbe 0x140238c0c
lea rax, str.Hpi_Probe_adapter_started
mov qword [rbp + 0x180], rax
mov qword [rbp + 0x188], 0x34
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140238b6a
mov rcx, qword [rdi]
mov rdx, rsi
mov rax, r13
test rcx, rcx
je 0x140238b85
mov rdx, rcx
mov rax, r8
inc rax
cmp word [rcx + rax*2], r13w
jne 0x140238b7b
mov qword [rbp + 0x190], rdx
lea eax, [rax*2 + 2]
mov dword [rbp + 0x198], eax
mov dword [rbp + 0x19c], r13d
mov rcx, r15
cmp qword [r15 + 0x18], 8
jb 0x140238bad
mov rcx, qword [r15]
mov rdx, rsi
mov rax, r13
test rcx, rcx
je 0x140238bc8
mov rdx, rcx
mov rax, r8
inc rax
cmp word [rcx + rax*2], r13w
jne 0x140238bbe
mov qword [rbp + 0x1a0], rdx
lea eax, [rax*2 + 2]
mov dword [rbp + 0x1a8], eax
mov dword [rbp + 0x1ac], r13d
lea rax, [rbp + 0x160]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 5
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14035212a]
mov rcx, r10
call fcn.140001078
mov rdx, rsi
lea rcx, [rsp + 0x58]
call fcn.140048750
nop
lea r9, [rsp + 0x58]
mov r8b, 2
mov rdx, rdi
mov rcx, r14
call fcn.14023a3e0
nop
lea rcx, [rsp + 0x58]
call fcn.1400492c0
lea rcx, [rsp + 0x48]
call fcn.14015fedc
nop
lea rdx, [rsp + 0x48]
call fcn.14023baec
mov ebx, eax
test eax, eax
jns 0x140238c90
mov rdx, rsi
lea rcx, [rsp + 0x58]
call fcn.140048750
nop
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x20], 0xfc
lea r9, [0x140407ea8]
mov r8d, ebx
mov rdx, rdi
mov rcx, r14
call fcn.14023a804
nop
lea rcx, [rsp + 0x58]
jmp 0x140239494
mov rcx, r14
call fcn.14023c244
mov ebx, eax
test eax, eax
jns 0x140238cd3
mov rdx, rsi
lea rcx, [rsp + 0x58]
call fcn.140048750
nop
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x20], 0xfc
lea r9, [0x140407ee8]
mov r8d, ebx
mov rdx, rdi
mov rcx, r14
call fcn.14023a804
nop
jmp 0x140238c86
mov qword [rbp - 0x28], r13
mov r12d, 7
mov qword [rbp - 0x20], r12
mov word [rbp - 0x38], r13w
mov qword [rbp - 8], r13
mov qword [rbp], r12
mov word [rbp - 0x18], r13w
movdqa xmm0, xmmword [0x140307960]
movdqa xmmword [rbp + 0x20], xmm0
mov word [rbp + 0x10], r13w
movdqa xmmword [rbp + 0x40], xmm0
mov word [rbp + 0x30], r13w
lea rcx, [rbp + 0x50]
call fcn.14015fedc
nop
lea r8, [rbp - 0x40]
lea rdx, [rsp + 0x48]
mov rcx, r14
call fcn.140239d10
mov ebx, eax
test eax, eax
jns 0x140238d6d
mov rdx, rsi
lea rcx, [rsp + 0x58]
call fcn.140048750
nop
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x20], 0xfc
lea r9, [0x140407ea8]
mov r8d, ebx
mov rdx, rdi
mov rcx, r14
call fcn.14023a804
nop
lea rcx, [rsp + 0x58]
jmp 0x140239450
cmp byte [rbp - 0x40], r13b
jne 0x140238dad
mov rdx, rsi
lea rcx, [rsp + 0x58]
call fcn.140048750
nop
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x20], 0xfd
lea r9, [0x140407ec8]
mov ebx, 0x10dd
mov r8d, ebx
mov rdx, rdi
mov rcx, r14
call fcn.14023a804
nop
jmp 0x140238d63
lea rdx, [rbp - 0x40]
call fcn.14023be04
mov ebx, eax
test eax, eax
jns 0x140238df4
mov rdx, rsi
lea rcx, [rsp + 0x58]
call fcn.140048750
nop
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x20], 0xfc
lea r9, [0x140407ea8]
mov r8d, ebx
mov rdx, rdi
mov rcx, r14
call fcn.14023a804
nop
jmp 0x140238d63
movdqa xmm0, xmmword [0x140307960]
movdqa xmmword [rbp + 0x90], xmm0
mov word [rbp + 0x80], r13w
movdqa xmmword [rbp + 0xb0], xmm0
mov word [rbp + 0xa0], r13w
movdqa xmmword [rbp + 0xd0], xmm0
mov word [rbp + 0xc0], r13w
movdqa xmmword [rbp + 0xf0], xmm0
mov word [rbp + 0xe0], r13w
lea r8, [rbp + 0x80]
mov rdx, r15
mov rcx, r14
call fcn.140239548
mov ebx, eax
test eax, eax
jns 0x140238e91
mov rdx, rsi
lea rcx, [rsp + 0x58]
call fcn.140048750
nop
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x20], 0xfc
lea r9, [0x140407e08]
mov r8d, ebx
mov rdx, rdi
mov rcx, r14
call fcn.14023a804
nop
lea rcx, [rsp + 0x58]
jmp 0x14023941f
lea r8, [rbp + 0xc0]
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x120]
call fcn.1400702cc
nop
mov r8d, 1
lea rdx, [0x1402cc570]
mov rcx, rax
call fcn.140054efc
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x68], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], r12
mov word [rax], r13w
lea rdx, [0x140407f08]
cmp qword [0x140407f20], 8
cmovae rdx, qword [0x140407f08]
mov r8, qword [0x140407f18]
lea rcx, [rsp + 0x58]
call fcn.140054efc
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x78], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], r12
mov word [rax], r13w
lea rcx, [rsp + 0x58]
call fcn.1400492c0
nop
lea rcx, [rbp + 0x120]
call fcn.1400492c0
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rcx, qword [rsp + 0x78]
call qword [sym.imp.api_ms_win_core_shlwapi_legacy_l1_1_0.dll_PathFileExistsW]
test eax, eax
je 0x14023908c
call fcn.140048a14
mov rcx, qword [rax + 8]
mov r12d, 3
cmp dword [rcx], 4
jbe 0x140238fb5
lea rax, str.Hpi_Probe_file_exists_in_cache
mov qword [rbp + 0x180], rax
mov qword [rbp + 0x188], 0x3e
lea rax, [rbp + 0x160]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14035266a]
call fcn.140001078
lea r8, [rbp + 0xc0]
lea rdx, [rsp + 0x78]
call fcn.14023ad98
test eax, eax
jns 0x14023922d
call fcn.140048a14
mov rcx, qword [rax + 8]
cmp dword [rcx], 4
jbe 0x140239018
lea rax, str.Hpi_Probe_file_failed_verification__redownloading
mov qword [rbp + 0x180], rax
mov qword [rbp + 0x188], 0x64
lea rax, [rbp + 0x160]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14035266a]
call fcn.140001078
lea rax, [rbp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp + 8]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x38]
call fcn.14023a94c
mov ebx, eax
test eax, eax
jns 0x140239148
mov rdx, rsi
lea rcx, [rbp - 0x68]
call fcn.140048750
nop
lea rax, [rbp - 0x68]
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x20], 0xfe
lea r9, [0x140407e28]
mov r8d, ebx
mov rdx, rdi
mov rcx, r14
call fcn.14023a804
nop
lea rcx, [rbp - 0x68]
jmp 0x140239414
call fcn.140048a14
mov rcx, qword [rax + 8]
mov r12d, 3
cmp dword [rcx], 4
jbe 0x1402390dc
lea rax, str.Hpi_Probe_file_does_not_exist_in_cache
mov qword [rbp + 0x180], rax
mov qword [rbp + 0x188], 0x4e
lea rax, [rbp + 0x160]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14035266a]
call fcn.140001078
lea rax, [rbp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp + 8]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x38]
call fcn.14023a94c
mov ebx, eax
test eax, eax
jns 0x140239148
mov rdx, rsi
lea rcx, [rbp - 0x68]
call fcn.140048750
nop
lea rax, [rbp - 0x68]
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x20], 0xfe
lea r9, [0x140407e28]
mov r8d, ebx
mov rdx, rdi
mov rcx, r14
call fcn.14023a804
nop
jmp 0x140239083
call fcn.140048a14
mov rcx, qword [rax + 8]
cmp dword [rcx], 4
jbe 0x140239192
lea rax, str.Hpi_Probe_file_was_downloaded__validating_sha256_hash
mov qword [rbp + 0x180], rax
mov qword [rbp + 0x188], WSACleanup
lea rax, [rbp + 0x160]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14035266a]
call fcn.140001078
lea r8, [rbp + 0xc0]
lea rdx, [rsp + 0x78]
call fcn.14023ad98
mov ebx, eax
test eax, eax
jns 0x14023922d
call fcn.140048a14
mov rcx, qword [rax + 8]
cmp dword [rcx], 4
jbe 0x1402391f7
lea rax, str.Hpi_Probe_file_failed_verification
mov qword [rbp + 0x180], rax
mov qword [rbp + 0x188], VarR8FromUI1
lea rax, [rbp + 0x160]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14035266a]
call fcn.140001078
mov rdx, rsi
lea rcx, [rbp - 0x68]
call fcn.140048750
nop
lea rax, [rbp - 0x68]
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x20], 0xfa
lea r9, [0x140407e68]
mov r8d, ebx
mov rdx, rdi
mov rcx, r14
call fcn.14023a804
nop
jmp 0x140239083
lea r8, [0x1402f7644]
mov rdx, rdi
lea rcx, [rbp + 0x160]
call fcn.1400547b0
nop
lea r8, [rbp + 0x30]
mov rdx, rax
lea rcx, [rbp + 0x140]
call fcn.14007ee0c
nop
lea r8, [0x1402f7644]
mov rdx, rax
lea rcx, [rbp - 0x68]
call fcn.140070370
nop
lea r8, [rbp + 0xa0]
mov rdx, rax
lea rcx, [rbp + 0x100]
call fcn.14007ee0c
nop
lea rcx, [rbp - 0x68]
call fcn.1400492c0
nop
lea rcx, [rbp + 0x140]
call fcn.1400492c0
nop
lea rcx, [rbp + 0x160]
call fcn.1400492c0
mov rdx, rsi
lea rcx, [rbp + 0x60]
call fcn.140048750
nop
lea rax, [rbp + 0x60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
mov r9d, dword [rbp - 0x3c]
lea r8, [rbp + 0x100]
lea rdx, [rsp + 0x78]
call fcn.14023b52c
mov ebx, eax
mov rdx, rdi
mov rcx, r14
test eax, eax
jns 0x140239304
lea rax, [rbp + 0x60]
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x20], 0xfe
lea r9, [0x140407e88]
mov r8d, ebx
call fcn.14023a804
jmp 0x140239403
lea r9, [rbp + 0x60]
mov r8b, r12b
call fcn.14023a3e0
call fcn.140048a14
mov r10, qword [rax + 8]
cmp dword [r10], 4
jbe 0x140239400
lea rax, [0x1402f7648]
mov qword [rbp + 0x180], rax
mov qword [rbp + 0x188], 0x36
cmp qword [rdi + 0x18], 8
jb 0x140239346
mov rdi, qword [rdi]
mov rcx, rsi
mov rax, r13
test rdi, rdi
je 0x140239362
mov rcx, rdi
or rax, 0xffffffffffffffff
inc rax
cmp word [rdi + rax*2], r13w
jne 0x140239358
mov qword [rbp + 0x190], rcx
lea eax, [rax*2 + 2]
mov dword [rbp + 0x198], eax
mov dword [rbp + 0x19c], r13d
cmp qword [r15 + 0x18], 8
jb 0x140239387
mov r15, qword [r15]
mov rax, r13
test r15, r15
je 0x1402393a0
mov rsi, r15
or rax, 0xffffffffffffffff
inc rax
cmp word [r15 + rax*2], r13w
jne 0x140239396
mov qword [rbp + 0x1a0], rsi
lea eax, [rax*2 + 2]
mov dword [rbp + 0x1a8], eax
mov dword [rbp + 0x1ac], r13d
mov byte [rsp + 0x40], r12b
lea rax, [rsp + 0x40]
mov qword [rbp + 0x1b0], rax
mov qword [rbp + 0x1b8], 1
lea rax, [rbp + 0x160]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 6
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140351979]
mov rcx, r10
call fcn.140001078
mov ebx, r13d
lea rcx, [rbp + 0x60]
call fcn.1400492c0
nop
lea rcx, [rbp + 0x100]
call fcn.1400492c0
nop
lea rcx, [rsp + 0x78]
call fcn.1400492c0
nop
lea rcx, [rbp + 0xe0]
call fcn.1400492c0
lea rcx, [rbp + 0xc0]
call fcn.1400492c0
lea rcx, [rbp + 0xa0]
call fcn.1400492c0
lea rcx, [rbp + 0x80]
call fcn.1400492c0
nop
mov rcx, qword [rbp + 0x50]
test rcx, rcx
je 0x140239475
mov rax, qword [rcx]
mov edx, 1
mov rax, qword [rax + 0xc0]
call qword [str.__v__]
nop
lea rcx, [rbp + 0x30]
call fcn.1400492c0
lea rcx, [rbp + 0x10]
call fcn.1400492c0
lea rcx, [rbp - 0x18]
call fcn.1400492c0
lea rcx, [rbp - 0x38]
call fcn.1400492c0
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1402394ba
mov r8, qword [rcx]
mov edx, 1
mov rax, qword [r8 + 0xc0]
call qword [str.__v__]
nop
mov eax, ebx
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.14027a710
mov rbx, qword [rsp + 0x328]
add rsp, 0x2d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret