Function at 0x140010700
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x140045080]
xor rax, rsp
mov qword [rbp + 8], rax
mov rax, rdx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], rcx
xor r13d, r13d
mov r14d, r13d
movzx ebx, byte [rsp + 0x30]
movzx edi, byte [rsp + 0x30]
movzx esi, byte [rsp + 0x30]
mov r9d, 0xa
movabs r8, 0x7fffffffffffffff
movabs rdx, 0x7ffffffffffffffe
mov dword [rsp + 0x34], r14d
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], r13
mov r15, qword [rax + 0x10]
mov r12, rax
cmp qword [rax + 0x18], 7
jbe 0x140010793
mov r12, qword [rax]
cmp r15, rdx
ja 0x140010d70
cmp r15, 7
ja 0x1400107c0
mov qword [rsp + 0x68], r15
mov eax, 7
mov qword [rsp + 0x70], rax
movups xmm0, xmmword [r12]
movups xmmword [rsp + 0x58], xmm0
jmp 0x140010860
mov r14, r15
or r14, 7
cmp r14, rdx
jbe 0x1400107d5
mov r14, rdx
lea rcx, [r8 + r8]
jmp 0x1400107f6
cmp r14, 0xa
cmovb r14, r9
lea rcx, [r14 + 1]
cmp rcx, r8
ja 0x140010d6a
add rcx, rcx
cmp rcx, 0x1000
jb 0x140010825
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140010d6a
mov rcx, rax
call fcn.14001238c
mov rcx, rax
test rax, rax
je 0x140010d8e
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140010834
test rcx, rcx
je 0x140010831
call fcn.14001238c
jmp 0x140010834
mov rax, r13
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r14
lea r8, [r15*2 + 2]
mov rdx, r12
mov rcx, rax
call fcn.140030000
mov rax, qword [rsp + 0x70]
mov r14d, dword [rsp + 0x34]
lea rcx, [rsp + 0x58]
cmp rax, 7
cmova rcx, qword [rsp + 0x58]
mov edx, 0x5c
call fcn.1400143e4
mov rcx, rax
test rax, rax
je 0x140010d04
lea rax, [rsp + 0x58]
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
seta r11b
mov r10, qword [rsp + 0x58]
cmova rax, r10
sub rcx, rax
sar rcx, 1
lea eax, [rcx + 1]
movsxd r9, eax
mov r8, qword [rsp + 0x68]
cmp r8, r9
jb 0x140010d88
sub rdx, r8
cmp rdx, 0xc
jb 0x140010969
lea rax, [r8 + 0xc]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x58]
test r11b, r11b
cmovne rax, r10
lea r13, [rax + r9*2]
lea rcx, [0x140033560]
lea r12, str.hotreplaced_
cmp rcx, r13
jbe 0x140010913
lea rax, [rax + r8*2]
cmp r12, rax
ja 0x140010913
cmp r13, r12
ja 0x140010908
xor ecx, ecx
mov r15d, ecx
jmp 0x140010919
mov r15, r13
sub r15, r12
sar r15, 1
jmp 0x140010919
mov r15d, 0xc
lea rcx, [r13 + 0x18]
sub r8, r9
lea r8, [r8*2 + 2]
mov rdx, r13
call fcn.140030000
lea r14, [r15 + r15]
mov r8, r14
mov rdx, r12
mov rcx, r13
call fcn.140030000
lea rdx, [r15 + 0xc]
lea rdx, [r12 + rdx*2]
lea rcx, [r14 + r13]
mov r8d, 0xc
sub r8, r15
add r8, r8
call fcn.140030000
mov r14d, dword [rsp + 0x34]
xor r13d, r13d
jmp 0x140010991
mov qword [rsp + 0x28], 0xc
lea rax, str.hotreplaced_
mov qword [rsp + 0x20], rax
movzx r8d, bl
mov edx, 0xc
lea rcx, [rsp + 0x58]
call fcn.1400104f0
lea r10, [rbp + 2]
test r14d, r14d
jns 0x1400109db
mov ecx, r14d
neg ecx
nop
sub r10, 2
mov eax, 0xcccccccd
mul ecx
shr edx, 3
movzx eax, dx
shl ax, 2
lea r8d, [rax + rdx]
add r8w, r8w
sub cx, r8w
add cx, 0x30
mov word [r10], cx
mov ecx, edx
test edx, edx
jne 0x1400109a0
add r10, 0xfffffffffffffffe
mov word [r10], 0x2d
jmp 0x140010a10
mov r8d, r14d
nop
sub r10, 2
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dx
shl ax, 2
lea ecx, [rax + rdx]
add cx, cx
sub r8w, cx
add r8w, 0x30
mov word [r10], r8w
mov r8d, edx
test edx, edx
jne 0x1400109e0
lea r9, [rsp + 0x30]
lea r8, [rbp + 2]
mov rdx, r10
lea rcx, [rbp - 0x48]
call fcn.140010390
nop
lea r8, [0x140033574]
xor edx, edx
lea rcx, [rbp - 0x48]
call fcn.140010da0
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x70], r13
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x78], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 7
mov word [rax], r13w
mov rcx, qword [rbp - 0x78]
mov rdx, qword [rbp - 0x70]
mov rax, rdx
sub rax, rcx
cmp rax, 4
jb 0x140010aae
lea rax, [rcx + 4]
mov qword [rbp - 0x78], rax
lea rax, [rsp + 0x78]
cmp rdx, 7
cmova rax, qword [rsp + 0x78]
movabs rdx, 0x6b00610062002e
mov qword [rax + rcx*2], rdx
mov word [rax + rcx*2 + 8], r13w
lea rax, [rsp + 0x78]
jmp 0x140010ad1
mov qword [rsp + 0x20], 4
lea r9, str..bak
movzx r8d, dil
mov edx, 4
lea rcx, [rsp + 0x78]
call fcn.140007380
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x58], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 7
mov word [rax], r13w
lea r9, [rbp - 0x68]
movq r15, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq r13, xmm0
cmp r13, 7
cmova r9, r15
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x40], rcx
mov rdx, qword [rsp + 0x70]
mov rax, rdx
sub rax, rcx
movq r12, xmm1
cmp r12, rax
ja 0x140010b6c
lea rax, [r12 + rcx]
mov qword [rsp + 0x68], rax
lea r14, [rsp + 0x58]
cmp rdx, 7
cmova r14, qword [rsp + 0x58]
lea rcx, [r14 + rcx*2]
lea r8, [r12 + r12]
mov rdx, r9
call fcn.140030000
mov rax, qword [rsp + 0x40]
add rax, r12
xor ecx, ecx
mov word [r14 + rax*2], cx
mov r14d, dword [rsp + 0x34]
jmp 0x140010b8a
mov qword [rsp + 0x20], r12
movzx r8d, sil
mov rdx, r12
lea rcx, [rsp + 0x58]
call fcn.140007380
mov r13, qword [rbp - 0x50]
mov r15, qword [rbp - 0x68]
cmp r13, 7
jbe 0x140010bc6
lea rdx, [r13*2 + 2]
mov rax, r15
cmp rdx, 0x1000
jb 0x140010bbd
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140010d76
mov rcx, r15
call fcn.1400123c8
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 7
jbe 0x140010c07
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010c02
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140010d7c
call fcn.1400123c8
xor r13d, r13d
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x70], 7
mov word [rsp + 0x78], r13w
mov rdx, qword [rbp - 0x30]
cmp rdx, 7
jbe 0x140010c5c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010c57
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140010d82
call fcn.1400123c8
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 7
cmova rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140010cc7
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x140010cba
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010cb5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140010d8e
call fcn.1400123c8
inc r14d
mov rax, qword [rsp + 0x50]
jmp 0x140010751
mov rax, qword [rsp + 0x38]
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rsp + 0x68]
movups xmmword [rax + 0x10], xmm1
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.140012860
mov rbx, qword [rsp + 0x160]
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xorps xmm0, xmm0
mov r13, qword [rsp + 0x38]
movups xmmword [r13], xmm0
xor ecx, ecx
mov qword [r13 + 0x10], rcx
mov qword [r13 + 0x18], 7
mov word [r13], cx
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x140010d62
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010d5d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140010d8e
call fcn.1400123c8
mov rax, r13
jmp 0x140010cdd
call fcn.140005300
int3
call fcn.1400054a0
nop
call fcn.14001955c
nop
call fcn.14001955c
nop
call fcn.14001955c
int3
call fcn.14000deb0
nop
call fcn.14001955c
int3