Function at 0x1401381e0
Capabilities:
Check if file exists

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xb0
mov qword [rbp - 0x31], 0xfffffffffffffffe
mov qword [rsp + 0x100], rbx
mov rax, qword [0x14044b080]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r12, rdx
mov r14, rcx
xor r13d, r13d
mov dword [rbp - 0x69], r13d
lea rdx, [rbp - 0x41]
call fcn.140138eb0
nop
mov rdx, qword [rax]
mov rsi, 0xffffffffffffffff
mov r8, rsi
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140138240
lea rdi, [r14 + 0x48]
mov rcx, rdi
call fcn.14003b160
nop
mov rdx, qword [rbp - 0x41]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14013827c
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14004487d.0]
mov r8, r12
lea rdx, [rbp - 0x39]
call fcn.140138f90
nop
mov rdx, qword [rax]
mov r8, rsi
nop
inc r8
cmp word [rdx + r8*2], 0
jne 0x140138290
lea rbx, [r14 + 8]
mov rcx, rbx
call fcn.14003b160
nop
mov rdx, qword [rbp - 0x39]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x1401382cb
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14004487d.0]
nop
movdqa xmm0, xmmword [0x1403a9a90]
movdqu xmmword [rbp - 0x51], xmm0
mov word [rbp - 0x61], r13w
mov dword [rbp - 0x69], 1
lea rsi, [rdi + 0x10]
lea r15, [rbx + 0x10]
mov rdx, qword [r15]
add rdx, qword [rsi]
lea rcx, [rbp - 0x61]
call fcn.140082ab0
cmp qword [rdi + 0x18], 8
jb 0x140138305
mov rdi, qword [rdi]
mov r8, qword [rsi]
mov rdx, rdi
lea rcx, [rbp - 0x61]
call fcn.14003b2f0
cmp qword [rbx + 0x18], 8
jb 0x14013831e
mov rbx, qword [rbx]
mov r8, qword [r15]
mov rdx, rbx
lea rcx, [rbp - 0x61]
call fcn.14003b2f0
lea rbx, [r14 + 0x28]
lea rax, [rbp - 0x61]
cmp rbx, rax
je 0x140138363
mov rcx, rbx
call fcn.14003b0f0
movups xmm0, xmmword [rbp - 0x61]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x51]
movups xmmword [rbx + 0x10], xmm1
movdqa xmm0, xmmword [0x1403a9a90]
movdqu xmmword [rbp - 0x51], xmm0
mov word [rbp - 0x61], r13w
lea rcx, [rbp - 0x61]
call fcn.14003b0f0
lea rsi, vtable.CCrypt.0
mov qword [rbp - 9], rsi
mov qword [rbp - 1], r13
mov qword [rbp + 7], r13
mov qword [rbp + 0xf], r13
lea rdx, str.86AF787C_D4E8_4E95_B2A1_E9956D29A241
lea rcx, [rbp - 9]
call fcn.14006f490
test eax, eax
je 0x1401383b0
cmp qword [rbx + 0x18], 8
jb 0x1401383a1
mov rbx, qword [rbx]
mov r8, rbx
mov rdx, r12
lea rcx, [rbp - 9]
call fcn.14006f7c0
lea r8, str.DeployTable.ini
lea rdx, [rbp - 0x29]
mov rcx, r14
call fcn.1401387b0
mov rdi, rax
lea rbx, [r14 + 0x68]
cmp rbx, rax
je 0x1401383f5
mov rcx, rbx
call fcn.14003b0f0
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], 7
mov word [rdi], r13w
lea rcx, [rbp - 0x29]
call fcn.14003b0f0
cmp qword [rbx + 0x18], 8
jb 0x140138408
mov rbx, qword [rbx]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne bl
mov qword [rbp - 9], rsi
mov rcx, qword [rbp + 7]
test rcx, rcx
je 0x14013842d
call qword [sym.imp.api_ms_win_security_cryptoapi_l1_1_0.dll_CryptDestroyHash]
mov qword [rbp + 7], r13
mov rcx, qword [rbp - 1]
test rcx, rcx
je 0x140138440
call qword [sym.imp.api_ms_win_security_cryptoapi_l1_1_0.dll_CryptDestroyKey]
mov qword [rbp - 1], r13
mov rcx, qword [rbp + 0xf]
test rcx, rcx
je 0x140138451
xor edx, edx
call qword [sym.imp.api_ms_win_security_cryptoapi_l1_1_0.dll_CryptReleaseContext]
movzx eax, bl
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140202880
mov rbx, qword [rsp + 0x100]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret