Function at 0x18001a490
Capabilities:
Get file attributes

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xda0
mov qword [rsp + 0x308], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x180056150]
xor rax, rsp
mov qword [rsp + 0xd90], rax
mov r12d, r8d
mov ebp, edx
mov rsi, rcx
lea rbx, [0x180056020]
mov r14d, 0x104
or r13, 0xffffffffffffffff
movabs rdi, 0x6666666666666667
xor r15d, r15d
test dl, 1
je 0x18001a70a
mov eax, r8d
shr eax, 4
and eax, 1
jne 0x18001a579
mov rcx, qword [rcx + 0x80]
sub rcx, qword [rsi + 0x78]
mov rax, rdi
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, 1
jne 0x18001a70a
mov rcx, qword [rsi + 0x80]
sub rcx, qword [rsi + 0x78]
mov rax, rdi
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
jne 0x18001a556
call fcn.180025824
mov rax, qword [rsi + 0x78]
cmp qword [rax + 0x20], 8
jb 0x18001a567
mov rcx, qword [rax + 8]
jmp 0x18001a56b
lea rcx, [rax + 8]
call fcn.1800163c0
cmp eax, r15d
je 0x18001a70a
mov rcx, rbx
mov rax, qword [0x180056020]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x40]
mov edx, 0x1f41
lea rcx, [0x180058300]
call fcn.1800209b8
mov rcx, qword [rsi + 0x80]
sub rcx, qword [rsi + 0x78]
mov rax, rdi
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
jne 0x18001a5cb
call fcn.180025824
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rsi + 0x78]
lea rcx, [rsp + 0x310]
call fcn.180013064
cmp qword [rax + 0x20], 8
jb 0x18001a5f2
mov rdx, qword [rax + 8]
jmp 0x18001a5f6
lea rdx, [rax + 8]
mov r8d, r14d
lea rcx, [rsp + 0x550]
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
cmp qword [rsp + 0x330], 8
jb 0x18001a61f
mov rcx, qword [rsp + 0x318]
call fcn.1800228ac
mov edx, r14d
lea rcx, [rsp + 0x550]
call fcn.180015fd0
xor eax, eax
mov rcx, r13
lea rdi, [rsp + 0x550]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [rsp + 0x550]
lea rcx, [rsp + 0x40]
call fcn.18000d720
mov qword [rsp + 0x258], 7
mov qword [rsp + 0x250], r15
mov word [rsp + 0x240], r15w
xor eax, eax
mov rcx, r13
mov rdx, qword [rsp + 0x40]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x238]
call fcn.180007420
nop
lea rcx, [rsi + 0xf0]
lea rdx, [rsp + 0x238]
call fcn.18001d8f0
nop
cmp qword [rsp + 0x258], 8
jb 0x18001a6c7
mov rcx, qword [rsp + 0x240]
call fcn.1800228ac
mov qword [rsp + 0xf0], 1
lea rcx, [rsi + 0xc0]
lea rdx, [rsp + 0xf0]
call fcn.18001d1b0
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
cmp eax, r15d
jg 0x18001a70a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov r14d, r12d
and r14d, 2
je 0x18001acbf
mov rcx, rbx
mov rax, qword [0x180056020]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0xa0], rax
test bpl, 2
je 0x18001a818
mov rcx, rbx
mov rax, qword [0x180056020]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x70], rax
lea r8, [rsp + 0x70]
mov edx, 0x1f46
lea rcx, [0x180058300]
call fcn.1800209b8
mov qword [rsp + 0x1e0], 7
mov qword [rsp + 0x1d8], r15
mov word [rsp + 0x1c8], r15w
xor eax, eax
mov rcx, r13
mov rdx, qword [rsp + 0x70]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x1c0]
call fcn.180007420
nop
lea rcx, [rsi + 0xf0]
lea rdx, [rsp + 0x1c0]
call fcn.18001d8f0
nop
cmp qword [rsp + 0x1e0], 8
jb 0x18001a7d5
mov rcx, qword [rsp + 0x1c8]
call fcn.1800228ac
mov qword [rsp + 0xd0], 2
lea rcx, [rsi + 0xc0]
lea rdx, [rsp + 0xd0]
call fcn.18001d1b0
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
cmp eax, r15d
jg 0x18001a818
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
test bpl, 4
je 0x18001a900
mov rcx, rbx
mov rax, qword [0x180056020]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x60], rax
lea r8, [rsp + 0x60]
mov edx, 0x1f47
lea rcx, [0x180058300]
call fcn.1800209b8
mov qword [rsp + 0x140], 7
mov qword [rsp + 0x138], r15
mov word [rsp + 0x128], r15w
xor eax, eax
mov rcx, r13
mov rdx, qword [rsp + 0x60]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x120]
call fcn.180007420
nop
lea rcx, [rsi + 0xf0]
lea rdx, [rsp + 0x120]
call fcn.18001d8f0
nop
cmp qword [rsp + 0x140], 8
jb 0x18001a8bd
mov rcx, qword [rsp + 0x128]
call fcn.1800228ac
mov qword [rsp + 0x110], 4
lea rcx, [rsi + 0xc0]
lea rdx, [rsp + 0x110]
call fcn.18001d1b0
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
cmp eax, r15d
jg 0x18001a900
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
test bpl, 8
je 0x18001ab4f
mov rcx, qword [rsi + 0x80]
sub rcx, qword [rsi + 0x78]
movabs rdi, 0x6666666666666667
mov rax, rdi
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, 1
jne 0x18001ab59
mov rcx, qword [rsi + 0x80]
sub rcx, qword [rsi + 0x78]
mov rax, rdi
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
jne 0x18001a963
call fcn.180025824
mov rax, qword [rsi + 0x78]
cmp qword [rax + 0x20], 8
jb 0x18001a974
mov rcx, qword [rax + 8]
jmp 0x18001a978
lea rcx, [rax + 8]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov rdx, rax
lea rcx, [rsp + 0x340]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rcx, [rsp + 0x340]
call qword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov word [rax], r15w
lea rcx, [rsp + 0x340]
call qword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov rdi, rax
lea rdx, str..tar
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, r15d
jne 0x18001a9cb
mov word [rdi], r15w
xor edx, edx
lea rcx, [rsp + 0x340]
call fcn.18001baf4
mov rcx, rbx
mov rax, qword [0x180056020]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x90], rax
lea r8, [rsp + 0x90]
mov edx, 0x1f48
lea rcx, [0x180058300]
call fcn.1800209b8
mov edx, 0x104
lea rcx, [rsp + 0x340]
call fcn.180015fd0
lea r9, [rsp + 0x340]
mov r8, qword [rsp + 0x90]
lea rdx, [0x180043eb0]
lea rcx, [rsp + 0x970]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rsp + 0x970]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rsp + 0x300], rax
cmp rax, r15
jne 0x18001aa6c
mov ecx, 0x8007000e
call fcn.1800080ec
nop
mov qword [rsp + 0x280], 7
mov qword [rsp + 0x278], r15
mov word [rsp + 0x268], r15w
xor eax, eax
mov rcx, r13
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, rbx
lea rcx, [rsp + 0x260]
call fcn.180007420
nop
lea rcx, [rsi + 0xf0]
lea rdx, [rsp + 0x260]
call fcn.18001d8f0
nop
cmp qword [rsp + 0x280], 8
jb 0x18001aad9
mov rcx, qword [rsp + 0x268]
call fcn.1800228ac
mov qword [rsp + 0xe0], 8
lea rcx, [rsi + 0xc0]
lea rdx, [rsp + 0xe0]
call fcn.18001d1b0
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rdx, qword [rsp + 0x90]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
cmp eax, r15d
jg 0x18001ab3c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea rbx, [0x180056020]
movabs rdi, 0x6666666666666667
jmp 0x18001ab59
lea rbx, [0x180056020]
movabs rdi, 0x6666666666666667
jmp 0x18001ab59
movabs rdi, 0x6666666666666667
test bpl, 0x10
je 0x18001ac9a
lea r8, str.SmartExtr
lea rdx, [0x180043edc]
lea rcx, [rsp + 0xa0]
call fcn.18000da7c
mov rcx, rbx
mov rax, qword [0x180056020]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x48], rax
mov rcx, qword [rsi + 0x80]
sub rcx, qword [rsi + 0x78]
mov rax, rdi
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, 1
jne 0x18001abd1
lea r8, [rsp + 0x48]
mov edx, 0x1f49
lea rcx, [0x180058300]
call fcn.1800209b8
jmp 0x18001abe7
lea r8, [rsp + 0x48]
mov edx, 0x1f4a
lea rcx, [0x180058300]
call fcn.1800209b8
mov qword [rsp + 0x230], 7
mov qword [rsp + 0x228], r15
mov word [rsp + 0x218], r15w
xor eax, eax
mov rcx, r13
mov rdx, qword [rsp + 0x48]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x210]
call fcn.180007420
nop
lea rcx, [rsi + 0xf0]
lea rdx, [rsp + 0x210]
call fcn.18001d8f0
nop
cmp qword [rsp + 0x230], 8
jb 0x18001ac56
mov rcx, qword [rsp + 0x218]
call fcn.1800228ac
mov qword [rsp + 0x100], 0x10
lea rcx, [rsi + 0xc0]
lea rdx, [rsp + 0x100]
call fcn.18001d1b0
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
cmp eax, r15d
jg 0x18001ac9a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0xa0]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
cmp eax, r15d
jg 0x18001acbf
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
test r12b, 1
je 0x18001b2cb
test bpl, 0x20
je 0x18001adb1
mov rcx, rbx
mov rax, qword [0x180056020]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x50], rax
lea r8, [rsp + 0x50]
mov edx, 0x1f45
lea rcx, [0x180058300]
call fcn.1800209b8
mov qword [rsp + 0x190], 7
mov qword [rsp + 0x188], r15
mov word [rsp + 0x178], r15w
xor eax, eax
mov rcx, r13
mov rdx, qword [rsp + 0x50]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x170]
call fcn.180007420
nop
lea rcx, [rsi + 0xf0]
lea rdx, [rsp + 0x170]
call fcn.18001d8f0
nop
cmp qword [rsp + 0x190], 8
jb 0x18001ad6e
mov rcx, qword [rsp + 0x178]
call fcn.1800228ac
mov qword [rsp + 0xc0], 0x20
lea rcx, [rsi + 0xc0]
lea rdx, [rsp + 0xc0]
call fcn.18001d1b0
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
cmp eax, r15d
jg 0x18001adb1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov edx, ebp
shr edx, 0xb
and edx, 1
mov rcx, rsi
call fcn.18001a410
bt ebp, 8
jae 0x18001aeb5
mov rcx, rbx
mov rax, qword [0x180056020]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x88], rax
lea r8, [rsp + 0x88]
mov edx, 0x1f52
lea rcx, [0x180058300]
call fcn.1800209b8
mov qword [rsp + 0x1b8], 7
mov qword [rsp + 0x1b0], r15
mov word [rsp + 0x1a0], r15w
xor eax, eax
mov rcx, r13
mov rdx, qword [rsp + 0x88]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x198]
call fcn.180007420
nop
lea rcx, [rsi + 0xf0]
lea rdx, [rsp + 0x198]
call fcn.18001d8f0
nop
cmp qword [rsp + 0x1b8], 8
jb 0x18001ae6f
mov rcx, qword [rsp + 0x1a0]
call fcn.1800228ac
mov qword [rsp + 0xc8], 0x100
lea rcx, [rsi + 0xc0]
lea rdx, [rsp + 0xc8]
call fcn.18001d1b0
nop
mov rdx, qword [rsp + 0x88]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
cmp eax, r15d
jg 0x18001aeb5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
test bpl, bpl
jns 0x18001b128
mov rcx, rbx
mov rax, qword [0x180056020]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x20]
mov edx, 0x1f53
lea rcx, [0x180058300]
call fcn.1800209b8
xor eax, eax
mov rcx, r13
lea rdx, [0x180043ddc]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rcx, [rsp + 0x20]
call fcn.18000d720
xor eax, eax
mov rcx, r13
lea rdx, [0x180043e64]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rcx, [rsp + 0x20]
call fcn.18000d720
xor r9d, r9d
mov edi, 0x104
mov r8d, edi
lea rdx, [rsp + 0xb80]
mov rcx, rsi
call fcn.180016160
lea rcx, [rsp + 0xb80]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov rdx, rax
lea rcx, [rsp + 0x760]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edx, edi
lea rcx, [rsp + 0x760]
call fcn.180015fd0
xor eax, eax
mov rcx, r13
lea rdi, [rsp + 0x760]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [rsp + 0x760]
lea rcx, [rsp + 0x20]
call fcn.18000d720
xor eax, eax
mov rcx, r13
lea rdx, [0x180043ee4]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rcx, [rsp + 0x20]
call fcn.18000d720
xor eax, eax
mov rcx, r13
lea rdx, [0x180043ee8]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rcx, [rsp + 0x20]
call fcn.18000d720
mov rcx, rbx
mov rax, qword [0x180056020]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x80], rax
lea r8, [rsp + 0x80]
mov edx, 0x1f54
lea rcx, [0x180058300]
call fcn.1800209b8
mov rdx, qword [rsp + 0x80]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x20]
call fcn.18000d720
mov rdx, qword [rsp + 0x20]
mov ecx, 1
sub ecx, dword [rdx - 8]
mov eax, dword [rdx - 0xc]
or eax, ecx
jge 0x18001b055
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.18000d4f8
mov rdx, qword [rsp + 0x20]
mov qword [rsp + 0x208], 7
mov qword [rsp + 0x200], r15
mov word [rsp + 0x1f0], r15w
xor eax, eax
mov rcx, r13
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x1e8]
call fcn.180007420
nop
lea rcx, [rsi + 0xf0]
lea rdx, [rsp + 0x1e8]
call fcn.18001d8f0
nop
cmp qword [rsp + 0x208], 8
jb 0x18001b0bf
mov rcx, qword [rsp + 0x1f0]
call fcn.1800228ac
mov qword [rsp + 0xd8], 0x80
lea rcx, [rsi + 0xc0]
lea rdx, [rsp + 0xd8]
call fcn.18001d1b0
nop
mov rdx, qword [rsp + 0x80]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
cmp eax, r15d
jg 0x18001b106
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
cmp eax, r15d
jg 0x18001b128
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea rdx, [0x180043ef0]
lea rcx, [rsp + 0xb8]
call fcn.18000daa0
nop
mov r8d, 1
mov rdx, qword [rsp + 0xb8]
lea rcx, [rsp + 0xa8]
call fcn.18001dbd0
nop
lea rcx, [rsp + 0xa8]
call fcn.18001db40
mov r13d, eax
mov ebx, r15d
cmp eax, r15d
jle 0x18001b294
lea rcx, [0x180056020]
mov rdx, qword [0x180056020]
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rsp + 0xb0], rax
mov r9d, ebx
lea r8, [0x180043f08]
lea rdx, [0x180043f20]
lea rcx, [rsp + 0xb0]
call fcn.18000da7c
mov r8d, 1
mov rdi, qword [rsp + 0xb0]
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.18001dbd0
nop
mov dword [rsp + 0x38], r15d
lea r8, [rsp + 0x38]
lea rdx, [0x180043f30]
lea rcx, [rsp + 0x30]
call fcn.18001db00
cmp dword [rsp + 0x38], r15d
je 0x18001b217
lea rcx, [rsp + 0x30]
call fcn.18001dbb0
nop
lea rdx, [rdi - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
cmp eax, r15d
jg 0x18001b289
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x18001b289
mov dword [rsp + 0x28], r15d
lea r8, [rsp + 0x28]
lea rdx, str.AppendMenu
lea rcx, [rsp + 0x30]
call fcn.18001db00
cmp dword [rsp + 0x28], r15d
jne 0x18001b262
lea rcx, [rsp + 0x30]
call fcn.18001dbb0
nop
lea rdx, [rdi - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
cmp eax, r15d
jg 0x18001b289
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x18001b289
lea rcx, [rsp + 0x30]
call fcn.18001dbb0
nop
lea rdx, [rdi - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
cmp eax, r15d
jg 0x18001b289
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
inc ebx
cmp ebx, r13d
jl 0x18001b175
lea rcx, [rsp + 0xa8]
call fcn.18001dbb0
nop
mov rdx, qword [rsp + 0xb8]
add rdx, 0xffffffffffffffe8
or r13, 0xffffffffffffffff
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
cmp eax, r15d
jg 0x18001b2cb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
cmp r14d, r15d
je 0x18001b3d6
bt ebp, 9
jae 0x18001b3cf
mov qword [rsp + 0xe8], 0x200
lea rcx, [rsi + 0xc0]
lea rdx, [rsp + 0xe8]
call fcn.18001d1b0
lea rcx, [0x180056020]
mov rax, qword [0x180056020]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x98], rax
lea r8, [rsp + 0x98]
mov edx, 0x1f55
lea rcx, [0x180058300]
call fcn.1800209b8
mov ebx, 7
mov qword [rsp + 0x168], rbx
mov qword [rsp + 0x160], r15
mov word [rsp + 0x150], r15w
xor eax, eax
mov rcx, r13
mov rdx, qword [rsp + 0x98]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x148]
call fcn.180007420
nop
lea rcx, [rsi + 0xf0]
lea rdx, [rsp + 0x148]
call fcn.18001d8f0
nop
cmp qword [rsp + 0x168], 8
jb 0x18001b3a8
mov rcx, qword [rsp + 0x150]
call fcn.1800228ac
nop
mov rdx, qword [rsp + 0x98]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
cmp eax, r15d
jg 0x18001b3db
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x18001b3db
mov ebx, 7
jmp 0x18001b3db
mov ebx, 7
cmp dword [rsi], r15d
je 0x18001b54a
bt ebp, 0x17
jae 0x18001b556
mov rcx, qword [rsi + 0x80]
sub rcx, qword [rsi + 0x78]
movabs r14, 0x6666666666666667
mov rax, r14
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, 1
jne 0x18001b560
mov rcx, qword [rsi + 0x80]
sub rcx, qword [rsi + 0x78]
mov rax, r14
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
jne 0x18001b447
call fcn.180025824
mov rax, qword [rsi + 0x78]
cmp qword [rax + 0x20], 8
jb 0x18001b458
mov rcx, qword [rax + 8]
jmp 0x18001b45c
lea rcx, [rax + 8]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x18001b560
lea rcx, [0x180056020]
mov rax, qword [0x180056020]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x58], rax
lea r8, [rsp + 0x58]
mov edx, 0x1f59
lea rcx, [0x180058300]
call fcn.1800209b8
mov qword [rsp + 0x2a8], rbx
mov qword [rsp + 0x2a0], r15
mov word [rsp + 0x290], r15w
xor eax, eax
mov rcx, r13
mov rdx, qword [rsp + 0x58]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x288]
call fcn.180007420
nop
lea rcx, [rsi + 0xf0]
lea rdx, [rsp + 0x288]
call fcn.18001d8f0
nop
cmp qword [rsp + 0x2a8], 8
jb 0x18001b505
mov rcx, qword [rsp + 0x290]
call fcn.1800228ac
mov qword [rsp + 0xf8], 0x800000
lea rcx, [rsi + 0xc0]
lea rdx, [rsp + 0xf8]
call fcn.18001d1b0
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
cmp eax, r15d
jg 0x18001b560
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x18001b560
movabs r14, 0x6666666666666667
jmp 0x18001b560
movabs r14, 0x6666666666666667
test r12b, 4
je 0x18001b657
bt ebp, 0x10
jae 0x18001b657
lea rcx, [0x180056020]
mov rax, qword [0x180056020]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x68], rax
lea r8, [rsp + 0x68]
mov edx, 0x1f42
lea rcx, [0x180058300]
call fcn.1800209b8
mov qword [rsp + 0x2f8], rbx
mov qword [rsp + 0x2f0], r15
mov word [rsp + 0x2e0], r15w
xor eax, eax
mov rcx, r13
mov rdx, qword [rsp + 0x68]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x2d8]
call fcn.180007420
nop
lea rcx, [rsi + 0xf0]
lea rdx, [rsp + 0x2d8]
call fcn.18001d8f0
nop
cmp qword [rsp + 0x2f8], 8
jb 0x18001b60f
mov rcx, qword [rsp + 0x2e0]
call fcn.1800228ac
mov qword [rsp + 0x108], 0x10000
lea rcx, [rsi + 0xc0]
lea rdx, [rsp + 0x108]
call fcn.18001d1b0
inc dword [rsi + 0x120]
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
cmp eax, r15d
jg 0x18001b657
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
test r12b, 8
je 0x18001b777
bt ebp, 0x12
jae 0x18001b777
mov rdx, qword [rsi + 0x80]
sub rdx, qword [rsi + 0x78]
mov rax, r14
imul rdx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, 1
jne 0x18001b777
lea rcx, [0x180056020]
mov rax, qword [0x180056020]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x78], rax
lea r8, [rsp + 0x78]
mov edx, 0x1f44
lea rcx, [0x180058300]
call fcn.1800209b8
mov qword [rsp + 0x2d0], rbx
mov qword [rsp + 0x2c8], r15
mov word [rsp + 0x2b8], r15w
xor eax, eax
mov rcx, r13
mov rdx, qword [rsp + 0x78]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x2b0]
call fcn.180007420
nop
lea rcx, [rsi + 0xf0]
lea rdx, [rsp + 0x2b0]
call fcn.18001d8f0
nop
cmp qword [rsp + 0x2d0], 8
jb 0x18001b72f
mov rcx, qword [rsp + 0x2b8]
call fcn.1800228ac
mov qword [rsp + 0x118], 0x40000
lea rcx, [rsi + 0xc0]
lea rdx, [rsp + 0x118]
call fcn.18001d1b0
inc dword [rsi + 0x120]
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
cmp eax, r15d
jg 0x18001b777
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor eax, eax
mov rcx, qword [rsp + 0xd90]
xor rcx, rsp
call fcn.180022fd0
lea r11, [rsp + 0xda0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret