Function at 0x140012210
Capabilities:
Check if file exists

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 7]
sub rsp, 0xb8
mov rax, qword [0x14036e028]
xor rax, rsp
mov qword [rbp - 9], rax
mov rsi, r9
mov rdi, r8
mov r14, rdx
mov r15, rcx
mov rax, qword [rbp + 0x77]
mov qword [rbp - 0x59], rax
mov r12, qword [rbp + 0x7f]
mov rax, qword [rbp + 0x87]
mov qword [rbp - 0x61], rax
mov r13, qword [rbp + 0x8f]
cmp dword [rcx + 0x98], 0
je 0x1400122a9
mov ebx, dword [rcx + 0x98]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp ebx, eax
je 0x1400122a5
cmp byte [r15 + 0x91], 0
jne 0x1400122a5
test ebx, ebx
je 0x1400122a5
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [r15 + 0x98], eax
je 0x1400122a5
cmp byte [r15 + 0x91], 0
je 0x140012556
mov rax, qword [rbp - 0x61]
cmp qword [r14 + 0x10], 0
je 0x140012556
cmp qword [rdi + 0x10], 0
je 0x140012556
cmp qword [rsi + 0x10], 0
je 0x140012556
test r12, r12
je 0x140012556
test rax, rax
je 0x140012556
test r13, r13
je 0x140012556
mov byte [rax], 0
mov byte [r13], 0
and qword [rbp - 0x29], 0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x19], xmm0
mov rdx, rsi
cmp qword [rsi + 0x18], 8
jb 0x140012307
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
lea rcx, [rbp - 0x29]
call fcn.14000e7d0
nop
lea rcx, [rbp - 0x29]
call fcn.14007993c
mov rbx, r12
cmp qword [r12 + 0x18], 8
jb 0x14001232d
mov rbx, qword [r12]
mov rdx, rsi
cmp qword [rsi + 0x18], 8
jb 0x14001233a
mov rdx, qword [rsi]
lea rcx, [rbp - 0x49]
call fcn.140079a44
nop
cmp qword [rax + 0x18], 8
jb 0x14001234e
mov rax, qword [rax]
mov rcx, r14
cmp qword [r14 + 0x18], 8
jb 0x14001235b
mov rcx, qword [r14]
mov r9, rdi
cmp qword [rdi + 0x18], 8
jb 0x140012368
mov r9, qword [rdi]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
call fcn.14000f080
nop
lea rcx, [rbp - 0x49]
call fcn.140007ed8
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x140012393
mov rcx, qword [rsi]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1400123c3
cmp qword [r15 + 0x18], 0
jne 0x1400123a5
int3
mov rcx, qword [r15 + 0x18]
mov rax, qword [rcx]
mov rdx, rsi
cmp qword [rsi + 0x18], 8
jb 0x1400123b9
mov rdx, qword [rsi]
mov rax, qword [rax + 0x28]
call qword [case.0x140067493.0]
mov r8, rdi
cmp qword [rdi + 0x18], 8
jb 0x1400123d0
mov r8, qword [rdi]
mov r9d, 7
mov dword [rsp + 0x28], r9d
lea rax, str.http:__
mov qword [rsp + 0x20], rax
lea ebx, [r9 - 6]
mov edx, ebx
lea ecx, [rbx + 0x7e]
call qword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
je 0x14001246b
mov r8, rdi
cmp qword [rdi + 0x18], 8
jb 0x140012408
mov r8, qword [rdi]
mov dword [rsp + 0x28], 8
lea rax, str.https:__
mov qword [rsp + 0x20], rax
mov r9d, 8
mov edx, ebx
lea ecx, [r9 + 0x77]
call qword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
je 0x14001246b
mov r15d, 0xc02500ba
mov rax, r14
cmp qword [r14 + 0x18], 8
jb 0x140012446
mov rax, qword [r14]
mov r9, rdi
cmp qword [rdi + 0x18], 8
jb 0x140012453
mov r9, qword [rdi]
mov qword [rsp + 0x20], rax
lea r8, str.DownloaderUtil::DownloadOrLoadFile
mov edx, 0x373
call fcn.14000f1dc
jmp 0x1400124d3
lea rcx, [rbp - 0x51]
call fcn.14000ea30
mov qword [rsp + 0x40], r13
mov rax, qword [rbp - 0x61]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov rax, qword [rbp - 0x59]
mov qword [rsp + 0x28], rax
mov bl, byte [rbp + 0x6f]
mov byte [rsp + 0x20], bl
mov r9, rsi
mov r8, rdi
mov rdx, r14
mov rcx, r15
call fcn.140012564
mov r15d, eax
mov cl, byte [r13]
mov byte [rsp + 0x38], cl
mov byte [rsp + 0x30], 0
mov byte [rsp + 0x28], bl
mov byte [rsp + 0x20], bl
mov r9, r14
lea r8, [rbp - 0x51]
mov edx, eax
call fcn.140014390
test r15d, r15d
jns 0x14001252a
cmp qword [rsi + 0x18], 8
jb 0x1400124dd
mov rsi, qword [rsi]
mov rdx, rsi
lea rcx, [rbp - 0x49]
call fcn.140079a44
nop
cmp qword [rax + 0x18], 8
jb 0x1400124f4
mov rax, qword [rax]
cmp qword [r14 + 0x18], 8
jb 0x1400124fe
mov r14, qword [r14]
cmp qword [rdi + 0x18], 8
jb 0x140012508
mov rdi, qword [rdi]
mov dword [rsp + 0x30], r15d
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov r9, rdi
call fcn.14000f2f0
nop
lea rcx, [rbp - 0x49]
call fcn.140007ed8
nop
lea rcx, [rbp - 0x29]
call fcn.140007ed8
mov eax, r15d
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.140020bb0
add rsp, 0xb8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0x80004005
call fcn.140007ca8
int3