Function at 0x1400156ae
Capabilities:
Create directory
Move file

Disassembly:
jmp 0x140022600
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
mov eax, 0x14d8
call fcn.14001521c
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 [0x140070328]
xor rax, rbp
mov qword [rbp + 0x1498], rax
lea rcx, [0x140078cb5]
call fcn.140015b09
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 [0x140070bf8]
cmp dword [rax + 8], 0x23f0
jae 0x1400226a0
mov dword [rbp + 0x1494], 1
jmp 0x1400226aa
mov dword [rbp + 0x1494], 0
mov eax, dword [rbp + 0x1494]
mov dword [rbp + 0xe64], eax
mov rax, qword [0x140070bf8]
add rax, 0x68
mov rdx, rax
lea rcx, [rbp + 0x8b0]
call fcn.1400151ea
lea rdx, str.assemblyNativeImages_
lea rcx, [rbp + 0x8b0]
call fcn.140015a96
cmp dword [rbp + 0xe64], 0
je 0x140022701
lea rdx, str.v2.0.50727
lea rcx, [rbp + 0x8b0]
call fcn.140015a96
jmp 0x140022714
lea rdx, str.v4.0.30319
lea rcx, [rbp + 0x8b0]
call fcn.140015a96
lea rdx, [0x14004a718]
lea rcx, [rbp + 0x8b0]
call fcn.140015a96
xor r9d, r9d
lea r8, [rbp + 0xe08]
lea rdx, [rbp + 0xde8]
lea rcx, [0x14004aef8]
call fcn.140015717
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
jge 0x140022758
mov eax, dword [rbp + 0x24]
mov dword [rbp + 4], eax
jmp 0x1400229d8
mov edx, 0x80
lea rcx, [rbp + 0xce0]
call fcn.1400157e4
mov edx, InitCommonControls
lea rcx, [rbp + 0xdb8]
call fcn.1400157e4
lea rdx, [rbp + 0xdb8]
lea rcx, [0x14004aef8]
call fcn.140015a50
test eax, eax
jne 0x140022796
jmp 0x1400229d8
lea r8, [rbp + 0xce0]
mov edx, InitCommonControls
lea rcx, [rbp + 0xdb8]
call fcn.140015929
lea r9, [rbp + 0xd78]
mov r8d, 1
mov edx, 4
lea rcx, [rbp + 0x8b0]
call fcn.140015be0
test eax, eax
jne 0x1400227d5
jmp 0x1400229d8
lea r9, str.D:PAI_A_OICI_FA___WD_
mov r8d, 1
mov edx, 4
lea rcx, [rbp + 0x8b0]
call fcn.140015bdb
test eax, eax
jne 0x1400227fc
jmp 0x1400229d8
mov dword [rbp + 0xe24], 1
lea rdx, [rbp + 0x8b0]
lea rcx, [rbp + 0x50]
call fcn.1400151ea
lea rdx, str.MMCEx
lea rcx, [rbp + 0x50]
call fcn.140015a96
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x480]
call fcn.1400151ea
lea rdx, [0x14004af50]
lea rcx, [rbp + 0x480]
call fcn.140015a96
mov r8d, 9
lea rdx, [rbp + 0x480]
lea rcx, [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x140022869
jmp 0x1400229d8
mov dword [rbp + 0xe44], 1
xor edx, edx
lea rcx, [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140022895
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140022895
jmp 0x1400229d8
lea rcx, [rbp + 0x50]
call fcn.14001511d
lea rdx, [rbp + 0xce0]
lea rcx, [rbp + 0x50]
call fcn.140015a96
xor edx, edx
lea rcx, [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1400228d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1400228d0
jmp 0x1400229d8
lea rcx, [rbp + 0x50]
call fcn.14001511d
lea rcx, [rbp + 0x50]
call fcn.14001528a
mov qword [rbp + 0xd98], rax
lea rdx, str.MMCEx.ni.dll
lea rcx, [rbp + 0x50]
call fcn.140015a96
mov r8d, dword [rbp + 0x14c8]
mov rdx, qword [rbp + 0x14c0]
lea rcx, [rbp + 0x50]
call fcn.140015127
test eax, eax
jne 0x140022919
jmp 0x1400229d8
mov rax, qword [rbp + 0xd98]
shl rax, 1
mov qword [rbp + 0x1488], rax
cmp qword [rbp + 0x1488], 0x410
jae 0x140022939
jmp 0x14002293e
call fcn.140015811
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.140015a96
mov r8d, dword [rbp + 0xe08]
mov rdx, qword [rbp + 0xde8]
lea rcx, [rbp + 0x50]
call fcn.140015127
test eax, eax
jne 0x140022979
jmp 0x1400229d8
mov rax, qword [0x140070bf8]
add rax, 0x272
mov rdx, rax
lea rcx, [rbp + 0x50]
call fcn.1400151ea
lea rdx, str.mmc.exe
lea rcx, [rbp + 0x50]
call fcn.140015a96
mov dword [rsp + 0x20], 0x2ee0
mov r9d, 5
xor r8d, r8d
lea rdx, str.wf.msc
lea rcx, [rbp + 0x50]
call fcn.140015852
test eax, eax
je 0x1400229ce
mov dword [rbp + 4], 0
xor eax, eax
test eax, eax
jne 0x1400226b6
cmp dword [rbp + 0xe44], 0
je 0x140022a57
lea rdx, [rbp + 0x8b0]
lea rcx, [rbp + 0x50]
call fcn.1400151ea
lea rdx, str.MMCEx
lea rcx, [rbp + 0x50]
call fcn.140015a96
lea rcx, [rbp + 0x50]
call fcn.140015a0f
lea rdx, [0x14004af50]
lea rcx, [rbp + 0x50]
call fcn.140015a96
lea rdx, [rbp + 0x8b0]
lea rcx, [rbp + 0x480]
call fcn.1400151ea
lea rdx, str.MMCEx
lea rcx, [rbp + 0x480]
call fcn.140015a96
mov r8d, 9
lea rdx, [rbp + 0x480]
lea rcx, [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp qword [rbp + 0xd78], 0
je 0x140022a95
cmp dword [rbp + 0xe24], 0
je 0x140022a88
mov r9, qword [rbp + 0xd78]
mov r8d, 1
mov edx, 4
lea rcx, [rbp + 0x8b0]
call fcn.140015bdb
mov rcx, qword [rbp + 0xd78]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
cmp qword [rbp + 0xde8], 0
je 0x140022aab
mov rcx, qword [rbp + 0xde8]
call fcn.140015bae
cmp dword [rbp + 4], 0
jge 0x140022ab6
call fcn.140015154
mov eax, dword [rbp + 4]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, reloc.OLEAUT32.dll_VariantClear
call fcn.14001595b
mov rax, rdi
mov rcx, qword [rbp + 0x1498]
xor rcx, rbp
call fcn.140015582
lea rsp, [rbp + 0x14a8]
pop rdi
pop rbp
ret