Function at 0x140095cd0
Capabilities:
Set file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rax, qword [0x1401b5030]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov r15d, edx
mov rsi, rcx
xor edx, edx
mov ebx, edx
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], edx
cmp dword [rcx + 0x28], edx
je 0x140095d1b
mov eax, edx
test r15d, r15d
je 0x140095d20
mov eax, 1
mov rdi, 0xffffffffffffffff
mov dword [rcx + 0x8c], eax
mov rax, rdi
mov qword [rcx + 0x10e3c], rdx
lea r13, [rcx + 0x10c5c]
nop
inc rax
cmp byte [rax + r13], dl
jne 0x140095d40
mov dword [rcx + 0x10e44], eax
test r15d, r15d
je 0x140095df2
movzx eax, byte [r13]
mov rcx, r13
test al, al
je 0x140095d81
cmp al, 0x5c
jne 0x140095d6b
mov byte [rcx], 0x2f
call fcn.1401335e8
mov rcx, rax
movzx eax, byte [rax]
test al, al
jne 0x140095d64
movzx eax, byte [rsi + 0x10c5c]
mov rbx, r13
cmp al, 0x2f
jne 0x140095d9e
mov dword [rsi + 0x10e40], 1
inc rbx
mov word [rsp + 0x30], gethostbyname
jmp 0x140095df2
movzx ecx, al
call fcn.140131f28
test eax, eax
je 0x140095df2
cmp byte [rsi + 0x10c5d], 0x3a
jne 0x140095df2
mov dword [rsi + 0x10e40], 1
add rbx, 2
movzx eax, byte [r13]
mov byte [rsp + 0x30], al
movzx eax, byte [r13 + 1]
cmp byte [rbx], 0x2f
mov byte [rsp + 0x31], al
jne 0x140095de1
mov byte [rsp + 0x32], 0x2f
lea rbx, [r13 + 3]
lea rax, [rsp + 0x32]
lea rdx, [rsp + 0x33]
cmove rax, rdx
mov byte [rax], 0
mov r8d, 1
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140096670
mov r14d, eax
test eax, eax
jne 0x140096216
mov qword [rsp + 0x188], r12
lea r12, [rsp + 0x30]
mov byte [rsp + 0x30], al
test r15d, r15d
jne 0x140095e47
cmp dword [rsi + 0x30], r15d
je 0x140095e3a
lea edx, [rax + 0x2f]
mov rcx, r13
call fcn.14012bfe8
mov rbx, rax
test rbx, rbx
jne 0x140095e44
mov rbx, r13
jmp 0x140095e47
inc rbx
movzx r15d, byte [rbx]
test r15d, r15d
je 0x140096068
lea eax, [r15 - 0x20]
lea rdx, [0x140000000]
cmp eax, 0x5c
ja case.0x140095e7a.36
movzx eax, byte [rdx + rax + 0x96430]
mov ecx, dword [rdx + rax*4 + 0x9641c]
add rcx, rdx
jmp rcx
lea rdx, [rsi + 0x10bd0]
mov byte [r12], 0
lea rcx, [rsp + 0x30]
call fcn.1401308ac
test eax, eax
jne 0x140095ed7
mov eax, 0x2000
test word [rsi + 0x10bd6], ax
je 0x140095ed7
lea rcx, [rsp + 0x30]
mov rax, rdi
nop dword [rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x140095eb0
add rax, 1
je 0x140095ecf
nop
movzx ecx, byte [rsp + rax + 0x2f]
mov byte [rsp + rax + 0x30], cl
sub rax, 1
jne 0x140095ec0
mov al, 0x5f
mov byte [rsp + 0x30], al
jmp 0x140095edc
movzx eax, byte [rsp + 0x30]
movzx ecx, byte [rsp + 0x31]
cmp al, 0x2e
jne 0x140095efe
test cl, cl
jne 0x140095efe
xor eax, eax
mov byte [rsp + 0x30], cl
mov qword [rsp + 0x28], rax
lea r12, [rsp + 0x30]
jmp 0x140095ff4
cmp dword [rsi + 0x70], 0
jne 0x140095f31
cmp al, 0x2e
jne 0x140095f31
cmp cl, al
jne 0x140095f31
cmp byte [rsp + 0x32], 0
jne 0x140095f31
xor eax, eax
mov byte [rsp + 0x30], 0
mov qword [rsp + 0x28], rax
lea r12, [rsp + 0x30]
mov dword [rsp + 0x20], 1
jmp 0x140095ff4
test al, al
je 0x140095f5b
mov r8d, 2
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140096670
mov r14d, eax
and eax, 0x7f00
cmp eax, 0x100
ja 0x14009620b
xor eax, eax
lea r12, [rsp + 0x30]
mov qword [rsp + 0x28], rax
jmp 0x140095ff4
mov byte [r12], 0x5f
inc r12
jmp 0x140095ff4
mov qword [rsp + 0x28], r12
mov byte [r12], 0x3b
inc r12
jmp 0x140095ff4
cmp dword [rsi + 0x48], 0
jne 0x140095fae
mov rdx, r13
mov rcx, rsi
call fcn.1400954d0
test eax, eax
je 0x140095fa3
cmp dword [rsi + 0x10e50], 0
jne 0x140095fae
mov cl, 0x20
mov byte [r12], cl
inc r12
jmp 0x140095ff4
mov cl, 0x5f
mov byte [r12], cl
inc r12
jmp 0x140095ff4
mov ecx, r15d
call fcn.14013208c
test eax, eax
jne 0x140095fcb
cmp r15d, 0x7f
jb 0x140095ff4
call fcn.1401342e8
movsxd rdx, eax
mov rcx, rbx
call fcn.1401340ec
movsxd r8, eax
mov rdx, rbx
mov rcx, r12
call fcn.14011fbe0
mov rcx, r12
call fcn.1401335e8
mov r12, rax
mov rcx, rbx
call fcn.1401335e8
mov rbx, rax
movzx r15d, byte [rax]
test r15d, r15d
jne 0x140095e54
cmp dword [rsp + 0x20], r15d
je 0x140096068
cmp dword [rsi + 0x44], r15d
jne 0x140096068
lea rdx, [rsi + 0x8b08]
mov rcx, r13
call fcn.1400a0870
mov r8, rax
lea rdx, str.warning:__skipped__..___path_component_s__in__s_n
lea rcx, [rsi + 0xb08]
call fcn.140092700
mov r8d, eax
lea rdx, [rsi + 0xb08]
xor r9d, r9d
mov rcx, rsi
call qword [rsi + 0x10df0]
test r14d, 0xffff80ff
jne 0x140096068
and r14d, 0x7f00
or r14d, 1
cmp byte [r13], 0
mov rbx, r13
movsxd r15, dword [rsi + 0x10e44]
je 0x1400960a5
nop dword [rax]
test r15, r15
je 0x1400960a5
mov r13, rbx
call fcn.1401342e8
movsxd rdx, eax
mov rcx, rbx
call fcn.1401340ec
mov ecx, eax
add rbx, rcx
sub r15, rcx
cmp byte [rbx], 0
jne 0x140096080
cmp byte [r13], 0x2f
jne 0x14009623e
lea r15, [rsi + 0x10c5c]
mov r8d, 4
mov rdx, r15
mov rcx, rsi
call fcn.140096670
cmp dword [rsi + 0x10e3c], 0
je 0x14009618d
cmp dword [rsi + 0x44], 0
jne 0x140096116
lea rdx, [rsi + 0x8b08]
mov rcx, r15
call fcn.1400a0870
mov r8, rax
lea rdx, str.___creating:___22s_n
lea rcx, [rsi + 0xb08]
call fcn.140092700
mov r8d, eax
lea rdx, [rsi + 0xb08]
xor r9d, r9d
mov rcx, rsi
call qword [rsi + 0x10df0]
mov rax, qword [rsi + 0xb00]
mov edx, dword [rax + 0x14]
test dl, 0x6f
je 0x14009617f
and edx, 0x7f
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x14009617f
lea rdx, [rsi + 0x8b08]
mov rcx, r15
call fcn.1400a0870
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9, rbx
lea rdx, str._nwarning___d_:_could_not_set_file_attributes_for__s_n
mov r8d, eax
lea rcx, [rsi + 0xb08]
call fcn.140092700
mov r8d, eax
lea rdx, [rsi + 0xb08]
mov r9d, 1
mov rcx, rsi
call qword [rsi + 0x10df0]
and r14d, 0xffff90ff
bts r14d, 0xc
jmp 0x14009620b
cmp dword [rsi + 0x88], 1
jne 0x1400961ff
mov rax, qword [rsi + 0xb00]
mov edx, dword [rax + 0x14]
test dl, 0x6f
je 0x1400961ff
and edx, 0x7f
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x1400961ff
lea rdx, [rsi + 0x8b08]
mov rcx, r15
call fcn.1400a0870
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9, rbx
lea rdx, str._nwarning___d_:_could_not_set_file_attributes_for__s_n
mov r8d, eax
lea rcx, [rsi + 0xb08]
call fcn.140092700
mov r8d, eax
lea rdx, [rsi + 0xb08]
mov r9d, 1
mov rcx, rsi
call qword [rsi + 0x10df0]
and r14d, 0xffff82ff
bts r14d, 9
mov r12, qword [rsp + 0x188]
mov eax, r14d
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.14011b0c0
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
mov byte [r12], 0
cmp dword [rsi + 0x60], 0
jne 0x140096289
mov r15, qword [rsp + 0x28]
test r15, r15
je 0x140096289
movzx ecx, byte [r15 + 1]
lea rbx, [r15 + 1]
call fcn.140131f64
test eax, eax
je 0x140096280
nop word [rax + rax]
movzx ecx, byte [rbx + 1]
inc rbx
call fcn.140131f64
test eax, eax
jne 0x140096270
cmp byte [rbx], 0
jne 0x140096289
mov byte [r15], 0
lea rdx, [rsi + 0x10bd0]
lea rcx, [rsp + 0x30]
call fcn.1401308ac
test eax, eax
jne 0x1400963ba
mov eax, 0x2000
test word [rsi + 0x10bd6], ax
je 0x1400963ba
lea rax, [rsp + 0x30]
nop dword [rax]
inc rdi
cmp byte [rax + rdi], 0
jne 0x1400962c0
add rdi, 1
je 0x1400962df
nop
movzx eax, byte [rsp + rdi + 0x2f]
mov byte [rsp + rdi + 0x30], al
sub rdi, 1
jne 0x1400962d0
mov byte [rsp + 0x30], 0x5f
mov r8d, 3
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140096670
mov r8d, 4
lea rdx, [rsi + 0x10c5c]
mov rcx, rsi
call fcn.140096670
mov rax, qword [rsi + 0xb00]
test byte [rax + 0x18], 0x20
je 0x14009620b
movzx eax, byte [rsi + 0x10e48]
add al, 0x60
cmp dword [rsi + 0x44], 0
mov byte [rsp + 0x20], al
movzx eax, word [0x14019ca14]
mov word [rsp + 0x21], ax
movzx eax, byte [0x14019ca16]
mov byte [rsp + 0x23], al
jne 0x14009638b
lea rdx, [rsi + 0x8b08]
lea rcx, [rsi + 0x10c5c]
call fcn.1400a0870
mov r9, rax
lea r8, [rsp + 0x20]
lea rdx, str.labelling__s___22s_n
lea rcx, [rsi + 0xb08]
call fcn.140092700
mov r8d, eax
lea rdx, [rsi + 0xb08]
xor r9d, r9d
mov rcx, rsi
call qword [rsi + 0x10df0]
lea rdx, [rsi + 0x10c5c]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetVolumeLabelA]
test eax, eax
jne 0x1400961ff
lea rdx, str.mapname:__error_setting_volume_label_n
lea rcx, [rsi + 0xb08]
call fcn.140092700
jmp 0x1400963ee
cmp byte [rsp + 0x30], 0
jne 0x1400962e4
lea rdx, [rsi + 0x8b08]
lea rcx, [rsi + 0x10c5c]
call fcn.1400a0870
mov r8, rax
lea rdx, str.mapname:__conversion_of__s_failed_n
lea rcx, [rsi + 0xb08]
call fcn.140092700
mov r8d, eax
lea rdx, [rsi + 0xb08]
mov r9d, 1
mov rcx, rsi
call qword [rsi + 0x10df0]
and r14d, 0xffff83ff
or r14d, 0x300
jmp 0x14009620b