Function at 0x140062fc0
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xe0
mov rax, qword [0x1401c6780]
xor rax, rsp
mov qword [rbp + 0x17], rax
movsxd r13, edx
mov r15, rcx
mov qword [rsp + 0x38], rcx
xor r14d, r14d
test edx, edx
js 0x14006368d
cmp r13d, 3
jae 0x14006368d
xor r12b, r12b
mov qword [rbp - 0x71], r14
lea ecx, [r14 + 0x40]
call fcn.1401219f8
mov rdi, rax
mov qword [rbp - 0x69], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], r12b
lea rbx, [rax + 0x20]
movups xmmword [rbx], xmm0
lea rsi, [rbx + 0x10]
mov qword [rsi], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
mov r14, 0xffffffffffffffff
mov r8, r14
lea rax, str._file
inc r8
cmp byte [rax + r8], 0
jne 0x140063061
mov rdx, rax
mov rcx, rdi
call fcn.14000a7d0
cmp qword [rbx + 0x18], 7
jbe 0x140063080
mov rbx, qword [rbx]
xor eax, eax
mov qword [rsi], rax
mov word [rbx], ax
mov qword [rbp - 0x71], rdi
xor ebx, ebx
mov qword [rsp + 0x28], rbx
mov byte [rsp + 0x20], bl
mov r9d, r13d
lea r8, [rbp - 0x71]
lea rdx, [rbp - 0x79]
mov rcx, r15
call fcn.140060dd0
nop
mov rdx, qword [rax]
test rdx, rdx
je 0x1400630d3
mov rax, rdx
mov rcx, qword [rdx + 0x18]
cmp rcx, 0xf
jbe 0x1400630c3
mov rax, qword [rdx]
test rax, rax
je 0x1400630d3
cmp rcx, 0xf
jbe 0x1400630da
mov rdx, qword [rdx]
jmp 0x1400630da
lea rdx, [0x14018f4cd]
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x29], rbx
mov qword [rbp - 0x21], rbx
mov r8, r14
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x1400630f0
lea rcx, [rbp - 0x39]
call fcn.14000c1a0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x49], rbx
mov qword [rbp - 0x41], 7
mov word [rbp - 0x59], bx
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x39]
call fcn.14001b670
nop
lea rcx, [rbp - 0x39]
call fcn.140009880
nop
xor edx, edx
lea rcx, [rbp - 0x79]
call fcn.1400b0970
nop
xor edx, edx
lea rcx, [rbp - 0x71]
call fcn.1400b0970
nop
cmp qword [rbp - 0x49], 0
je 0x14006367e
mov edx, r13d
mov rcx, r15
call fcn.1400636c0
test al, al
jne 0x140063182
lea rcx, [rbp - 0x59]
cmp qword [rbp - 0x41], 7
cmova rcx, qword [rbp - 0x59]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
je 0x14006367e
mov qword [rbp - 0x71], rbx
lea r15, [r15 + r13*8]
mov ecx, 0x40
call fcn.1401219f8
mov rsi, rax
mov qword [rbp - 0x69], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rbx, [rax + 0x20]
movups xmmword [rbx], xmm0
lea r12, [rbx + 0x10]
xor eax, eax
mov qword [r12], rax
mov qword [rbx + 0x18], 7
mov word [rbx], ax
mov r8, r14
lea rax, str._modified
inc r8
cmp byte [rax + r8], 0
jne 0x1400631d6
mov rdx, rax
mov rcx, rsi
call fcn.14000a7d0
cmp qword [rbx + 0x18], 7
jbe 0x1400631f5
mov rbx, qword [rbx]
xor eax, eax
mov qword [r12], rax
xor r12d, r12d
mov word [rbx], r12w
mov qword [rbp - 0x79], rsi
lea rdx, [rbp - 0x79]
lea rcx, [r15 + 0x30]
call fcn.1400b2240
nop
xor edx, edx
lea rcx, [rbp - 0x79]
call fcn.1400b0970
nop
mov qword [rbp - 0x79], r12
mov qword [rbp - 0x71], r12
cmp qword [r15 + 0x30], r12
je 0x140063269
lea ecx, [r12 + 0x58]
call fcn.1401219f8
mov qword [rbp - 0x69], rax
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
mov qword [rax + 0x50], rcx
mov rdx, qword [r15 + 0x30]
mov rcx, rax
call fcn.1400b0f20
nop
mov qword [rbp - 0x71], rax
lea rcx, [rbp - 0x79]
call fcn.1400b28a0
mov edx, r13d
mov rsi, qword [rsp + 0x38]
mov rcx, rsi
call fcn.140061770
test al, al
je 0x1400632f7
lea rdx, [rsi + 0x30]
lea rdx, [rdx + r13*8]
lea rcx, [rbp - 0x71]
call fcn.1400b2340
nop
mov rax, qword [rsi + r13*8 + 0x30]
mov qword [rbp - 0x79], rax
xor r15d, r15d
mov qword [rsi + r13*8 + 0x30], r15
mov rbx, qword [rbp - 0x71]
test rbx, rbx
je 0x1400632ec
lea ecx, [r15 + 0x58]
call fcn.1401219f8
mov qword [rbp - 0x69], rax
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
mov qword [rax + 0x50], rcx
mov rdx, rbx
mov rcx, rax
call fcn.1400b0f20
nop
mov qword [rsi + r13*8 + 0x30], rax
lea rcx, [rbp - 0x79]
call fcn.1400b28a0
jmp 0x1400632fa
xor r15d, r15d
xorps xmm0, xmm0
movups xmmword [rbp - 0x69], xmm0
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x71]
call fcn.140044c80
nop
mov rbx, qword [rbp - 0x69]
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
jne 0x1400633a6
lea rdx, [rbx + 0x20]
mov rax, qword [rdx]
test rax, rax
je 0x140063351
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x140063351
test ecx, ecx
jle 0x140063351
cmp qword [rax + 0x18], 0xf
jbe 0x140063343
mov rax, qword [rax]
cmp byte [rax], 0x5f
jne 0x140063351
lea rcx, [rbp - 0x71]
call fcn.1400b2240
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x14006337d
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x140063378
cmp rbx, qword [rax + 0x10]
jne 0x140063378
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140063365
mov rbx, rax
jmp 0x14006339c
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x14006339c
nop dword [rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140063390
cmp byte [rbx + 0x19], 0
je 0x140063320
lea rcx, [rbp - 0x69]
call fcn.140044c00
mov rdx, qword [rbp - 0x71]
test rdx, rdx
je 0x1400633df
lea rcx, [rbp - 0x19]
call fcn.1400b9c20
nop
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x79]
call fcn.14001b2a0
nop
lea rcx, [rbp - 0x19]
call fcn.140009880
mov rax, qword [rbp - 0x79]
jmp 0x1400633e6
mov rax, r15
mov qword [rbp - 0x79], rax
test rax, rax
je 0x14006340e
mov rcx, rax
mov rdx, rax
mov r8, qword [rax + 0x18]
cmp r8, 0xf
jbe 0x1400633fe
mov rcx, qword [rax]
test rcx, rcx
je 0x14006340e
cmp r8, 0xf
jbe 0x140063415
mov rdx, qword [rax]
jmp 0x140063415
lea rdx, [0x14018f4cd]
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x29], r15
mov qword [rbp - 0x21], r15
mov r8, r14
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140063430
lea rcx, [rbp - 0x39]
call fcn.14000c1a0
nop
xor edx, edx
lea rcx, [rbp - 0x79]
call fcn.1400b0970
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp + 7], xmm0
lea rdx, [rbp - 0x59]
cmp qword [rbp - 0x41], 7
cmova rdx, qword [rbp - 0x59]
lea rcx, [rbp - 0x19]
call fcn.14002e000
nop
lea rdx, [rbp - 0x39]
cmp qword [rbp - 0x21], 0xf
cmova rdx, qword [rbp - 0x39]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
xor r9d, r9d
mov r8, qword [rbp - 0x29]
lea rcx, [rbp - 0x59]
call fcn.1400233d0
movzx r12d, al
mov rcx, qword [rbp + 0xf]
test rcx, rcx
je 0x1400634c5
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [rbp + 7], 0
mov rcx, qword [rbp + 0xf]
test rcx, rcx
je 0x1400634c5
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp + 0xf], r15
lea rax, [rbp - 0x19]
cmp qword [rbp - 1], 7
cmova rax, qword [rbp - 0x19]
mov qword [rbp - 9], r15
mov word [rax], r15w
lea rcx, [rbp - 0x19]
call fcn.140009810
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], rax
lea r9, [rbp - 9]
lea r8, [rbp - 0x11]
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x59]
call fcn.140024d40
mov ecx, 0x58
call fcn.1401219f8
mov rdx, rax
mov qword [rbp - 0x69], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdx], xmm0
movups xmmword [rdx + 0x10], xmm0
movups xmmword [rdx + 0x20], xmm0
movups xmmword [rdx + 0x30], xmm0
movups xmmword [rdx + 0x40], xmm0
mov qword [rdx + 0x50], rax
mov rcx, qword [rbp - 9]
xorps xmm1, xmm1
test rcx, rcx
js 0x14006354a
cvtsi2sd xmm1, rcx
jmp 0x14006355f
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2sd xmm1, rax
addsd xmm1, xmm1
mov rcx, rdx
call fcn.1400b0ea0
mov rdi, rax
mov qword [rsp + 0x30], rax
mov ecx, 0x40
call fcn.1401219f8
mov rsi, rax
mov qword [rbp - 0x69], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rbx, [rax + 0x20]
movups xmmword [rbx], xmm0
lea r15, [rbx + 0x10]
xor eax, eax
mov qword [r15], rax
mov qword [rbx + 0x18], 7
mov word [rbx], ax
lea rax, str._fileModTime
nop word [rax + rax]
inc r14
cmp byte [rax + r14], 0
jne 0x1400635c0
mov r8, r14
mov rdx, rax
mov rcx, rsi
call fcn.14000a7d0
cmp qword [rbx + 0x18], 7
jbe 0x1400635e2
mov rbx, qword [rbx]
xor eax, eax
mov qword [r15], rax
mov word [rbx], ax
mov qword [rbp - 0x79], rsi
cmp r13d, 3
jae 0x140063653
mov r15, qword [rsp + 0x38]
lea rax, [r15 + 0x30]
lea rcx, [rax + r13*8]
lea rdx, [rbp - 0x79]
call fcn.1400b1e90
lea rcx, [rsp + 0x30]
cmp rax, rcx
je 0x140063653
mov rcx, qword [rax]
test rcx, rcx
jne 0x140063623
test rdi, rdi
jne 0x140063634
jmp 0x140063653
test rdi, rdi
je 0x140063634
mov rdx, rdi
call fcn.1400b1850
test eax, eax
je 0x140063653
lea rax, [r15 + 0x30]
lea rcx, [rax + r13*8]
lea rdx, [rbp - 0x79]
call fcn.1400b1d90
mov rcx, rax
lea rdx, [rsp + 0x30]
call fcn.1400b27c0
nop
xor edx, edx
lea rcx, [rbp - 0x79]
call fcn.1400b0970
nop
lea rcx, [rsp + 0x30]
call fcn.1400b28a0
nop
lea rcx, [rbp - 0x39]
call fcn.140009880
nop
lea rcx, [rbp - 0x71]
call fcn.1400b28a0
nop
lea rcx, [rbp - 0x59]
call fcn.140009810
movzx eax, r12b
jmp 0x14006368f
xor al, al
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1401219d0
mov rbx, qword [rsp + 0x130]
add rsp, 0xe0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret