Function at 0x1400166ea
Capabilities:
Create directory
Move file

Disassembly:
jmp 0x140025220
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 [0x140075340]
xor rax, rbp
mov qword [rbp + 0x1498], rax
lea rcx, [0x14007edd2]
call fcn.140016b68
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 [0x140075c58]
cmp dword [rax + 8], 0x23f0
jae 0x1400252c0
mov dword [rbp + 0x1494], 1
jmp 0x1400252ca
mov dword [rbp + 0x1494], 0
mov eax, dword [rbp + 0x1494]
mov dword [rbp + 0xe64], eax
mov rax, qword [0x140075c58]
add rax, 0x68
mov rdx, rax
lea rcx, [rbp + 0x8b0]
call fcn.1400161f9
lea rdx, str.assemblyNativeImages_
lea rcx, [rbp + 0x8b0]
call fcn.140016af0
cmp dword [rbp + 0xe64], 0
je 0x140025321
lea rdx, str.v2.0.50727
lea rcx, [rbp + 0x8b0]
call fcn.140016af0
jmp 0x140025334
lea rdx, str.v4.0.30319
lea rcx, [rbp + 0x8b0]
call fcn.140016af0
lea rdx, [0x14004e678]
lea rcx, [rbp + 0x8b0]
call fcn.140016af0
xor r9d, r9d
lea r8, [rbp + 0xe08]
lea rdx, [rbp + 0xde8]
lea rcx, [0x14004ee48]
call fcn.140016753
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
jge 0x140025378
mov eax, dword [rbp + 0x24]
mov dword [rbp + 4], eax
jmp 0x1400255f8
mov edx, 0x80
lea rcx, [rbp + 0xce0]
call fcn.140016825
mov edx, InitCommonControls
lea rcx, [rbp + 0xdb8]
call fcn.140016825
lea rdx, [rbp + 0xdb8]
lea rcx, [0x14004ee48]
call fcn.140016aaa
test eax, eax
jne 0x1400253b6
jmp 0x1400255f8
lea r8, [rbp + 0xce0]
mov edx, InitCommonControls
lea rcx, [rbp + 0xdb8]
call fcn.140016974
lea r9, [rbp + 0xd78]
mov r8d, 1
mov edx, 4
lea rcx, [rbp + 0x8b0]
call fcn.140016c4e
test eax, eax
jne 0x1400253f5
jmp 0x1400255f8
lea r9, str.D:PAI_A_OICI_FA___WD_
mov r8d, 1
mov edx, 4
lea rcx, [rbp + 0x8b0]
call fcn.140016c49
test eax, eax
jne 0x14002541c
jmp 0x1400255f8
mov dword [rbp + 0xe24], 1
lea rdx, [rbp + 0x8b0]
lea rcx, [rbp + 0x50]
call fcn.1400161f9
lea rdx, str.MMCEx
lea rcx, [rbp + 0x50]
call fcn.140016af0
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x480]
call fcn.1400161f9
lea rdx, [0x14004eea0]
lea rcx, [rbp + 0x480]
call fcn.140016af0
mov r8d, 9
lea rdx, [rbp + 0x480]
lea rcx, [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x140025489
jmp 0x1400255f8
mov dword [rbp + 0xe44], 1
xor edx, edx
lea rcx, [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1400254b5
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1400254b5
jmp 0x1400255f8
lea rcx, [rbp + 0x50]
call fcn.140016122
lea rdx, [rbp + 0xce0]
lea rcx, [rbp + 0x50]
call fcn.140016af0
xor edx, edx
lea rcx, [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1400254f0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1400254f0
jmp 0x1400255f8
lea rcx, [rbp + 0x50]
call fcn.140016122
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
mov r8d, dword [rbp + 0x14c8]
mov rdx, qword [rbp + 0x14c0]
lea rcx, [rbp + 0x50]
call fcn.14001612c
test eax, eax
jne 0x140025539
jmp 0x1400255f8
mov rax, qword [rbp + 0xd98]
shl rax, 1
mov qword [rbp + 0x1488], rax
cmp qword [rbp + 0x1488], 0x410
jae 0x140025559
jmp 0x14002555e
call fcn.140016857
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
mov r8d, dword [rbp + 0xe08]
mov rdx, qword [rbp + 0xde8]
lea rcx, [rbp + 0x50]
call fcn.14001612c
test eax, eax
jne 0x140025599
jmp 0x1400255f8
mov rax, qword [0x140075c58]
add rax, 0x272
mov rdx, rax
lea rcx, [rbp + 0x50]
call fcn.1400161f9
lea rdx, str.mmc.exe
lea rcx, [rbp + 0x50]
call fcn.140016af0
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 0x1400255ee
mov dword [rbp + 4], 0
xor eax, eax
test eax, eax
jne 0x1400252d6
cmp dword [rbp + 0xe44], 0
je 0x140025677
lea rdx, [rbp + 0x8b0]
lea rcx, [rbp + 0x50]
call fcn.1400161f9
lea rdx, str.MMCEx
lea rcx, [rbp + 0x50]
call fcn.140016af0
lea rcx, [rbp + 0x50]
call fcn.140016a69
lea rdx, [0x14004eea0]
lea rcx, [rbp + 0x50]
call fcn.140016af0
lea rdx, [rbp + 0x8b0]
lea rcx, [rbp + 0x480]
call fcn.1400161f9
lea rdx, str.MMCEx
lea rcx, [rbp + 0x480]
call fcn.140016af0
mov r8d, 9
lea rdx, [rbp + 0x480]
lea rcx, [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp qword [rbp + 0xd78], 0
je 0x1400256b5
cmp dword [rbp + 0xe24], 0
je 0x1400256a8
mov r9, qword [rbp + 0xd78]
mov r8d, 1
mov edx, 4
lea rcx, [rbp + 0x8b0]
call fcn.140016c49
mov rcx, qword [rbp + 0xd78]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
cmp qword [rbp + 0xde8], 0
je 0x1400256cb
mov rcx, qword [rbp + 0xde8]
call fcn.140016c1c
cmp dword [rbp + 4], 0
jge 0x1400256d6
call fcn.14001615e
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