Function at 0x180029560
Capabilities:
Get file attributes

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x7a8]
sub rsp, 0x8a8
movzx ebx, byte [rbp + 0x800]
lea r13d, [r8 - 9]
mov r10, r9
mov r9, rdx
mov rdx, rcx
cmp r8d, r13d
jbe case.0x1800295ed.5
mov rsi, qword [rsp + 0x50]
lea edi, [r8 - 0x5a]
mov r14, qword [rsp + 0x50]
lea r8, [0x180000000]
xor r15d, r15d
mov r12d, 0xffffffff
lea r11d, [r15 + 1]
nop dword [rax]
cmp edi, 0x1c
ja case.0x1800295ed.9
movzx eax, byte [r8 + rdi + 0x29930]
mov ecx, dword [r8 + rax*4 + 0x29908]
add rcx, r8
jmp rcx
mov rsi, r15
mov r14, r15
jmp case.0x1800295ed.9
mov ecx, 0xffffff00
lea rdx, [rbp + 0x1b0]
call qword [0x1800d5910]
movzx ebx, byte [rbp + 0x70c]
mov word [0x1800d5918], r15w
jmp 0x1800298bf
mov rax, qword [rbp + 0x820]
lea r9, [rsp + 0x38]
mov r8d, 0x10c
mov word [rbp + 0x800], r11w
lea rdx, [rbp + 0x800]
xor ecx, ecx
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
call fcn.180059270
mov r15, rax
test rax, rax
jle 0x1800296b6
lea rcx, [rax + 1]
call fcn.180073cfc
mov rsi, rax
test rax, rax
je 0x1800298b6
lea r8, [r15 + 1]
xor edx, edx
mov rcx, rax
call fcn.180070440
mov eax, 1
lea r9, [rsp + 0x38]
mov word [rbp + 0x800], ax
lea rdx, [rbp + 0x800]
mov rax, qword [rbp + 0x820]
mov r8d, 0x10c
mov rcx, qword [rax]
mov qword [rsp + 0x38], rcx
mov rcx, rsi
call fcn.180059270
mov r12d, 0xffffffff
test rsi, rsi
je 0x1800298bc
cmp byte [rsi + 1], 0x3a
jne 0x180029707
cmp r15, 3
jg 0x180029707
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov r14d, eax
cmp r14, r12
je 0x1800298bc
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov r14d, eax
mov rcx, rsi
shr r14, 4
and r14d, 1
call fcn.180073cf4
xor r15d, r15d
mov esi, r15d
jmp 0x1800298bf
cmp byte [r15 + rsi - 1], 0x5c
lea r8, [0x180000000]
mov r9, qword [rbp + 0x7f8]
mov r11d, 1
mov r10, qword [rbp + 0x808]
mov rdx, qword [rbp + 0x7f0]
jne 0x180029737
mov byte [r15 + rsi - 1], 0
xor r15d, r15d
jmp case.0x1800295ed.9
mov rax, qword [rbp + 0x818]
lea rcx, [rsp + 0x30]
mov r8d, 0xdd
mov eax, dword [rax]
mov dword [rsp + 0x48], eax
mov eax, dword [rdx]
lea rdx, [rsp + 0x38]
mov dword [rsp + 0x38], eax
movzx eax, word [r9]
lea r9, [rsp + 0x48]
mov word [rsp + 0x30], ax
mov rax, qword [rbp + 0x810]
movzx eax, word [rax]
mov word [rbp + 0x800], ax
mov rax, qword [rbp + 0x820]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x800]
mov qword [rsp + 0x20], rax
call fcn.1800055a0
mov qword [rsp + 0x50], rax
jmp 0x1800298bf
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je case.0x1800295ed.9
movzx eax, word [r10]
lea r8, [rsp + 0x40]
mov word [rcx + 8], ax
xor r9d, r9d
mov rax, qword [rbp + 0x820]
xor ecx, ecx
lea edx, [r9 + 0x37]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
call fcn.180030a70
jmp 0x1800298bf
mov dword [rbp + 0x70c], r15d
jmp case.0x1800295ed.9
mov rdx, qword [rbp + 0x820]
cmp byte [rdx], 0xf
jne 0x1800298da
mov rcx, qword [rdx + 6]
test rcx, rcx
je 0x1800298da
mov rax, qword [rbp + 0x810]
movsxd rax, dword [rax]
test eax, eax
js 0x1800298da
cmp eax, dword [rdx + 2]
jg 0x1800298da
mov rcx, qword [rcx]
mov rdx, rax
movzx eax, word [r9]
mov word [rcx + rdx*2], ax
jmp 0x1800298da
test rsi, rsi
je 0x180029887
lea rdx, [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
je 0x180029878
mov r14, qword [rsp + 0x60]
mov rcx, rax
shr r14, 4
and r14d, 1
call qword [sym.imp.KERNEL32.dll_FindClose]
xor r8d, r8d
mov rcx, rsi
lea edx, [r8 + 0x34]
call fcn.180044bc0
mov rax, qword [rbp + 0x820]
lea rdx, [rbp + 0x800]
mov r8d, 0x92
mov dword [rbp + 0x800], r14d
lea rcx, [rsp + 0x40]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
call fcn.18004ff10
jmp 0x1800298bf
mov r12d, 0xffffffff
xor r15d, r15d
mov r9, qword [rbp + 0x7f8]
lea r8, [0x180000000]
mov r10, qword [rbp + 0x808]
mov r11d, 1
mov rdx, qword [rbp + 0x7f0]
add edi, r12d
lea eax, [rdi + 0x5a]
cmp eax, r13d
ja 0x1800295d0
movzx eax, bl
add rsp, 0x8a8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret