Function at 0x1400a5640
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 [0x1401f3f10]
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 0x1400a570b
lea rdx, [0x140163d0c]
mov rcx, qword [rsp + 0x138]
call qword [sym.imp.MSVCR120.dll_wcscmp]
test eax, eax
je 0x1400a570b
mov byte [rsp + 0x30], 1
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x1400a573b
mov rcx, qword [rsp + 0x138]
call fcn.140031be0
movzx eax, al
test eax, eax
je 0x1400a573b
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 0x1400a57c8
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 0x1400a57c8
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x58], eax
lea rcx, [rsp + 0x78]
call fcn.140071ba0
nop
lea rcx, [rsp + 0x90]
call sub.mfc120u.dll_Ordinal_1117
nop
mov rcx, qword [rsp + reloc.mfc120u.dll_Ordinal_320]
call fcn.140074e50
mov eax, dword [rsp + 0x58]
jmp 0x1400a598a
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 0x1400a58f1
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x1400a583c
mov r8d, dword [rsp + 0x4c]
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x90]
call sub.mfc120u.dll_Ordinal_14085
jmp 0x1400a5871
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.140033690
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.1400a5f00
movzx eax, al
test eax, eax
je 0x1400a58ec
cmp dword [rsp + 0x44], 0
je 0x1400a58ec
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.1400a60e0
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
je 0x1400a58ec
jmp 0x1400a58f1
jmp 0x1400a580f
cmp qword [rsp + 0x38], 0
je 0x1400a5916
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 0x1400a592d
lea rcx, [rsp + 0x90]
call sub.mfc120u.dll_Ordinal_2759
nop
jmp 0x1400a592f
lea rcx, [rsp + 0x78]
call fcn.140071ba0
cmp dword [rsp + 0x44], 0
jne 0x1400a5947
cmp dword [rsp + 0x40], 0
jne 0x1400a595b
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x40], eax
je 0x1400a595b
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x50], eax
jmp 0x1400a5963
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.140074e50
mov eax, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.14010f170
add rsp, 0x120
pop rdi
ret