Function at 0x140120c90
Capabilities:
Get file attributes

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], r9
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x6e0
mov rax, qword [0x1401b2190]
xor rax, rsp
mov qword [rsp + 0x6d0], rax
mov r12, rcx
mov qword [rsp + 0x50], rcx
mov rbx, rdx
mov r15, r8
mov qword [rsp + 0x48], r8
mov r14, r9
mov qword [rsp + 0x40], r9
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov esi, 0x30
mov ecx, esi
call fcn.140126628
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x60]
call fcn.1401257ec
nop
mov r8, rbx
mov rdx, r15
lea rcx, [rsp + 0x108]
call fcn.14011d780
nop
lea rdx, [rsp + 0x108]
cmp qword [rsp + 0x120], 8
cmovae rdx, qword [rsp + 0x108]
lea rcx, [rsp + 0x60]
call fcn.140125930
xor edi, edi
test al, al
jne 0x140120dac
lea rcx, [rsp + 0x108]
call fcn.140069260
nop
lea rcx, [rsp + 0x60]
call fcn.140125808
nop
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx + 8]
mov qword [rax], rdi
mov r14, qword [rcx]
test r14, r14
je 0x140120d98
mov rbx, qword [r14]
lea rcx, [r14 + 0x10]
call fcn.140069260
mov rdx, rsi
mov rcx, r14
call fcn.140126380
mov r14, rbx
test rbx, rbx
jne 0x140120d79
mov rdx, rsi
mov rcx, qword [rsp + 0x30]
call fcn.140126380
xor al, al
jmp 0x140121b26
lea rcx, [rsp + 0x60]
call fcn.1401258e0
mov qword [rsp + 0x58], rax
test rax, rax
je 0x140121a0b
mov r13d, 0x1000
mov edx, dword [rax + 0xc]
test edx, edx
je 0x140121a0b
lea rcx, [rsp + 0x60]
call fcn.140125ac8
test rax, rax
je 0x1401219f3
cmp byte [rax], dil
je 0x1401219f3
mov qword [rsp + 0xc8], rdi
mov qword [rsp + 0xd8], rdi
mov qword [rsp + 0xe0], 0xf
mov byte [rsp + 0xc8], dil
mov rdx, rax
lea rcx, [rsp + 0xc8]
call fcn.1400694e0
nop
lea r8, [rsp + 0xc8]
lea rdx, [rsp + 0x240]
mov rcx, r14
call fcn.14011fcd4
mov r14, qword [rsp + 0x250]
cmp byte [r14 + 0x19], dil
jne 0x140120f00
lea rdx, [r14 + 0x20]
cmp qword [r14 + 0x38], 0x10
jb 0x140120e5f
mov rdx, qword [r14 + 0x20]
lea rcx, [rsp + 0xc8]
mov rbx, qword [rsp + 0xc8]
mov r13, qword [rsp + 0xe0]
cmp r13, 0x10
cmovae rcx, rbx
mov r12, qword [r14 + 0x30]
mov r15, qword [rsp + 0xd8]
mov r8, r15
cmp r12, r15
cmovb r8, r12
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140120ead
cmp r15, r12
jae 0x140120ea8
or eax, 0xffffffff
jmp 0x140120ead
mov eax, edi
seta al
shr eax, 0x1f
mov rcx, qword [rsp + 0x40]
test al, al
jne 0x140120f07
cmp qword [rcx], r14
je 0x140120f07
cmp r13, 0x10
jb 0x1401219e3
lea rdx, [r13 + 1]
mov rax, rbx
mov r13d, 0x1000
cmp rdx, r13
jb 0x140120ef3
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401219d5
mov rcx, rbx
call fcn.140126380
jmp 0x1401219e9
mov rcx, qword [rsp + 0x40]
jmp 0x140120f17
mov r13d, 0x1000
mov r12, qword [rsp + 0x50]
mov r15, qword [rsp + 0x48]
lea r8, [rsp + 0xc8]
lea rdx, [rsp + 0x98]
call fcn.14011fa74
lea rdx, [rsp + 0xc8]
cmp qword [rsp + 0xe0], 0x10
cmovae rdx, qword [rsp + 0xc8]
lea rax, [rsp + 0x138]
mov qword [rsp + 0x130], rax
mov r8d, 3
lea rcx, [rsp + 0x130]
call fcn.140120218
nop
mov qword [rsp + 0xa8], rdi
mov qword [rsp + 0xb8], rdi
mov qword [rsp + 0xc0], 7
mov word [rsp + 0xa8], di
mov rdx, qword [rsp + 0x130]
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], di
jne 0x140120f9a
lea rcx, [rsp + 0xa8]
call fcn.1400692d0
nop
lea rax, [rsp + 0x138]
mov rcx, qword [rsp + 0x130]
cmp rcx, rax
je 0x140120fcd
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea r8, [rsp + 0xa8]
mov rdx, r15
lea rcx, [rsp + 0xe8]
call fcn.14011f92c
nop
lea rcx, [rsp + 0xe8]
cmp qword [rsp + 0x100], 8
cmovae rcx, qword [rsp + 0xe8]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov r14d, eax
lea rbx, [rsp + 0xa8]
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0xc0]
cmp rcx, 8
cmovae rbx, rdx
test rbx, rbx
je 0x1401211aa
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x2b0]
call sub.VCRUNTIME140.dll_memset
mov r8, rbx
mov edx, 0x103
lea rcx, [rsp + 0x2b0]
call fcn.14012043c
mov edx, 0x104
lea rcx, [rsp + 0x2b0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsupr_s]
movups xmm0, xmmword [str.API_MS_WIN_]
movups xmmword [rsp + 0x240], xmm0
movsd xmm1, qword [0x14018a2b0]
movsd qword [rsp + 0x250], xmm1
movups xmm0, xmmword [str.MSVCP140]
movups xmmword [rsp + 0x258], xmm0
movzx eax, word [0x14018a2c8]
mov word [rsp + 0x268], ax
movups xmm0, xmmword [str.VCRUNTIME140]
movups xmmword [rsp + 0x270], xmm0
movsd xmm1, qword [0x14018a2e0]
movsd qword [rsp + 0x280], xmm1
movzx eax, word [0x14018a2e8]
mov word [rsp + 0x288], ax
movups xmm0, xmmword [str.UCRTBASE.DLL]
movups xmmword [rsp + 0x290], xmm0
movsd xmm1, qword [0x14018a218]
movsd qword [rsp + 0x2a0], xmm1
movzx eax, word [0x14018a220]
mov word [rsp + 0x2a8], ax
mov r8d, 0xb
lea rdx, [rsp + 0x240]
lea rcx, [rsp + 0x2b0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
test eax, eax
je 0x14012124a
mov r8d, 8
lea rdx, [rsp + 0x258]
lea rcx, [rsp + 0x2b0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
test eax, eax
je 0x14012124a
mov ebx, 0xc
mov r8d, ebx
lea rdx, [rsp + 0x270]
lea rcx, [rsp + 0x2b0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
test eax, eax
je 0x14012124a
mov r8d, ebx
lea rdx, [rsp + 0x290]
lea rcx, [rsp + 0x2b0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
test eax, eax
je 0x14012124a
mov rcx, qword [rsp + 0xc0]
mov rdx, qword [rsp + 0xa8]
lea rbx, [rsp + 0xa8]
cmp rcx, 8
jb 0x1401211c4
mov rbx, rdx
test rdx, rdx
je 0x140121556
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x4c0]
call sub.VCRUNTIME140.dll_memset
mov r8, rbx
mov edx, 0x103
lea rcx, [rsp + 0x4c0]
call fcn.14012043c
mov edx, 0x104
lea rcx, [rsp + 0x4c0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsupr_s]
mov r10d, 0x1e
mov r8d, edi
lea eax, [r8 + r10]
cdq
sub eax, edx
sar eax, 1
movsxd r11, eax
lea r9, section..data
lea rdx, [rsp + 0x4c0]
mov r9, qword [r9 + r11*8]
sub r9, rdx
movzx ecx, word [rdx]
cmp cx, word [rdx + r9]
jne 0x14012152d
add rdx, 2
test cx, cx
jne 0x14012122c
mov ecx, edi
jmp 0x140121532
cmp r14d, 0xffffffff
jne 0x1401213a4
lea rcx, [rsp + 0xa8]
cmp qword [rsp + 0xc0], 8
cmovae rcx, qword [rsp + 0xa8]
call fcn.140123808
test al, al
jne 0x14012192e
lea rcx, [rsp + 0xe8]
call fcn.140069260
nop
mov rdx, qword [rsp + 0xc0]
cmp rdx, 8
jb 0x1401212cd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xa8]
mov rax, rcx
cmp rdx, r13
jb 0x1401212c8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140121977
call fcn.140126380
mov qword [rsp + 0xb8], rdi
mov qword [rsp + 0xc0], 7
mov word [rsp + 0xa8], di
mov rdx, qword [rsp + 0xe0]
cmp rdx, 0x10
jb 0x140121328
inc rdx
mov rcx, qword [rsp + 0xc8]
mov rax, rcx
cmp rdx, r13
jb 0x140121323
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401219d5
call fcn.140126380
mov qword [rsp + 0xd8], rdi
mov qword [rsp + 0xe0], 0xf
mov byte [rsp + 0xc8], dil
lea rcx, [rsp + 0x108]
call fcn.140069260
nop
lea rcx, [rsp + 0x60]
call fcn.140125808
nop
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx + 8]
mov qword [rax], rdi
mov r14, qword [rcx]
test r14, r14
je 0x140121390
mov rbx, qword [r14]
lea rcx, [r14 + 0x10]
call fcn.140069260
mov rdx, rsi
mov rcx, r14
call fcn.140126380
mov r14, rbx
test rbx, rbx
jne 0x140121371
mov rdx, rsi
mov rcx, qword [rsp + 0x30]
call fcn.140126380
xor al, al
jmp 0x140121b26
cmp dword [rsp + 0x740], edi
jne 0x14012192e
lea rdx, [rsp + 0xe8]
cmp qword [rsp + 0x100], 8
cmovae rdx, qword [rsp + 0xe8]
lea r9, str.Microsoft_Corporation
mov r8d, 1
mov rcx, r12
call fcn.1401208ac
test al, al
jne 0x140121511
lea rcx, [rsp + 0xe8]
call fcn.140069260
nop
mov rdx, qword [rsp + 0xc0]
cmp rdx, 8
jb 0x14012143a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xa8]
mov rax, rcx
cmp rdx, r13
jb 0x140121435
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140121977
call fcn.140126380
mov qword [rsp + 0xb8], rdi
mov qword [rsp + 0xc0], 7
mov word [rsp + 0xa8], di
mov rdx, qword [rsp + 0xe0]
cmp rdx, 0x10
jb 0x140121495
inc rdx
mov rcx, qword [rsp + 0xc8]
mov rax, rcx
cmp rdx, r13
jb 0x140121490
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401219d5
call fcn.140126380
mov qword [rsp + 0xd8], rdi
mov qword [rsp + 0xe0], 0xf
mov byte [rsp + 0xc8], dil
lea rcx, [rsp + 0x108]
call fcn.140069260
nop
lea rcx, [rsp + 0x60]
call fcn.140125808
nop
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx + 8]
mov qword [rax], rdi
mov r14, qword [rcx]
test r14, r14
je 0x1401214fd
mov rbx, qword [r14]
lea rcx, [r14 + 0x10]
call fcn.140069260
mov rdx, rsi
mov rcx, r14
call fcn.140126380
mov r14, rbx
test rbx, rbx
jne 0x1401214de
mov rdx, rsi
mov rcx, qword [rsp + 0x30]
call fcn.140126380
xor al, al
jmp 0x140121b26
lea r8, [rsp + 0xa8]
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
call fcn.14011fb60
jmp 0x14012192e
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x140121689
lea eax, [r11 + 1]
cmovns r8d, eax
lea eax, [r11 - 1]
cmovns eax, r10d
mov r10d, eax
cmp r8d, eax
jle 0x14012120a
cmp r14d, 0xffffffff
je 0x14012192e
lea rcx, [rsp + 0xe8]
call fcn.140069260
nop
mov rdx, qword [rsp + 0xc0]
cmp rdx, 8
jb 0x1401215b2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xa8]
mov rax, rcx
cmp rdx, r13
jb 0x1401215ad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140121977
call fcn.140126380
mov qword [rsp + 0xb8], rdi
mov qword [rsp + 0xc0], 7
mov word [rsp + 0xa8], di
mov rdx, qword [rsp + 0xe0]
cmp rdx, 0x10
jb 0x14012160d
inc rdx
mov rcx, qword [rsp + 0xc8]
mov rax, rcx
cmp rdx, r13
jb 0x140121608
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401219d5
call fcn.140126380
mov qword [rsp + 0xd8], rdi
mov qword [rsp + 0xe0], 0xf
mov byte [rsp + 0xc8], dil
lea rcx, [rsp + 0x108]
call fcn.140069260
nop
lea rcx, [rsp + 0x60]
call fcn.140125808
nop
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx + 8]
mov qword [rax], rdi
mov r14, qword [rcx]
test r14, r14
je 0x140121675
mov rbx, qword [r14]
lea rcx, [r14 + 0x10]
call fcn.140069260
mov rdx, rsi
mov rcx, r14
call fcn.140126380
mov r14, rbx
test rbx, rbx
jne 0x140121656
mov rdx, rsi
mov rcx, qword [rsp + 0x30]
call fcn.140126380
xor al, al
jmp 0x140121b26
cmp r14d, 0xffffffff
jne 0x1401217bc
lea rcx, [rsp + 0xe8]
call fcn.140069260
nop
mov rdx, qword [rsp + 0xc0]
cmp rdx, 8
jb 0x1401216e5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xa8]
mov rax, rcx
cmp rdx, r13
jb 0x1401216e0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140121977
call fcn.140126380
mov qword [rsp + 0xb8], rdi
mov qword [rsp + 0xc0], 7
mov word [rsp + 0xa8], di
mov rdx, qword [rsp + 0xe0]
cmp rdx, 0x10
jb 0x140121740
inc rdx
mov rcx, qword [rsp + 0xc8]
mov rax, rcx
cmp rdx, r13
jb 0x14012173b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401219d5
call fcn.140126380
mov qword [rsp + 0xd8], rdi
mov qword [rsp + 0xe0], 0xf
mov byte [rsp + 0xc8], dil
lea rcx, [rsp + 0x108]
call fcn.140069260
nop
lea rcx, [rsp + 0x60]
call fcn.140125808
nop
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx + 8]
mov qword [rax], rdi
mov r14, qword [rcx]
test r14, r14
je 0x1401217a8
mov rbx, qword [r14]
lea rcx, [r14 + 0x10]
call fcn.140069260
mov rdx, rsi
mov rcx, r14
call fcn.140126380
mov r14, rbx
test rbx, rbx
jne 0x140121789
mov rdx, rsi
mov rcx, qword [rsp + 0x30]
call fcn.140126380
xor al, al
jmp 0x140121b26
lea rdx, [rsp + 0xe8]
cmp qword [rsp + 0x100], 8
cmovae rdx, qword [rsp + 0xe8]
xor r9d, r9d
lea r8d, [r9 + 1]
mov rcx, r12
call fcn.1401208ac
test al, al
jne 0x140121916
lea rcx, [rsp + 0xe8]
call fcn.140069260
nop
mov rdx, qword [rsp + 0xc0]
cmp rdx, 8
jb 0x14012183f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xa8]
mov rax, rcx
cmp rdx, r13
jb 0x14012183a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140121977
call fcn.140126380
mov qword [rsp + 0xb8], rdi
mov qword [rsp + 0xc0], 7
mov word [rsp + 0xa8], di
mov rdx, qword [rsp + 0xe0]
cmp rdx, 0x10
jb 0x14012189a
inc rdx
mov rcx, qword [rsp + 0xc8]
mov rax, rcx
cmp rdx, r13
jb 0x140121895
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401219d5
call fcn.140126380
mov qword [rsp + 0xd8], rdi
mov qword [rsp + 0xe0], 0xf
mov byte [rsp + 0xc8], dil
lea rcx, [rsp + 0x108]
call fcn.140069260
nop
lea rcx, [rsp + 0x60]
call fcn.140125808
nop
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx + 8]
mov qword [rax], rdi
mov r14, qword [rcx]
test r14, r14
je 0x140121902
mov rbx, qword [r14]
lea rcx, [r14 + 0x10]
call fcn.140069260
mov rdx, rsi
mov rcx, r14
call fcn.140126380
mov r14, rbx
test rbx, rbx
jne 0x1401218e3
mov rdx, rsi
mov rcx, qword [rsp + 0x30]
call fcn.140126380
xor al, al
jmp 0x140121b26
lea r8, [rsp + 0xa8]
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
call fcn.14011fb60
nop
lea rcx, [rsp + 0xe8]
call fcn.140069260
nop
mov rdx, qword [rsp + 0xc0]
cmp rdx, 8
jb 0x140121983
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xa8]
mov rax, rcx
cmp rdx, r13
jb 0x14012197e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14012197e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140126380
mov qword [rsp + 0xb8], rdi
mov qword [rsp + 0xc0], 7
mov word [rsp + 0xa8], di
mov rdx, qword [rsp + 0xe0]
cmp rdx, 0x10
jb 0x1401219ee
inc rdx
mov rcx, qword [rsp + 0xc8]
mov rax, rcx
cmp rdx, r13
jb 0x1401219dc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401219dc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140126380
jmp 0x1401219ee
mov r13d, 0x1000
mov r15, qword [rsp + 0x48]
mov r14, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
add rax, 0x14
mov qword [rsp + 0x58], rax
mov r12, qword [rsp + 0x50]
jmp 0x140120dca
lea rcx, [rsp + 0x108]
call fcn.140069260
nop
mov rax, qword [rsp + 0x30]
mov rbx, qword [rax]
cmp rbx, rax
je 0x140121a5e
lea rdx, [rbx + 0x10]
cmp qword [rdx + 0x18], 8
jb 0x140121a34
mov rdx, qword [rdx]
mov eax, dword [rsp + 0x740]
mov dword [rsp + 0x20], eax
mov r9, r14
mov r8, r15
mov rcx, r12
call fcn.140120c90
test al, al
je 0x140121a94
mov rax, qword [rbx]
mov rbx, rax
cmp rax, qword [rsp + 0x30]
jne 0x140121a26
lea rcx, [rsp + 0x60]
call fcn.140125808
nop
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
call fcn.14011f650
mov r8d, 1
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
call fcn.14006e210
mov al, 1
jmp 0x140121b26
lea rcx, [rsp + 0x60]
call fcn.140125808
nop
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx + 8]
mov qword [rax], rdi
mov r14, qword [rcx]
test r14, r14
je 0x140121b17
mov rbx, qword [r14]
lea rcx, [r14 + 0x10]
call fcn.140069260
mov rdx, rsi
mov rcx, r14
call fcn.140126380
mov r14, rbx
test rbx, rbx
jne 0x140121ab3
jmp 0x140121b17
mov rdx, rsi
mov rcx, qword [rsp + 0x30]
call fcn.140126380
xor al, al
mov rcx, qword [rsp + 0x6d0]
xor rcx, rsp
call fcn.140126360
add rsp, 0x6e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret