Function at 0x140012020
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 [0x14036f028]
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 0x1400120b9
mov ebx, dword [rcx + 0x98]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp ebx, eax
je 0x1400120b5
cmp byte [r15 + 0x91], 0
jne 0x1400120b5
test ebx, ebx
je 0x1400120b5
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [r15 + 0x98], eax
je 0x1400120b5
cmp byte [r15 + 0x91], 0
je 0x140012366
mov rax, qword [rbp - 0x61]
cmp qword [r14 + 0x10], 0
je 0x140012366
cmp qword [rdi + 0x10], 0
je 0x140012366
cmp qword [rsi + 0x10], 0
je 0x140012366
test r12, r12
je 0x140012366
test rax, rax
je 0x140012366
test r13, r13
je 0x140012366
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 0x140012117
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
lea rcx, [rbp - 0x29]
call fcn.14000e5cc
nop
lea rcx, [rbp - 0x29]
call fcn.140078c04
mov rbx, r12
cmp qword [r12 + 0x18], 8
jb 0x14001213d
mov rbx, qword [r12]
mov rdx, rsi
cmp qword [rsi + 0x18], 8
jb 0x14001214a
mov rdx, qword [rsi]
lea rcx, [rbp - 0x49]
call fcn.140078d0c
nop
cmp qword [rax + 0x18], 8
jb 0x14001215e
mov rax, qword [rax]
mov rcx, r14
cmp qword [r14 + 0x18], 8
jb 0x14001216b
mov rcx, qword [r14]
mov r9, rdi
cmp qword [rdi + 0x18], 8
jb 0x140012178
mov r9, qword [rdi]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
call fcn.14000ee8c
nop
lea rcx, [rbp - 0x49]
call fcn.140007cf8
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x1400121a3
mov rcx, qword [rsi]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1400121d3
cmp qword [r15 + 0x18], 0
jne 0x1400121b5
int3
mov rcx, qword [r15 + 0x18]
mov rax, qword [rcx]
mov rdx, rsi
cmp qword [rsi + 0x18], 8
jb 0x1400121c9
mov rdx, qword [rsi]
mov rax, qword [rax + 0x28]
call qword [case.0x1400669c3.0]
mov r8, rdi
cmp qword [rdi + 0x18], 8
jb 0x1400121e0
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 0x14001227b
mov r8, rdi
cmp qword [rdi + 0x18], 8
jb 0x140012218
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 0x14001227b
mov r15d, 0xc02500ba
mov rax, r14
cmp qword [r14 + 0x18], 8
jb 0x140012256
mov rax, qword [r14]
mov r9, rdi
cmp qword [rdi + 0x18], 8
jb 0x140012263
mov r9, qword [rdi]
mov qword [rsp + 0x20], rax
lea r8, str.DownloaderUtil::DownloadOrLoadFile
mov edx, 0x373
call fcn.14000efe8
jmp 0x1400122e3
lea rcx, [rbp - 0x51]
call fcn.14000e840
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.140012374
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.1400141a0
test r15d, r15d
jns 0x14001233a
cmp qword [rsi + 0x18], 8
jb 0x1400122ed
mov rsi, qword [rsi]
mov rdx, rsi
lea rcx, [rbp - 0x49]
call fcn.140078d0c
nop
cmp qword [rax + 0x18], 8
jb 0x140012304
mov rax, qword [rax]
cmp qword [r14 + 0x18], 8
jb 0x14001230e
mov r14, qword [r14]
cmp qword [rdi + 0x18], 8
jb 0x140012318
mov rdi, qword [rdi]
mov dword [rsp + 0x30], r15d
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov r9, rdi
call fcn.14000f0fc
nop
lea rcx, [rbp - 0x49]
call fcn.140007cf8
nop
lea rcx, [rbp - 0x29]
call fcn.140007cf8
mov eax, r15d
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.1400209c0
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.140007ac8
int3