Function at 0x14002e990
Capabilities:
Set file attributes

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x120
mov qword [rsp + 0xb8], 0xfffffffffffffffe
mov rax, qword [0x14005bd60]
xor rax, rsp
mov qword [rsp + 0x110], rax
xor eax, eax
mov word [rsp + 0xd0], ax
lea rax, [rsp + 0xd2]
mov rdi, rax
xor eax, eax
mov ecx, 0x3e
rep stosb byte [rdi], al
mov dword [rsp + 0x5c], 0x40
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x5c]
lea r8, [rsp + 0xd0]
mov edx, 5
mov rcx, qword [rsp + 0x130]
call sub.mfc120u.dll_Ordinal_11868
lea rcx, [rsp + 0xd0]
call qword [sym.imp.MSVCR120.dll__wtol]
mov dword [rsp + 0x44], eax
mov byte [rsp + 0x30], 0
mov dword [rsp + 0x48], 0xffffffff
cmp qword [rsp + 0x138], 0
je 0x14002ea5b
lea rdx, [0x14004c6b4]
mov rcx, qword [rsp + 0x138]
call qword [sym.imp.MSVCR120.dll_wcscmp]
test eax, eax
je 0x14002ea5b
mov byte [rsp + 0x30], 1
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x14002ea8b
mov rcx, qword [rsp + 0x138]
call fcn.140008300
movzx eax, al
test eax, eax
je 0x14002ea8b
mov edx, 0x80
mov rcx, qword [rsp + 0x138]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov qword [rsp + 0x38], 0
lea rcx, [rsp + 0x90]
call sub.mfc120u.dll_Ordinal_488
nop
mov dword [rsp + 0x40], 0
lea rcx, [rsp + 0x78]
call sub.mfc120u.dll_Ordinal_320
nop
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x14002eb18
xor r9d, r9d
mov r8d, 0x1021
mov rdx, qword [rsp + 0x138]
lea rcx, [rsp + 0x90]
call sub.mfc120u.dll_Ordinal_11518
cmp eax, 1
je 0x14002eb18
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x58], eax
lea rcx, [rsp + 0x78]
call fcn.140025d70
nop
lea rcx, [rsp + 0x90]
call sub.mfc120u.dll_Ordinal_1117
nop
mov rcx, qword [rsp + reloc.mfc120u.dll_Ordinal_320]
call fcn.14002f680
mov eax, dword [rsp + 0x58]
jmp 0x14002ecda
mov ecx, 0x4000
call sub.mfc120u.dll_Ordinal_265
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x130]
mov rax, qword [rax]
mov r8d, 0x4000
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x130]
call qword [rax + 0x80]
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0
jbe 0x14002ec41
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x14002eb8c
mov r8d, dword [rsp + 0x4c]
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x90]
call sub.mfc120u.dll_Ordinal_14085
jmp 0x14002ebc1
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc120u.dll_Ordinal_294]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc120u.dll_Ordinal_1636]
mov edx, 4
mov rcx, rax
call fcn.140016d40
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
mov eax, dword [rsp + 0x4c]
mov ecx, dword [rsp + 0x40]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x130]
mov rax, qword [rax]
mov r8d, 0x4000
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x130]
call qword [rax + 0x80]
mov dword [rsp + 0x4c], eax
xor edx, edx
mov rcx, qword [rsp + reloc.mfc120u.dll_Ordinal_320]
call fcn.14002f250
movzx eax, al
test eax, eax
je 0x14002ec3c
cmp dword [rsp + 0x44], 0
je 0x14002ec3c
imul eax, dword [rsp + 0x40], 0x64
cdq
idiv dword [rsp + 0x44]
mov edx, eax
mov rcx, qword [rsp + reloc.mfc120u.dll_Ordinal_320]
call fcn.14002f860
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
je 0x14002ec3c
jmp 0x14002ec41
jmp 0x14002eb5f
cmp qword [rsp + 0x38], 0
je 0x14002ec66
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x70]
call sub.mfc120u.dll_Ordinal_266
mov qword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x14002ec7d
lea rcx, [rsp + 0x90]
call sub.mfc120u.dll_Ordinal_2759
nop
jmp 0x14002ec7f
lea rcx, [rsp + 0x78]
call fcn.140025d70
cmp dword [rsp + 0x44], 0
jne 0x14002ec97
cmp dword [rsp + 0x40], 0
jne 0x14002ecab
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x40], eax
je 0x14002ecab
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x50], eax
jmp 0x14002ecb3
mov dword [rsp + 0x50], 0
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x54], eax
lea rcx, [rsp + 0x90]
call sub.mfc120u.dll_Ordinal_1117
nop
mov rcx, qword [rsp + reloc.mfc120u.dll_Ordinal_320]
call fcn.14002f680
mov eax, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.140029b50
add rsp, 0x120
pop rdi
ret