Function at 0x1400790d0
Capabilities:
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa90
mov rax, qword [0x14009e140]
xor rax, rsp
mov qword [rsp + 0xa80], rax
xor r14d, r14d
mov r12, r9
mov esi, r8d
mov ebx, r14d
mov rbp, rcx
mov rcx, qword [str.P5_n_]
lea r15, str.P5_n_
lea r13d, [r14 + 2]
cmp rcx, r15
je 0x140079146
test byte [rcx + 0x1c], r13b
je 0x140079146
cmp byte [rcx + 0x19], 5
jb 0x140079146
mov rcx, qword [rcx + 0x10]
lea edx, [r14 + 0x2b]
lea r8, [0x140008e18]
call fcn.14000ffa8
mov rcx, qword [str.P5_n_]
cmp rbp, r14
jne 0x140079155
mov ebx, 0x57
jmp 0x14007979b
lea rax, [rsp + 0x50]
mov r9, rbp
mov r8d, 0x104
lea rdx, [rsp + 0x50]
mov edi, r14d
sub r9, rax
lea rax, [r8 + 0x7ffffefa]
cmp rax, r14
je 0x140079191
movzx eax, word [r9 + rdx]
cmp ax, r14w
je 0x140079191
mov word [rdx], ax
add rdx, r13
sub r8, 1
jne 0x14007916e
cmp r8, r14
jne 0x14007919e
sub rdx, r13
mov edi, 0x8007007a
cmp edi, r14d
mov word [rdx], r14w
jge 0x1400791d2
cmp rcx, r15
je 0x1400796d1
test byte [rcx + 0x1c], r13b
je 0x1400796d1
cmp byte [rcx + 0x19], r13b
jb 0x1400796d1
movzx r9d, di
mov edx, 0x2c
jmp 0x1400796c1
cmp esi, 1
jne 0x14007935e
mov ecx, 0x100
lea rax, [rsp + 0x680]
xor r9d, r9d
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
lea rax, [rsp + 0x880]
lea rcx, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x28], rax
xor edx, edx
mov qword [rsp + 0x20], r14
call sub.msvcrt.dll__wsplitpath_s
cmp eax, r14d
je 0x140079253
mov ebx, 0x65b
mov rcx, qword [str.P5_n_]
cmp rcx, r15
je 0x140079253
test byte [rcx + 0x1c], r13b
je 0x140079253
cmp byte [rcx + 0x19], r13b
jb 0x140079253
mov rcx, qword [rcx + 0x10]
lea edx, [rsi + 0x2c]
lea r8, [0x140008e18]
mov r9d, ebx
call fcn.1400100e0
lea r8, [rsp + 0x880]
lea rax, [rsp + 0x470]
mov r9d, 0x104
sub r8, rax
mov rdx, r9
lea rcx, [rsp + 0x470]
lea rax, [rdx + 0x7ffffefa]
cmp rax, r14
je 0x14007929a
movzx eax, word [rcx + r8]
cmp ax, r14w
je 0x14007929a
mov word [rcx], ax
add rcx, r13
sub rdx, 1
jne 0x140079277
cmp rdx, r14
jne 0x1400792a2
sub rcx, r13
mov word [rcx], r14w
lea r8, [rsp + 0x680]
lea rcx, [rsp + 0x470]
mov rdx, r9
call fcn.140019338
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x470]
call qword [sym.imp.msvcrt.dll__wcsicmp]
cmp eax, r14d
je 0x140079319
mov rcx, qword [str.P5_n_]
cmp rcx, r15
je 0x14007914b
test byte [rcx + 0x1c], r13b
je 0x14007914b
cmp byte [rcx + 0x19], r13b
jb 0x14007914b
mov edx, 0x2e
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x50]
lea r8, [0x140008e18]
call fcn.14001011c
jmp 0x14007914b
lea rdx, [0x14000d058]
lea rcx, [rsp + 0x680]
call qword [sym.imp.msvcrt.dll__wcsicmp]
cmp eax, r14d
jne 0x14007935e
mov rcx, qword [str.P5_n_]
cmp rcx, r15
je 0x14007914b
test byte [rcx + 0x1c], r13b
je 0x14007914b
cmp byte [rcx + 0x19], r13b
jb 0x14007914b
mov edx, 0x2f
jmp 0x1400792ff
lea rcx, [rsp + 0x50]
mov edx, 0x5c
call qword [sym.imp.msvcrt.dll_wcschr]
cmp rax, r14
je 0x1400793d4
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or edi, 0xffffffff
cmp eax, edi
jne 0x140079684
mov ebx, r13d
mov rcx, qword [str.P5_n_]
cmp rcx, r15
je 0x14007979b
test byte [rcx + 0x1c], r13b
je 0x14007979b
cmp byte [rcx + 0x19], r13b
jb 0x14007979b
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x50]
lea r8, [0x140008e18]
mov edx, 0x30
mov dword [rsp + 0x20], r13d
call fcn.140011a18
jmp 0x14007979b
cmp esi, r14d
mov esi, 0x104
je 0x140079423
lea rdx, [rsp + 0x50]
mov r8d, esi
xor ecx, ecx
call fcn.140081448
cmp eax, r14d
jne 0x140079479
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [str.P5_n_]
cmp rax, r15
je 0x140079479
test byte [rax + 0x1c], r13b
je 0x140079479
cmp byte [rax + 0x19], r13b
jb 0x140079479
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, 0x31
jmp 0x14007945f
lea rcx, [rsp + 0x50]
mov edx, esi
call fcn.140080b74
cmp eax, r14d
jne 0x140079479
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [str.P5_n_]
cmp rax, r15
je 0x140079479
test byte [rax + 0x1c], r13b
je 0x140079479
cmp byte [rax + 0x19], r13b
jb 0x140079479
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, 0x33
mov rcx, qword [str.P5_n_]
lea r8, [0x140008e18]
mov r9d, eax
mov rcx, qword [rcx + 0x10]
call fcn.1400100e0
cmp ebx, r14d
je 0x140079486
mov ebx, r13d
jmp 0x14007979b
lea r8, [0x14000cf2c]
lea rcx, [rsp + 0x50]
mov rdx, rsi
call fcn.140019338
cmp eax, r14d
mov edi, eax
jge 0x1400794cf
mov rcx, qword [str.P5_n_]
cmp rcx, r15
je 0x1400796d1
test byte [rcx + 0x1c], r13b
je 0x1400796d1
cmp byte [rcx + 0x19], r13b
jb 0x1400796d1
mov edx, 0x34
jmp 0x1400796bd
lea rcx, [rsp + 0x50]
mov r8, rbp
mov rdx, rsi
call fcn.140019338
cmp eax, r14d
mov edi, eax
jge 0x140079514
mov rcx, qword [str.P5_n_]
cmp rcx, r15
je 0x1400796d1
test byte [rcx + 0x1c], r13b
je 0x1400796d1
cmp byte [rcx + 0x19], r13b
jb 0x1400796d1
mov edx, 0x35
jmp 0x1400796bd
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x260]
mov rdx, rsi
lea rcx, [rsp + 0x260]
mov edi, r14d
sub r8, rax
lea rax, [rdx + 0x7ffffefa]
cmp rax, r14
je 0x140079555
movzx eax, word [rcx + r8]
cmp ax, r14w
je 0x140079555
mov word [rcx], ax
add rcx, r13
sub rdx, 1
jne 0x140079532
cmp rdx, r14
jne 0x140079562
sub rcx, r13
mov edi, 0x8007007a
cmp edi, r14d
mov word [rcx], r14w
jge 0x14007959d
mov rcx, qword [str.P5_n_]
cmp rcx, r15
je 0x1400796d1
test byte [rcx + 0x1c], r13b
je 0x1400796d1
cmp byte [rcx + 0x19], r13b
jb 0x1400796d1
movzx r9d, di
mov edx, 0x36
jmp 0x1400796c1
lea r8, [0x14000d068]
lea rcx, [rsp + 0x260]
mov rdx, rsi
call fcn.140019338
cmp eax, r14d
mov edi, eax
jge 0x1400795e9
mov rcx, qword [str.P5_n_]
cmp rcx, r15
je 0x1400796d1
test byte [rcx + 0x1c], r13b
je 0x1400796d1
cmp byte [rcx + 0x19], r13b
jb 0x1400796d1
mov edx, 0x37
jmp 0x1400796bd
lea rcx, [rsp + 0x260]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or edi, 0xffffffff
lea rcx, [rsp + 0x50]
cmp eax, edi
jne 0x140079612
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, edi
jne 0x140079689
jmp 0x14007947e
lea r8, [rsp + 0x260]
lea rax, [rsp + 0x50]
mov rdx, rsi
sub r8, rax
mov edi, r14d
lea rax, [rdx + 0x7ffffefa]
cmp rax, r14
je 0x14007964b
movzx eax, word [rcx + r8]
cmp ax, r14w
je 0x14007964b
mov word [rcx], ax
add rcx, r13
sub rdx, 1
jne 0x140079628
cmp rdx, r14
jne 0x140079658
sub rcx, r13
mov edi, 0x8007007a
cmp edi, r14d
mov word [rcx], r14w
jge 0x140079689
mov rcx, qword [str.P5_n_]
cmp rcx, r15
je 0x1400796d1
test byte [rcx + 0x1c], r13b
je 0x1400796d1
cmp byte [rcx + 0x19], r13b
jb 0x1400796d1
movzx r9d, di
mov edx, 0x38
jmp 0x1400796c1
mov esi, 0x104
lea r8, [rsp + 0x50]
mov rdx, rsi
mov rcx, r12
call fcn.14001191c
cmp eax, r14d
mov edi, eax
jge 0x1400796d9
mov rcx, qword [str.P5_n_]
cmp rcx, r15
je 0x1400796d1
test byte [rcx + 0x1c], r13b
je 0x1400796d1
cmp byte [rcx + 0x19], r13b
jb 0x1400796d1
mov edx, 0x39
movzx r9d, ax
mov rcx, qword [rcx + 0x10]
lea r8, [0x140008e18]
call fcn.1400100e0
movzx ebx, di
jmp 0x140079796
mov dword [rsp + 0x38], r13d
xor r9d, r9d
mov qword [rsp + 0x30], r14
lea r8d, [r9 + 1]
mov edx, 0x80000000
mov rcx, r12
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
call fcn.140079cec
cmp rax, 0xffffffffffffffff
jne 0x14007974b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.P5_n_]
cmp rcx, r15
je 0x140079796
test byte [rcx + 0x1c], r13b
je 0x140079796
cmp byte [rcx + 0x19], r13b
jb 0x140079796
mov rcx, qword [rcx + 0x10]
lea r8, [0x140008e18]
mov edx, 0x3a
mov r9, r12
mov dword [rsp + 0x20], eax
call fcn.140011a18
jmp 0x140079796
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, r14d
jne 0x140079796
mov rax, qword [str.P5_n_]
cmp rax, r15
je 0x140079796
test byte [rax + 0x1c], r13b
je 0x140079796
cmp byte [rax + 0x19], r13b
jb 0x140079796
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.P5_n_]
lea r8, [0x140008e18]
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov edx, 0x3b
call fcn.1400100e0
cmp ebx, r14d
je 0x1400797a7
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x1400797ac
mov eax, 1
mov rcx, qword [rsp + 0xa80]
xor rcx, rsp
call fcn.14008c5b0
mov rbx, qword [rsp + 0xad8]
add rsp, 0xa90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret