Function at 0x140008280
Capabilities:
Get file attributes

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov r13b, r9b
mov rdi, rdx
xor ebx, ebx
mov dword [rbp - 0x79], ebx
xor r14b, r14b
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x41], xmm0
and qword [rbp - 0x31], rbx
mov rax, qword [rdx + 8]
cmp rax, qword [rdx]
je 0x1400082ea
mov rcx, qword [rdx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, dword [0x14001d014]
je 0x1400082ea
shr eax, 4
test al, 1
je 0x1400082ed
mov r14b, 1
test r14b, r14b
je 0x140008330
lea rax, str._tor_status_vote_current_consensus
mov qword [rbp - 0x29], rax
lea rax, [0x140014942]
mov qword [rbp - 0x21], rax
movaps xmm0, xmmword [rbp - 0x29]
movdqa xmmword [rbp - 0x59], xmm0
mov r9b, r13b
lea r8, [rbp - 0x59]
lea rdx, [rbp + 0xf]
lea rcx, [0x14001d020]
call fcn.14000873c
mov rdx, rax
or ebx, 1
jmp 0x14000834b
movups xmm0, xmmword [rdi]
movdqu xmmword [rbp - 0x59], xmm0
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x11]
call fcn.140003038
mov rdx, rax
or ebx, 2
mov dword [rbp - 0x79], ebx
mov rcx, qword [rbp - 0x41]
mov rax, qword [rdx + 8]
mov qword [rbp - 0x41], rax
mov qword [rdx + 8], rcx
mov rcx, qword [rbp - 0x39]
mov rax, qword [rdx + 0x10]
mov qword [rbp - 0x39], rax
mov qword [rdx + 0x10], rcx
mov rcx, qword [rbp - 0x31]
mov rax, qword [rdx + 0x18]
mov qword [rbp - 0x31], rax
mov qword [rdx + 0x18], rcx
test bl, 2
je 0x140008393
and ebx, 0xfffffffd
mov dword [rbp - 0x79], ebx
lea rcx, [rbp - 0x11]
call fcn.140001bac
nop
test bl, 1
je 0x1400083a7
and ebx, 0xfffffffe
mov dword [rbp - 0x79], ebx
lea rcx, [rbp + 0xf]
call fcn.140001bac
test r14b, r14b
sete r12b
mov rcx, qword [rbp - 0x39]
mov r8, qword [rbp - 0x41]
sub rcx, r8
lea rax, [rcx - 1]
neg rcx
sbb rdx, rdx
and rdx, rax
add rdx, r8
mov qword [rbp - 0x69], r8
mov qword [rbp - 0x61], rdx
mov r15, qword [0x14001d060]
mov rsi, qword [0x14001d058]
cmp rsi, r15
jae 0x140008405
mov rcx, rsi
mov qword [rbp + 0x67], rcx
add rsi, 0x28
mov rcx, qword [rcx + 8]
call qword [sym.imp.msvcrt.dll_free]
cmp rsi, r15
jb 0x1400083e4
mov rsi, qword [0x14001d058]
mov qword [0x14001d060], rsi
movaps xmm0, xmmword [rbp - 0x69]
movdqa xmmword [rbp - 0x59], xmm0
mov r9b, r12b
lea r8, [rbp - 0x59]
call fcn.14000caf4
test r14b, r14b
jne 0x14000843d
xor ecx, ecx
call qword [sym.imp.msvcrt.dll_time]
cmp dword [0x14001d070], eax
jae 0x14000843d
xor al, al
mov r14b, 1
jmp 0x14000843f
mov al, 1
test al, al
je 0x1400082ed
test r14b, r14b
je 0x140008484
mov rax, qword [rdi + 8]
cmp rax, qword [rdi]
je 0x140008484
mov rax, qword [rbp - 0x41]
mov qword [rbp - 0x69], rax
mov rax, qword [rbp - 0x39]
mov qword [rbp - 0x61], rax
movaps xmm0, xmmword [rbp - 0x69]
movdqa xmmword [rbp - 0x59], xmm0
movups xmm1, xmmword [rdi]
movdqu xmmword [rbp - 0x69], xmm1
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x69]
call fcn.140003110
nop
lea rcx, [rbp - 0x49]
call fcn.140001bac
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret