Function at 0x140012140
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 [0x14036b028]
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 0x1400121d9
mov ebx, dword [rcx + 0x98]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp ebx, eax
je 0x1400121d5
cmp byte [r15 + 0x91], 0
jne 0x1400121d5
test ebx, ebx
je 0x1400121d5
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [r15 + 0x98], eax
je 0x1400121d5
cmp byte [r15 + 0x91], 0
je 0x140012486
mov rax, qword [rbp - 0x61]
cmp qword [r14 + 0x10], 0
je 0x140012486
cmp qword [rdi + 0x10], 0
je 0x140012486
cmp qword [rsi + 0x10], 0
je 0x140012486
test r12, r12
je 0x140012486
test rax, rax
je 0x140012486
test r13, r13
je 0x140012486
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 0x140012237
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
lea rcx, [rbp - 0x29]
call fcn.14000e6ec
nop
lea rcx, [rbp - 0x29]
call fcn.140078f54
mov rbx, r12
cmp qword [r12 + 0x18], 8
jb 0x14001225d
mov rbx, qword [r12]
mov rdx, rsi
cmp qword [rsi + 0x18], 8
jb 0x14001226a
mov rdx, qword [rsi]
lea rcx, [rbp - 0x49]
call fcn.14007905c
nop
cmp qword [rax + 0x18], 8
jb 0x14001227e
mov rax, qword [rax]
mov rcx, r14
cmp qword [r14 + 0x18], 8
jb 0x14001228b
mov rcx, qword [r14]
mov r9, rdi
cmp qword [rdi + 0x18], 8
jb 0x140012298
mov r9, qword [rdi]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
call fcn.14000efac
nop
lea rcx, [rbp - 0x49]
call fcn.140007e18
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x1400122c3
mov rcx, qword [rsi]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1400122f3
cmp qword [r15 + 0x18], 0
jne 0x1400122d5
int3
mov rcx, qword [r15 + 0x18]
mov rax, qword [rcx]
mov rdx, rsi
cmp qword [rsi + 0x18], 8
jb 0x1400122e9
mov rdx, qword [rsi]
mov rax, qword [rax + 0x28]
call qword [case.0x140066ca3.0]
mov r8, rdi
cmp qword [rdi + 0x18], 8
jb 0x140012300
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 0x14001239b
mov r8, rdi
cmp qword [rdi + 0x18], 8
jb 0x140012338
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 0x14001239b
mov r15d, 0xc02500ba
mov rax, r14
cmp qword [r14 + 0x18], 8
jb 0x140012376
mov rax, qword [r14]
mov r9, rdi
cmp qword [rdi + 0x18], 8
jb 0x140012383
mov r9, qword [rdi]
mov qword [rsp + 0x20], rax
lea r8, str.DownloaderUtil::DownloadOrLoadFile
mov edx, 0x373
call fcn.14000f108
jmp 0x140012403
lea rcx, [rbp - 0x51]
call fcn.14000e960
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.140012494
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.1400142c0
test r15d, r15d
jns 0x14001245a
cmp qword [rsi + 0x18], 8
jb 0x14001240d
mov rsi, qword [rsi]
mov rdx, rsi
lea rcx, [rbp - 0x49]
call fcn.14007905c
nop
cmp qword [rax + 0x18], 8
jb 0x140012424
mov rax, qword [rax]
cmp qword [r14 + 0x18], 8
jb 0x14001242e
mov r14, qword [r14]
cmp qword [rdi + 0x18], 8
jb 0x140012438
mov rdi, qword [rdi]
mov dword [rsp + 0x30], r15d
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov r9, rdi
call fcn.14000f21c
nop
lea rcx, [rbp - 0x49]
call fcn.140007e18
nop
lea rcx, [rbp - 0x29]
call fcn.140007e18
mov eax, r15d
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.140020ae0
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.140007be8
int3