Function at 0x14021a660
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x1404779b8]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov rdi, r8
mov rsi, rdx
mov qword [rbp + 0x90], rdx
mov qword [rbp + 0x98], r8
xor r15b, r15b
mov rcx, r8
cmp qword [r8 + 0x18], 8
jb 0x14021a6b6
mov rcx, qword [r8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14021a737
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14021a737
xor ebx, ebx
mov qword [rbp - 0x38], rbx
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x20], 7
lea r8d, [rbx + 0x30]
lea rdx, str._s______Path___s__not_exists._Error_code0x_08x_n
lea rcx, [rbp - 0x38]
call fcn.140101ff0
mov rbx, rdi
cmp qword [rdi + 0x18], 8
jb 0x14021a702
mov rbx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov r8, rbx
lea rdx, str.ZipManager::UnzipPackageByCOM
lea rcx, [rbp - 0x38]
call fcn.1401a8890
nop
mov rcx, rsi
call fcn.1400f54b0
nop
mov rcx, rdi
call fcn.1400f54b0
xor al, al
jmp 0x14021aaf0
mov r14, rdi
cmp qword [rdi + 0x18], 8
jb 0x14021a744
mov r14, qword [rdi]
xor ebx, ebx
mov word [rbp - 0x80], bx
lea rcx, [rbp - 0x80]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
js 0x14021ab42
mov r12d, 8
mov word [rbp - 0x80], r12w
mov rcx, r14
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbp - 0x78], rax
test rax, rax
jne 0x14021a782
test r14, r14
jne 0x14021ab4d
mov r14, rsi
cmp qword [rsi + 0x18], 8
jb 0x14021a78f
mov r14, qword [rsi]
mov word [rsp + 0x68], bx
lea rcx, [rsp + 0x68]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
js 0x14021ab68
mov word [rsp + 0x68], r12w
mov rcx, r14
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rsp + 0x70], rax
test rax, rax
jne 0x14021a7c9
test r14, r14
jne 0x14021ab73
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], rax
lea rcx, [rbp - 0x50]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], rax
lea rcx, [rbp - 0x68]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x50], ebx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x30], rbx
mov byte [rsp + 0x60], 0
mov edx, 2
xor ecx, ecx
call qword [sym.imp.OLE32.dll_CoInitializeEx]
mov dword [rsp + 0x64], eax
test eax, eax
js 0x14021ab1b
mov byte [rsp + 0x60], 1
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, [0x14036f520]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x14036f580]
call qword [sym.imp.OLE32.dll_CoCreateInstance]
test eax, eax
jne 0x14021a9a2
movups xmm0, xmmword [rsp + 0x68]
movaps xmmword [rbp - 0x10], xmm0
movsd xmm1, qword [rsp + 0x78]
movsd qword [rbp], xmm1
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x10]
mov rax, qword [rax + 0x48]
call qword [case.0x1400ed125.0]
cmp qword [rsp + 0x40], 0
je 0x14021a9a2
movups xmm0, xmmword [rbp - 0x80]
movaps xmmword [rbp + 0x10], xmm0
movsd xmm1, qword [rbp - 0x70]
movsd qword [rbp + 0x20], xmm1
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
lea r8, [rsp + 0x38]
lea rdx, [rbp + 0x10]
mov rax, qword [rax + 0x48]
call qword [case.0x1400ed125.0]
cmp qword [rsp + 0x38], 0
je 0x14021a9a2
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
lea rdx, [rsp + 0x30]
mov rax, qword [rax + 0x58]
call qword [case.0x1400ed125.0]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14021a9a2
mov rax, qword [rcx]
lea rdx, [rsp + 0x50]
mov rax, qword [rax + 0x38]
call qword [case.0x1400ed125.0]
cmp dword [rsp + 0x50], 1
jge 0x14021a91f
mov r15b, 1
jmp 0x14021a9a2
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
lea r8, [rsp + 0x58]
lea rdx, [0x14036deb0]
mov rax, qword [rax]
call qword [case.0x1400ed125.0]
mov eax, 9
mov word [rbp - 0x68], ax
mov rax, qword [rsp + 0x58]
mov qword [rbp - 0x60], rax
mov eax, 3
mov word [rbp - 0x50], ax
mov dword [rbp - 0x48], 0x614
movups xmm0, xmmword [rbp - 0x50]
movaps xmmword [rbp + 0x30], xmm0
movsd xmm1, qword [rbp - 0x40]
movsd qword [rbp + 0x40], xmm1
movups xmm0, xmmword [rbp - 0x68]
movaps xmmword [rbp + 0x50], xmm0
movsd xmm1, qword [rbp - 0x58]
movsd qword [rbp + 0x60], xmm1
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
lea r8, [rbp + 0x30]
lea rdx, [rbp + 0x50]
mov rax, qword [rax + 0x78]
call qword [case.0x1400ed125.0]
test eax, eax
sete r15b
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14021a9be
mov qword [rsp + 0x58], rbx
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400ed125.0]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14021a9da
mov qword [rsp + 0x30], rbx
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400ed125.0]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14021a9f6
mov qword [rsp + 0x38], rbx
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400ed125.0]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14021aa12
mov qword [rsp + 0x40], rbx
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400ed125.0]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14021aa2f
mov qword [rsp + 0x48], rbx
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400ed125.0]
nop
call qword [sym.imp.OLE32.dll_CoUninitialize]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14021aa4e
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400ed125.0]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14021aa66
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400ed125.0]
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14021aa7e
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400ed125.0]
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14021aa96
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400ed125.0]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14021aaae
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400ed125.0]
nop
lea rcx, [rbp - 0x68]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rbp - 0x50]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rbp - 0x80]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
mov rcx, rsi
call fcn.1400f54b0
nop
mov rcx, rdi
call fcn.1400f54b0
movzx eax, r15b
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.14021f250
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
lfence
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rsp + 0x64]
lea rcx, [rbp + 0x70]
call fcn.1401454d0
lea rdx, [0x1403d0178]
lea rcx, [rbp + 0x70]
call fcn.14025213c
nop
lfence
mov ecx, eax
call fcn.1401f67e0
int3
mov eax, 0xa
mov word [rbp - 0x80], ax
mov dword [rbp - 0x78], 0x8007000e
mov ecx, 0x8007000e
call fcn.1401f67e0
nop
lfence
mov ecx, eax
call fcn.1401f67e0
int3
mov eax, 0xa
mov word [rsp + 0x68], ax
mov dword [rsp + 0x70], 0x8007000e
mov ecx, 0x8007000e
call fcn.1401f67e0
int3