Function at 0x140076e3c
Capabilities:
Get file attributes

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x3c0
mov rax, qword [0x1400dbc58]
xor rax, rsp
mov qword [rsp + 0x3b0], rax
mov r12, r9
mov r14, r8
mov rbx, rdx
mov qword [rsp + 0x58], rcx
xor edi, edi
mov dword [rsp + 0x54], edi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
and al, 0x40
lea esi, [rdi + 0x30]
mov ecx, esi
call fcn.14007e9c8
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x60]
call fcn.1400791ac
nop
mov r8, rbx
mov rdx, r14
lea rcx, [rsp + 0x108]
call fcn.14000e020
nop
lea rdx, [rsp + 0x108]
cmp qword [rsp + 0x120], 8
cmovae rdx, qword [rsp + 0x108]
lea rcx, [rsp + 0x60]
call fcn.1400792b4
test al, al
jne 0x140076f3b
lea rcx, [rsp + 0x108]
call fcn.1400023d0
nop
lea rcx, [rsp + 0x60]
call fcn.1400791c0
nop
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx + 8]
mov qword [rax], rdi
mov r14, qword [rcx]
test r14, r14
je 0x140076f27
mov rbx, qword [r14]
lea rcx, [r14 + 0x10]
call fcn.1400023d0
mov rdx, rsi
mov rcx, r14
call fcn.14007e34c
mov r14, rbx
test rbx, rbx
jne 0x140076f08
mov rdx, rsi
mov rcx, qword [rsp + 0x40]
call fcn.14007e34c
xor al, al
jmp 0x140077ca3
lea rcx, [rsp + 0x60]
call fcn.140079264
mov r15, rax
mov r13d, dword [rsp + 0x420]
test rax, rax
je 0x140077b70
mov edx, dword [r15 + 0xc]
test edx, edx
je 0x140077b70
lea rcx, [rsp + 0x60]
call fcn.140079440
test rax, rax
je 0x14007703a
cmp byte [rax], dil
je 0x14007703a
mov qword [rsp + 0xc8], rdi
mov qword [rsp + 0xd8], rdi
mov qword [rsp + 0xe0], Ordinal_16
mov byte [rsp + 0xc8], dil
mov rdx, rax
lea rcx, [rsp + 0xc8]
call fcn.14000dbc0
nop
lea r8, [rsp + 0xc8]
lea rdx, [rsp + 0x128]
mov rcx, r12
call fcn.140039d90
mov rbx, qword [rsp + 0x138]
cmp byte [rbx + 0x19], dil
jne 0x140077043
lea rdx, [rbx + 0x20]
lea rcx, [rsp + 0xc8]
call fcn.14003997c
test al, al
jne 0x140077043
cmp qword [r12], rbx
je 0x140077043
mov rdx, qword [rsp + 0xe0]
cmp rdx, 0x10
jb 0x14007703a
inc rdx
mov rcx, qword [rsp + 0xc8]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140077035
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140077b69
call fcn.14007e34c
add r15, 0x14
jmp 0x140076f59
lea r8, [rsp + 0xc8]
lea rdx, [rsp + 0x98]
mov rcx, r12
call fcn.1400761a0
lea rdx, [rsp + 0xc8]
cmp qword [rsp + 0xe0], 0x10
cmovae rdx, qword [rsp + 0xc8]
lea rax, [rsp + 0x1a8]
mov qword [rsp + 0x1a0], rax
mov r8d, 3
lea rcx, [rsp + 0x1a0]
call fcn.14003a3b0
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 + 0x1a0]
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], di
jne 0x1400770c9
lea rcx, [rsp + 0xa8]
call fcn.1400022b0
nop
lea rax, [rsp + 0x1a8]
mov rcx, qword [rsp + 0x1a0]
cmp rcx, rax
je 0x1400770fc
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [r14 + 0x10]
movabs rax, 0x7ffffffffffffffe
sub rax, rcx
mov rdx, qword [rsp + 0xb8]
cmp rax, rdx
jb 0x140077cc6
mov r9, r14
cmp qword [r14 + 0x18], 8
jb 0x14007712b
mov r9, qword [r14]
lea rax, [rsp + 0xa8]
cmp qword [rsp + 0xc0], 8
cmovae rax, qword [rsp + 0xa8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov r8, r14
mov dl, byte [rsp + 0x50]
lea rcx, [rsp + 0xe8]
call fcn.14000e9b0
or dword [rsp + 0x54], 1
lea rcx, [rsp + 0xe8]
cmp qword [rsp + 0x100], 8
cmovae rcx, qword [rsp + 0xe8]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
lea rcx, [rsp + 0xa8]
mov r8, qword [rsp + 0xa8]
mov r9, qword [rsp + 0xc0]
cmp r9, 8
cmovae rcx, r8
test rcx, rcx
je 0x140077617
mov r8d, 0x103
lea rdx, [rsp + 0x1a0]
lea rax, [rsp + 0x1a0]
sub rcx, rax
lea rax, [r8 + 0x7ffffefb]
test rax, rax
je 0x1400771f3
movzx eax, word [rdx + rcx]
test ax, ax
je 0x1400771f3
mov word [rdx], ax
add rdx, 2
sub r8, 1
jne 0x1400771d1
lea rax, [rdx - 2]
test r8, r8
cmovne rax, rdx
mov word [rax], di
mov edx, 0x104
lea rcx, [rsp + 0x1a0]
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 + 0x128], xmm0
movsd xmm1, qword [0x1400c2e68]
movsd qword [rsp + 0x138], xmm1
movups xmm0, xmmword [str.MSVCP140]
movups xmmword [rsp + 0x140], xmm0
movzx eax, word [0x1400c2e80]
mov word [rsp + 0x150], ax
movups xmm0, xmmword [str.VCRUNTIME140]
movups xmmword [rsp + 0x158], xmm0
movsd xmm1, qword [0x1400c2e98]
movsd qword [rsp + 0x168], xmm1
movzx eax, word [0x1400c2ea0]
mov word [rsp + 0x170], ax
movups xmm0, xmmword [str.UCRTBASE.DLL]
movups xmmword [rsp + 0x178], xmm0
movsd xmm1, qword [0x1400c2dd0]
movsd qword [rsp + 0x188], xmm1
movzx eax, word [0x1400c2dd8]
mov word [rsp + 0x190], ax
mov r8d, reloc.zCrashReport64.dll_Ordinal_11
lea rdx, [rsp + 0x128]
lea rcx, [rsp + 0x1a0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
test eax, eax
je 0x140077345
mov r8d, 8
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x1a0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
test eax, eax
je 0x140077345
mov r8d, Ordinal_16
lea rdx, [rsp + 0x158]
lea rcx, [rsp + 0x1a0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
test eax, eax
je 0x140077345
mov r8d, Ordinal_16
lea rdx, [rsp + 0x178]
lea rcx, [rsp + 0x1a0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
test eax, eax
je 0x140077345
mov r9, qword [rsp + 0xc0]
mov r8, qword [rsp + 0xa8]
jmp 0x140077617
cmp ebx, 0xffffffff
jne 0x1400774a6
lea rcx, [rsp + 0xa8]
cmp qword [rsp + 0xc0], 8
cmovae rcx, qword [rsp + 0xa8]
call fcn.14006f7f4
test al, al
jne 0x14007782d
lea rcx, [rsp + 0xe8]
call fcn.1400023d0
nop
mov rdx, qword [rsp + 0xc0]
cmp rdx, 8
jb 0x1400773cb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400773c6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140077886
call fcn.14007e34c
mov qword [rsp + 0xb8], rdi
mov qword [rsp + 0xc0], 7
mov word [rsp + 0xa8], di
mov rdx, qword [rsp + 0xe0]
cmp rdx, 0x10
jb 0x14007742a
inc rdx
mov rcx, qword [rsp + 0xc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140077425
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140077b69
call fcn.14007e34c
mov qword [rsp + 0xd8], rdi
mov qword [rsp + 0xe0], Ordinal_16
mov byte [rsp + 0xc8], dil
lea rcx, [rsp + 0x108]
call fcn.1400023d0
nop
lea rcx, [rsp + 0x60]
call fcn.1400791c0
nop
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx + 8]
mov qword [rax], rdi
mov r14, qword [rcx]
test r14, r14
je 0x140077492
mov rbx, qword [r14]
lea rcx, [r14 + 0x10]
call fcn.1400023d0
mov rdx, rsi
mov rcx, r14
call fcn.14007e34c
mov r14, rbx
test rbx, rbx
jne 0x140077473
mov rdx, rsi
mov rcx, qword [rsp + 0x40]
call fcn.14007e34c
xor al, al
jmp 0x140077ca3
test r13d, r13d
jne 0x14007782d
lea rdx, [rsp + 0xe8]
cmp qword [rsp + 0x100], 8
cmovae rdx, qword [rsp + 0xe8]
lea r9, str.Microsoft_Corporation
lea r8d, [r13 + 1]
mov rcx, qword [rsp + 0x58]
call fcn.140076a80
test al, al
jne 0x140077b27
lea rcx, [rsp + 0xe8]
call fcn.1400023d0
nop
mov rdx, qword [rsp + 0xc0]
cmp rdx, 8
jb 0x14007753c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140077537
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140077886
call fcn.14007e34c
mov qword [rsp + 0xb8], rdi
mov qword [rsp + 0xc0], 7
mov word [rsp + 0xa8], di
mov rdx, qword [rsp + 0xe0]
cmp rdx, 0x10
jb 0x14007759b
inc rdx
mov rcx, qword [rsp + 0xc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140077596
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140077b69
call fcn.14007e34c
mov qword [rsp + 0xd8], rdi
mov qword [rsp + 0xe0], Ordinal_16
mov byte [rsp + 0xc8], dil
lea rcx, [rsp + 0x108]
call fcn.1400023d0
nop
lea rcx, [rsp + 0x60]
call fcn.1400791c0
nop
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx + 8]
mov qword [rax], rdi
mov r14, qword [rcx]
test r14, r14
je 0x140077603
mov rbx, qword [r14]
lea rcx, [r14 + 0x10]
call fcn.1400023d0
mov rdx, rsi
mov rcx, r14
call fcn.14007e34c
mov r14, rbx
test rbx, rbx
jne 0x1400775e4
mov rdx, rsi
mov rcx, qword [rsp + 0x40]
call fcn.14007e34c
xor al, al
jmp 0x140077ca3
lea rdx, [rsp + 0xa8]
cmp r9, 8
cmovae rdx, r8
test rdx, rdx
je 0x1400776f3
mov r8d, 0x103
lea rcx, [rsp + 0x1a0]
lea rax, [rsp + 0x1a0]
sub rdx, rax
lea rax, [r8 + 0x7ffffefb]
test rax, rax
je 0x14007766b
movzx eax, word [rcx + rdx]
test ax, ax
je 0x14007766b
mov word [rcx], ax
add rcx, 2
sub r8, 1
jne 0x140077649
lea rax, [rcx - 2]
test r8, r8
cmovne rax, rcx
mov word [rax], di
mov edx, 0x104
lea rcx, [rsp + 0x1a0]
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, str.AVCODEC_ZM_58.DLL
lea rdx, [rsp + 0x1a0]
mov r9, qword [r9 + r11*8]
sub r9, rdx
movzx ecx, word [rdx]
cmp cx, word [rdx + r9]
jne 0x1400776ce
add rdx, 2
test cx, cx
jne 0x1400776b7
mov ecx, edi
jmp 0x1400776d3
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x14007788d
lea eax, [r11 + 1]
cmovns r8d, eax
lea eax, [r11 - 1]
cmovns eax, r10d
mov r10d, eax
cmp r8d, eax
jle 0x140077695
cmp ebx, 0xffffffff
je 0x14007782d
lea rcx, [rsp + 0xe8]
call fcn.1400023d0
nop
mov rdx, qword [rsp + 0xc0]
cmp rdx, 8
jb 0x140077752
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007774d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140077886
call fcn.14007e34c
mov qword [rsp + 0xb8], rdi
mov qword [rsp + 0xc0], 7
mov word [rsp + 0xa8], di
mov rdx, qword [rsp + 0xe0]
cmp rdx, 0x10
jb 0x1400777b1
inc rdx
mov rcx, qword [rsp + 0xc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400777ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140077b69
call fcn.14007e34c
mov qword [rsp + 0xd8], rdi
mov qword [rsp + 0xe0], Ordinal_16
mov byte [rsp + 0xc8], dil
lea rcx, [rsp + 0x108]
call fcn.1400023d0
nop
lea rcx, [rsp + 0x60]
call fcn.1400791c0
nop
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx + 8]
mov qword [rax], rdi
mov r14, qword [rcx]
test r14, r14
je 0x140077819
mov rbx, qword [r14]
lea rcx, [r14 + 0x10]
call fcn.1400023d0
mov rdx, rsi
mov rcx, r14
call fcn.14007e34c
mov r14, rbx
test rbx, rbx
jne 0x1400777fa
mov rdx, rsi
mov rcx, qword [rsp + 0x40]
call fcn.14007e34c
xor al, al
jmp 0x140077ca3
lea rcx, [rsp + 0xe8]
call fcn.1400023d0
nop
mov rdx, qword [rsp + 0xc0]
cmp rdx, 8
jb 0x140077b48
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140077b43
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140077b43
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
cmp ebx, 0xffffffff
jne 0x1400779c3
lea rcx, [rsp + 0xe8]
call fcn.1400023d0
nop
mov rdx, qword [rsp + 0xc0]
cmp rdx, 8
jb 0x1400778e8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400778e3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140077886
call fcn.14007e34c
mov qword [rsp + 0xb8], rdi
mov qword [rsp + 0xc0], 7
mov word [rsp + 0xa8], di
mov rdx, qword [rsp + 0xe0]
cmp rdx, 0x10
jb 0x140077947
inc rdx
mov rcx, qword [rsp + 0xc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140077942
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140077b69
call fcn.14007e34c
mov qword [rsp + 0xd8], rdi
mov qword [rsp + 0xe0], Ordinal_16
mov byte [rsp + 0xc8], dil
lea rcx, [rsp + 0x108]
call fcn.1400023d0
nop
lea rcx, [rsp + 0x60]
call fcn.1400791c0
nop
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx + 8]
mov qword [rax], rdi
mov r14, qword [rcx]
test r14, r14
je 0x1400779af
mov rbx, qword [r14]
lea rcx, [r14 + 0x10]
call fcn.1400023d0
mov rdx, rsi
mov rcx, r14
call fcn.14007e34c
mov r14, rbx
test rbx, rbx
jne 0x140077990
mov rdx, rsi
mov rcx, qword [rsp + 0x40]
call fcn.14007e34c
xor al, al
jmp 0x140077ca3
lea rdx, [rsp + 0xe8]
cmp qword [rsp + 0x100], 8
cmovae rdx, qword [rsp + 0xe8]
xor r9d, r9d
lea r8d, [r9 + 1]
mov rcx, qword [rsp + 0x58]
call fcn.140076a80
test al, al
jne 0x140077b27
lea rcx, [rsp + 0xe8]
call fcn.1400023d0
nop
mov rdx, qword [rsp + 0xc0]
cmp rdx, 8
jb 0x140077a4c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140077a47
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140077886
call fcn.14007e34c
mov qword [rsp + 0xb8], rdi
mov qword [rsp + 0xc0], 7
mov word [rsp + 0xa8], di
mov rdx, qword [rsp + 0xe0]
cmp rdx, 0x10
jb 0x140077aab
inc rdx
mov rcx, qword [rsp + 0xc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140077aa6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140077b69
call fcn.14007e34c
mov qword [rsp + 0xd8], rdi
mov qword [rsp + 0xe0], Ordinal_16
mov byte [rsp + 0xc8], dil
lea rcx, [rsp + 0x108]
call fcn.1400023d0
nop
lea rcx, [rsp + 0x60]
call fcn.1400791c0
nop
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx + 8]
mov qword [rax], rdi
mov r14, qword [rcx]
test r14, r14
je 0x140077b13
mov rbx, qword [r14]
lea rcx, [r14 + 0x10]
call fcn.1400023d0
mov rdx, rsi
mov rcx, r14
call fcn.14007e34c
mov r14, rbx
test rbx, rbx
jne 0x140077af4
mov rdx, rsi
mov rcx, qword [rsp + 0x40]
call fcn.14007e34c
xor al, al
jmp 0x140077ca3
lea r8, [rsp + 0xa8]
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.140076298
jmp 0x14007782d
call fcn.14007e34c
mov qword [rsp + 0xb8], rdi
mov qword [rsp + 0xc0], 7
mov word [rsp + 0xa8], di
jmp 0x140076ff7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, [rsp + 0x108]
call fcn.1400023d0
nop
mov rax, qword [rsp + 0x40]
mov rbx, qword [rax]
cmp rbx, rax
je 0x140077bbf
lea rdx, [rbx + 0x10]
cmp qword [rdx + 0x18], 8
jb 0x140077b99
mov rdx, qword [rdx]
mov dword [rsp + 0x20], r13d
mov r9, r12
mov r8, r14
mov rcx, qword [rsp + 0x58]
call fcn.140076e3c
test al, al
je 0x140077c11
mov rax, qword [rbx]
mov rbx, rax
cmp rax, qword [rsp + 0x40]
jne 0x140077b8b
lea rcx, [rsp + 0x60]
call fcn.1400791c0
nop
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx + 8]
mov qword [rax], rdi
mov r14, qword [rcx]
test r14, r14
je 0x140077bfd
mov rbx, qword [r14]
lea rcx, [r14 + 0x10]
call fcn.1400023d0
mov rdx, rsi
mov rcx, r14
call fcn.14007e34c
mov r14, rbx
test rbx, rbx
jne 0x140077bde
mov rdx, rsi
mov rcx, qword [rsp + 0x40]
call fcn.14007e34c
mov al, 1
jmp 0x140077ca3
lea rcx, [rsp + 0x60]
call fcn.1400791c0
nop
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx + 8]
mov qword [rax], rdi
mov r14, qword [rcx]
test r14, r14
je 0x140077c94
mov rbx, qword [r14]
lea rcx, [r14 + 0x10]
call fcn.1400023d0
mov rdx, rsi
mov rcx, r14
call fcn.14007e34c
mov r14, rbx
test rbx, rbx
jne 0x140077c30
jmp 0x140077c94
mov rdx, rsi
mov rcx, qword [rsp + 0x40]
call fcn.14007e34c
xor al, al
mov rcx, qword [rsp + 0x3b0]
xor rcx, rsp
call fcn.14007e630
add rsp, 0x3c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
call fcn.140002620
nop
int3