Function at 0x140012170
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 [0x14036c028]
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 0x140012209
mov ebx, dword [rcx + 0x98]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp ebx, eax
je 0x140012205
cmp byte [r15 + 0x91], 0
jne 0x140012205
test ebx, ebx
je 0x140012205
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [r15 + 0x98], eax
je 0x140012205
cmp byte [r15 + 0x91], 0
je 0x1400124b6
mov rax, qword [rbp - 0x61]
cmp qword [r14 + 0x10], 0
je 0x1400124b6
cmp qword [rdi + 0x10], 0
je 0x1400124b6
cmp qword [rsi + 0x10], 0
je 0x1400124b6
test r12, r12
je 0x1400124b6
test rax, rax
je 0x1400124b6
test r13, r13
je 0x1400124b6
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 0x140012267
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
lea rcx, [rbp - 0x29]
call fcn.14000e730
nop
lea rcx, [rbp - 0x29]
call fcn.140079894
mov rbx, r12
cmp qword [r12 + 0x18], 8
jb 0x14001228d
mov rbx, qword [r12]
mov rdx, rsi
cmp qword [rsi + 0x18], 8
jb 0x14001229a
mov rdx, qword [rsi]
lea rcx, [rbp - 0x49]
call fcn.14007999c
nop
cmp qword [rax + 0x18], 8
jb 0x1400122ae
mov rax, qword [rax]
mov rcx, r14
cmp qword [r14 + 0x18], 8
jb 0x1400122bb
mov rcx, qword [r14]
mov r9, rdi
cmp qword [rdi + 0x18], 8
jb 0x1400122c8
mov r9, qword [rdi]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
call fcn.14000efdc
nop
lea rcx, [rbp - 0x49]
call fcn.140007e48
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x1400122f3
mov rcx, qword [rsi]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140012323
cmp qword [r15 + 0x18], 0
jne 0x140012305
int3
mov rcx, qword [r15 + 0x18]
mov rax, qword [rcx]
mov rdx, rsi
cmp qword [rsi + 0x18], 8
jb 0x140012319
mov rdx, qword [rsi]
mov rax, qword [rax + 0x28]
call qword [case.0x1400673f3.0]
mov r8, rdi
cmp qword [rdi + 0x18], 8
jb 0x140012330
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 0x1400123cb
mov r8, rdi
cmp qword [rdi + 0x18], 8
jb 0x140012368
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 0x1400123cb
mov r15d, 0xc02500ba
mov rax, r14
cmp qword [r14 + 0x18], 8
jb 0x1400123a6
mov rax, qword [r14]
mov r9, rdi
cmp qword [rdi + 0x18], 8
jb 0x1400123b3
mov r9, qword [rdi]
mov qword [rsp + 0x20], rax
lea r8, str.DownloaderUtil::DownloadOrLoadFile
mov edx, 0x373
call fcn.14000f138
jmp 0x140012433
lea rcx, [rbp - 0x51]
call fcn.14000e990
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.1400124c4
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.1400142f0
test r15d, r15d
jns 0x14001248a
cmp qword [rsi + 0x18], 8
jb 0x14001243d
mov rsi, qword [rsi]
mov rdx, rsi
lea rcx, [rbp - 0x49]
call fcn.14007999c
nop
cmp qword [rax + 0x18], 8
jb 0x140012454
mov rax, qword [rax]
cmp qword [r14 + 0x18], 8
jb 0x14001245e
mov r14, qword [r14]
cmp qword [rdi + 0x18], 8
jb 0x140012468
mov rdi, qword [rdi]
mov dword [rsp + 0x30], r15d
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov r9, rdi
call fcn.14000f24c
nop
lea rcx, [rbp - 0x49]
call fcn.140007e48
nop
lea rcx, [rbp - 0x29]
call fcn.140007e48
mov eax, r15d
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.140020b10
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.140007c18
int3