Function at 0x1400166ea
Capabilities:
Create directory
Move file

Disassembly:
jmp 0x1400253b0
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
mov eax, 0x14d8
call fcn.14001622b
sub rsp, rax
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x3aa
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x14f8]
mov rax, qword [0x140074400]
xor rax, rbp
mov qword [rbp + 0x1498], rax
lea rcx, [0x14007ddd2]
call fcn.140016b68
nop
mov dword [rbp + 4], 0xc0000022
mov qword [rbp + 0xd78], 0
mov qword [rbp + 0xde8], 0
mov dword [rbp + 0xe24], 0
mov dword [rbp + 0xe44], 0
mov rax, qword [0x140074d18]
cmp dword [rax + 8], 0x23f0
jae 0x140025451
mov dword [rbp + 0x1494], 1
jmp 0x14002545b
mov dword [rbp + 0x1494], 0
mov eax, dword [rbp + 0x1494]
mov dword [rbp + 0xe64], eax
mov rax, qword [0x140074d18]
add rax, 0x68
mov rdx, rax
lea rcx, [rbp + 0x8b0]
call fcn.1400161f9
nop
lea rdx, str.assemblyNativeImages_
lea rcx, [rbp + 0x8b0]
call fcn.140016af0
nop
cmp dword [rbp + 0xe64], 0
je 0x1400254b5
lea rdx, str.v2.0.50727
lea rcx, [rbp + 0x8b0]
call fcn.140016af0
nop
jmp 0x1400254c9
lea rdx, str.v4.0.30319
lea rcx, [rbp + 0x8b0]
call fcn.140016af0
nop
lea rdx, [0x14004e638]
lea rcx, [rbp + 0x8b0]
call fcn.140016af0
nop
xor r9d, r9d
lea r8, [rbp + 0xe08]
lea rdx, [rbp + 0xde8]
lea rcx, [0x14004ee08]
call fcn.140016753
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
jge 0x14002550e
mov eax, dword [rbp + 0x24]
mov dword [rbp + 4], eax
jmp 0x14002579d
mov edx, 0x80
lea rcx, [rbp + 0xce0]
call fcn.140016825
nop
mov edx, InitCommonControls
lea rcx, [rbp + 0xdb8]
call fcn.140016825
nop
lea rdx, [rbp + 0xdb8]
lea rcx, [0x14004ee08]
call fcn.140016aaa
test eax, eax
jne 0x14002554e
jmp 0x14002579d
lea r8, [rbp + 0xce0]
mov edx, InitCommonControls
lea rcx, [rbp + 0xdb8]
call fcn.140016974
nop
lea r9, [rbp + 0xd78]
mov r8d, 1
mov edx, 4
lea rcx, [rbp + 0x8b0]
call fcn.140016c58
test eax, eax
jne 0x14002558e
jmp 0x14002579d
lea r9, str.D:PAI_A_OICI_FA___WD_
mov r8d, 1
mov edx, 4
lea rcx, [rbp + 0x8b0]
call fcn.140016c53
test eax, eax
jne 0x1400255b5
jmp 0x14002579d
mov dword [rbp + 0xe24], 1
lea rdx, [rbp + 0x8b0]
lea rcx, [rbp + 0x50]
call fcn.1400161f9
nop
lea rdx, str.MMCEx
lea rcx, [rbp + 0x50]
call fcn.140016af0
nop
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x480]
call fcn.1400161f9
nop
lea rdx, [0x14004ee60]
lea rcx, [rbp + 0x480]
call fcn.140016af0
nop
mov r8d, 9
lea rdx, [rbp + 0x480]
lea rcx, [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x140025626
jmp 0x14002579d
mov dword [rbp + 0xe44], 1
xor edx, edx
lea rcx, [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140025652
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140025652
jmp 0x14002579d
lea rcx, [rbp + 0x50]
call fcn.140016122
nop
lea rdx, [rbp + 0xce0]
lea rcx, [rbp + 0x50]
call fcn.140016af0
nop
xor edx, edx
lea rcx, [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14002568f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14002568f
jmp 0x14002579d
lea rcx, [rbp + 0x50]
call fcn.140016122
nop
lea rcx, [rbp + 0x50]
call fcn.1400162a3
mov qword [rbp + 0xd98], rax
lea rdx, str.MMCEx.ni.dll
lea rcx, [rbp + 0x50]
call fcn.140016af0
nop
mov r8d, dword [rbp + 0x14c8]
mov rdx, qword [rbp + 0x14c0]
lea rcx, [rbp + 0x50]
call fcn.14001612c
test eax, eax
jne 0x1400256da
jmp 0x14002579d
mov rax, qword [rbp + 0xd98]
shl rax, 1
mov qword [rbp + 0x1488], rax
cmp qword [rbp + 0x1488], 0x410
jae 0x1400256fa
jmp 0x140025700
call fcn.140016857
nop
xor eax, eax
mov rcx, qword [rbp + 0x1488]
mov word [rbp + rcx + 0x50], ax
lea rdx, str.MMCEx.ni.dll.aux
lea rcx, [rbp + 0x50]
call fcn.140016af0
nop
mov r8d, dword [rbp + 0xe08]
mov rdx, qword [rbp + 0xde8]
lea rcx, [rbp + 0x50]
call fcn.14001612c
test eax, eax
jne 0x14002573c
jmp 0x14002579d
mov rax, qword [0x140074d18]
add rax, 0x272
mov rdx, rax
lea rcx, [rbp + 0x50]
call fcn.1400161f9
nop
lea rdx, str.mmc.exe
lea rcx, [rbp + 0x50]
call fcn.140016af0
nop
mov dword [rsp + 0x20], 0x2ee0
mov r9d, 5
xor r8d, r8d
lea rdx, str.wf.msc
lea rcx, [rbp + 0x50]
call fcn.14001689d
test eax, eax
je 0x140025793
mov dword [rbp + 4], 0
xor eax, eax
test eax, eax
jne 0x140025467
cmp dword [rbp + 0xe44], 0
je 0x140025823
lea rdx, [rbp + 0x8b0]
lea rcx, [rbp + 0x50]
call fcn.1400161f9
nop
lea rdx, str.MMCEx
lea rcx, [rbp + 0x50]
call fcn.140016af0
nop
lea rcx, [rbp + 0x50]
call fcn.140016a69
nop
lea rdx, [0x14004ee60]
lea rcx, [rbp + 0x50]
call fcn.140016af0
nop
lea rdx, [rbp + 0x8b0]
lea rcx, [rbp + 0x480]
call fcn.1400161f9
nop
lea rdx, str.MMCEx
lea rcx, [rbp + 0x480]
call fcn.140016af0
nop
mov r8d, 9
lea rdx, [rbp + 0x480]
lea rcx, [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
nop
cmp qword [rbp + 0xd78], 0
je 0x140025863
cmp dword [rbp + 0xe24], 0
je 0x140025855
mov r9, qword [rbp + 0xd78]
mov r8d, 1
mov edx, 4
lea rcx, [rbp + 0x8b0]
call fcn.140016c53
nop
mov rcx, qword [rbp + 0xd78]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
cmp qword [rbp + 0xde8], 0
je 0x14002587a
mov rcx, qword [rbp + 0xde8]
call fcn.140016c21
nop
cmp dword [rbp + 4], 0
jge 0x140025886
call fcn.14001615e
nop
mov eax, dword [rbp + 4]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, reloc.OLEAUT32.dll_VariantClear
call fcn.1400169a6
mov rax, rdi
mov rcx, qword [rbp + 0x1498]
xor rcx, rbp
call fcn.1400165b9
lea rsp, [rbp + 0x14a8]
pop rdi
pop rbp
ret