Function at 0x140077310
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x1401c6780]
xor rax, rsp
mov qword [rbp + 0x88], rax
mov rsi, r8
mov rbx, rdx
xor r13d, r13d
mov rcx, rdx
call fcn.140087480
test al, al
jne 0x14007735e
lea eax, [r13 + 1]
jmp 0x140077967
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x40], r13
lfence
mov ecx, 0x40
call fcn.1401219f8
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbp - 0x48], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x58], r13
mov qword [rbp - 0x50], r13
lfence
mov ecx, 0x40
call fcn.1401219f8
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbp - 0x58], rax
mov r8, rbx
lea rdx, [rbp + 0x50]
call fcn.1400779a0
nop
cmp qword [rbp + 0x60], 0
jne 0x1400773de
mov edi, 1
jmp 0x140077948
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], rax
lea rcx, [rbp - 0x30]
call fcn.14001b970
lea rax, vtable.CurlDownloader.0
mov qword [rbp - 0x30], rax
mov edi, 1
mov r8d, edi
lea edx, [rdi + 0x62]
mov rcx, qword [rbp - 0x28]
call fcn.1400c31c0
lea edx, [rdi + 0xc]
lea r8d, [rdi + 9]
mov rcx, qword [rbp - 0x28]
call fcn.1400c31c0
lea rax, vtable.CSCurlDownloader.0
mov qword [rbp - 0x30], rax
lea rcx, [rbp + 0x30]
call fcn.14001cb50
mov dword [rbp + 0x40], edi
lea rax, [0x1400724c0]
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], r13
lea r8, str..err
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140025030
nop
mov rcx, rax
call fcn.140026750
nop
lea rcx, [rsp + 0x40]
call fcn.140009810
mov rdx, rbx
lea rcx, [rbp - 0x30]
call fcn.1400664f0
mov r8, rsi
lea rdx, [rbp + 0x50]
lea rcx, [rbp - 0x30]
call fcn.14001bd00
test al, al
jne 0x14007790b
cmp dword [rbp - 0x14], 0x194
je 0x1400774f4
mov rcx, rsi
cmp qword [rsi + 0x18], 7
jbe 0x1400774c3
mov rcx, qword [rsi]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x1400774f4
mov qword [rbp - 0x80], r13
mov dword [rbp - 0x78], r13d
mov edx, edi
lea rcx, [rbp - 0x80]
call fcn.140132000
mov r9, qword [rbp - 0x80]
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call fcn.140024e90
jmp 0x14007754b
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x68], r13
mov r8d, 2
lea rdx, [0x1401956a8]
lea rcx, [rbp - 0x80]
call fcn.14000c1a0
nop
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0xf
cmova rdx, qword [rbp - 0x80]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
xor r9d, r9d
mov r8, qword [rbp - 0x70]
mov rcx, rsi
call fcn.1400233d0
nop
lea rcx, [rbp - 0x80]
call fcn.140009880
xor ecx, ecx
call fcn.140027930
test rax, rax
je 0x140077576
mov dword [rsp + 0x20], edi
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001ccd0]
mov rcx, rax
call fcn.140027c40
jmp 0x140077579
mov rax, r13
mov eax, dword [rax + 0x40]
test eax, eax
je 0x1400775dc
cmp eax, 2
jl 0x1400775dc
xor ecx, ecx
call fcn.140027930
test rax, rax
je 0x1400775b3
mov dword [rsp + 0x20], edi
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001ccd0]
mov rcx, rax
call fcn.140027c40
mov rcx, rax
jmp 0x1400775b6
mov rcx, r13
lea r9, [rbp + 0x50]
cmp qword [rbp + 0x68], 0xf
cmova r9, qword [rbp + 0x50]
mov eax, dword [rbp - 0x14]
mov dword [rsp + 0x20], eax
lea r8, str.FacetFilterData::Download:_Failed_to_download_whitelist_URL:__s__errorCode:__ld
mov edx, 2
call fcn.14001ef20
mov qword [rbp - 0x60], r13
mov ebx, dword [rbp - 0x14]
mov ecx, 0x58
call fcn.1401219f8
mov qword [rbp - 0x80], rax
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
mov qword [rax + 0x50], rcx
movd xmm1, ebx
cvtdq2pd xmm1, xmm1
mov rcx, rax
call fcn.1400b0ea0
mov r15, rax
mov qword [rbp - 0x80], rax
mov ecx, 0x40
call fcn.1401219f8
mov r14, rax
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rbx, [rax + 0x20]
movups xmmword [rbx], xmm0
lea r12, [rbx + 0x10]
mov qword [r12], r13
mov qword [rbx + 0x18], 7
mov word [rbx], r13w
mov rdi, 0xffffffffffffffff
mov r8, rdi
lea rax, str.httpCode
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140077680
mov rdx, rax
mov rcx, r14
call fcn.14000a7d0
cmp qword [rbx + 0x18], 7
jbe 0x14007769f
mov rbx, qword [rbx]
mov qword [r12], r13
mov word [rbx], r13w
mov qword [rsp + 0x30], r14
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x60]
call fcn.1400b1d90
mov rbx, rax
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1400b0970
nop
mov rcx, rbx
call fcn.1400b28a0
test r15, r15
je 0x1400776de
mov qword [rbx], r15
mov qword [rbp - 0x80], r13
lea rcx, [rbp - 0x80]
call fcn.1400b28a0
mov ebx, dword [rbp - 0x18]
mov ecx, 0x58
call fcn.1401219f8
mov qword [rbp - 0x80], rax
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
mov qword [rax + 0x50], rcx
movd xmm1, ebx
cvtdq2pd xmm1, xmm1
mov rcx, rax
call fcn.1400b0ea0
mov r15, rax
mov qword [rsp + 0x30], rax
mov ecx, 0x40
call fcn.1401219f8
mov r14, rax
mov qword [rbp - 0x80], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rbx, [rax + 0x20]
movups xmmword [rbx], xmm0
lea r12, [rbx + 0x10]
mov qword [r12], r13
mov qword [rbx + 0x18], 7
mov word [rbx], r13w
mov r8, rdi
lea rax, str.curlCode
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140077780
mov rdx, rax
mov rcx, r14
call fcn.14000a7d0
cmp qword [rbx + 0x18], 7
jbe 0x14007779f
mov rbx, qword [rbx]
mov qword [r12], r13
mov word [rbx], r13w
mov qword [rbp - 0x80], r14
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x60]
call fcn.1400b1d90
mov rbx, rax
xor edx, edx
lea rcx, [rbp - 0x80]
call fcn.1400b0970
nop
mov rcx, rbx
call fcn.1400b28a0
test r15, r15
je 0x1400777dc
mov qword [rbx], r15
mov qword [rsp + 0x30], r13
lea rcx, [rsp + 0x30]
call fcn.1400b28a0
lea r8, str..err
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.140025030
mov rbx, rax
mov rdx, qword [rbp - 0x60]
test rdx, rdx
je 0x140077832
lea rcx, [rsp + 0x40]
call fcn.1400b9c20
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x38]
call fcn.14001b2a0
nop
lea rcx, [rsp + 0x40]
call fcn.140009880
mov rax, qword [rsp + 0x38]
jmp 0x14007783a
mov rax, r13
mov qword [rsp + 0x38], rax
test rax, rax
je 0x140077862
mov rcx, rax
mov rdx, rax
mov r8, qword [rax + 0x18]
cmp r8, 0xf
jbe 0x140077852
mov rcx, qword [rax]
test rcx, rcx
je 0x140077862
cmp r8, 0xf
jbe 0x140077869
mov rdx, qword [rax]
jmp 0x140077869
lea rdx, [0x14018f4cd]
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x68], r13
nop dword [rax + rax]
inc rdi
cmp byte [rdx + rdi], 0
jne 0x140077880
mov r8, rdi
lea rcx, [rbp - 0x80]
call fcn.14000c1a0
nop
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0xf
cmova rdx, qword [rbp - 0x80]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
xor r9d, r9d
mov r8, qword [rbp - 0x70]
mov rcx, rbx
call fcn.1400233d0
nop
lea rcx, [rbp - 0x80]
call fcn.140009880
nop
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.1400b0970
nop
lea rcx, [rsp + 0x60]
call fcn.140009810
mov eax, 0x51eb851f
imul dword [rbp - 0x14]
mov ebx, edx
sar ebx, 5
mov eax, ebx
shr eax, 0x1f
add ebx, eax
lea rcx, [rbp - 0x60]
call fcn.1400b28a0
mov edi, r13d
cmp ebx, 4
setne dil
add edi, 2
jmp 0x14007790e
mov edi, r13d
lea rax, vtable.CurlCommon.0
mov qword [rbp - 0x30], rax
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x140077927
call fcn.1400c3790
mov rcx, qword [rbp - 0x28]
call fcn.1400c32d0
call fcn.1400c3530
lea rcx, [rbp + 0x30]
call fcn.14001cb50
lea rcx, [rbp + 0x18]
call fcn.14001cb50
nop
lea rcx, [rbp + 0x50]
call fcn.140009880
nop
lea rcx, [rbp - 0x58]
call fcn.14002ec40
nop
lea rcx, [rbp - 0x48]
call fcn.14002ec40
mov eax, edi
mov rcx, qword [rbp + 0x88]
xor rcx, rsp
call fcn.1401219d0
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x190
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret