Function at 0x14000a42c
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 0x14000a496
mov rcx, qword [rdx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, dword [0x140021014]
je 0x14000a496
shr eax, 4
test al, 1
je 0x14000a499
mov r14b, 1
test r14b, r14b
je 0x14000a4dc
lea rax, str._tor_status_vote_current_consensus
mov qword [rbp - 0x29], rax
lea rax, [0x140017a02]
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, [0x140021020]
call fcn.14000a8e8
mov rdx, rax
or ebx, 1
jmp 0x14000a4f7
movups xmm0, xmmword [rdi]
movdqu xmmword [rbp - 0x59], xmm0
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x11]
call fcn.140004e10
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 0x14000a53f
and ebx, 0xfffffffd
mov dword [rbp - 0x79], ebx
lea rcx, [rbp - 0x11]
call fcn.140001bac
nop
test bl, 1
je 0x14000a553
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 [0x140021060]
mov rsi, qword [0x140021058]
cmp rsi, r15
jae 0x14000a5b1
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 0x14000a590
mov rsi, qword [0x140021058]
mov qword [0x140021060], rsi
movaps xmm0, xmmword [rbp - 0x69]
movdqa xmmword [rbp - 0x59], xmm0
mov r9b, r12b
lea r8, [rbp - 0x59]
call fcn.14000f654
test r14b, r14b
jne 0x14000a5e9
xor ecx, ecx
call qword [sym.imp.msvcrt.dll_time]
cmp dword [0x140021070], eax
jae 0x14000a5e9
xor al, al
mov r14b, 1
jmp 0x14000a5eb
mov al, 1
test al, al
je 0x14000a499
test r14b, r14b
je 0x14000a630
mov rax, qword [rdi + 8]
cmp rax, qword [rdi]
je 0x14000a630
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.140004ee8
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