Function at 0x1400121b0
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 0x140012249
mov ebx, dword [rcx + 0x98]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp ebx, eax
je 0x140012245
cmp byte [r15 + 0x91], 0
jne 0x140012245
test ebx, ebx
je 0x140012245
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [r15 + 0x98], eax
je 0x140012245
cmp byte [r15 + 0x91], 0
je 0x1400124f6
mov rax, qword [rbp - 0x61]
cmp qword [r14 + 0x10], 0
je 0x1400124f6
cmp qword [rdi + 0x10], 0
je 0x1400124f6
cmp qword [rsi + 0x10], 0
je 0x1400124f6
test r12, r12
je 0x1400124f6
test rax, rax
je 0x1400124f6
test r13, r13
je 0x1400124f6
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 0x1400122a7
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
lea rcx, [rbp - 0x29]
call fcn.14000e770
nop
lea rcx, [rbp - 0x29]
call fcn.1400798dc
mov rbx, r12
cmp qword [r12 + 0x18], 8
jb 0x1400122cd
mov rbx, qword [r12]
mov rdx, rsi
cmp qword [rsi + 0x18], 8
jb 0x1400122da
mov rdx, qword [rsi]
lea rcx, [rbp - 0x49]
call fcn.1400799e4
nop
cmp qword [rax + 0x18], 8
jb 0x1400122ee
mov rax, qword [rax]
mov rcx, r14
cmp qword [r14 + 0x18], 8
jb 0x1400122fb
mov rcx, qword [r14]
mov r9, rdi
cmp qword [rdi + 0x18], 8
jb 0x140012308
mov r9, qword [rdi]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
call fcn.14000f020
nop
lea rcx, [rbp - 0x49]
call fcn.140007e78
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x140012333
mov rcx, qword [rsi]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140012363
cmp qword [r15 + 0x18], 0
jne 0x140012345
int3
mov rcx, qword [r15 + 0x18]
mov rax, qword [rcx]
mov rdx, rsi
cmp qword [rsi + 0x18], 8
jb 0x140012359
mov rdx, qword [rsi]
mov rax, qword [rax + 0x28]
call qword [case.0x140067433.0]
mov r8, rdi
cmp qword [rdi + 0x18], 8
jb 0x140012370
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 0x14001240b
mov r8, rdi
cmp qword [rdi + 0x18], 8
jb 0x1400123a8
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 0x14001240b
mov r15d, 0xc02500ba
mov rax, r14
cmp qword [r14 + 0x18], 8
jb 0x1400123e6
mov rax, qword [r14]
mov r9, rdi
cmp qword [rdi + 0x18], 8
jb 0x1400123f3
mov r9, qword [rdi]
mov qword [rsp + 0x20], rax
lea r8, str.DownloaderUtil::DownloadOrLoadFile
mov edx, 0x373
call fcn.14000f17c
jmp 0x140012473
lea rcx, [rbp - 0x51]
call fcn.14000e9d0
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.140012504
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.140014330
test r15d, r15d
jns 0x1400124ca
cmp qword [rsi + 0x18], 8
jb 0x14001247d
mov rsi, qword [rsi]
mov rdx, rsi
lea rcx, [rbp - 0x49]
call fcn.1400799e4
nop
cmp qword [rax + 0x18], 8
jb 0x140012494
mov rax, qword [rax]
cmp qword [r14 + 0x18], 8
jb 0x14001249e
mov r14, qword [r14]
cmp qword [rdi + 0x18], 8
jb 0x1400124a8
mov rdi, qword [rdi]
mov dword [rsp + 0x30], r15d
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov r9, rdi
call fcn.14000f290
nop
lea rcx, [rbp - 0x49]
call fcn.140007e78
nop
lea rcx, [rbp - 0x29]
call fcn.140007e78
mov eax, r15d
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.140020b50
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.140007c48
int3