Function at 0x14010e97c
Capabilities:
Create directory

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r13
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov rdi, rdx
mov rsi, rcx
xor ebx, ebx
xor r8d, r8d
lea rdx, [rbp + 0x67]
call fcn.14010e56c
nop
or r13, 0xffffffffffffffff
mov qword [rdi], r13
cmp dword [rsi + 0x34], ebx
je 0x14010ea87
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov edx, 0x10000000
mov rcx, qword [rbp + 0x67]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rdi], rax
cmp rax, r13
jne 0x14010ea58
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp eax, 0xb7
je 0x14010ea03
cmp eax, 0x50
jne 0x14010ea42
xor ebx, ebx
mov r8b, 1
lea rdx, [rbp + 0x6f]
mov rcx, rsi
call fcn.14010e56c
nop
mov rdx, rax
lea rcx, [rbp + 0x67]
call fcn.14000c244
nop
mov rdx, qword [rbp + 0x6f]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x14010ea42
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp qword [rdi], r13
jne 0x14010ea58
test ebx, ebx
je 0x14010e9bc
cmp qword [rdi], r13
je 0x14010eba0
lea rdx, [rbp + 0x67]
lea rcx, [rbp - 0x11]
call fcn.14000c4d8
mov r11, qword [rdi]
mov qword [rbp - 9], r11
lea rcx, [rsi + 0x60]
lea r8, [rbp - 0x11]
lea rdx, [rbp + 0xf]
call fcn.1400a4634
nop
mov rdx, qword [rbp - 0x11]
jmp 0x14010eb83
xor edx, edx
mov rcx, qword [rbp + 0x67]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14010eaf3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp eax, 0xb7
je 0x14010eaab
cmp eax, 0x50
jne 0x14010eaea
xor ebx, ebx
mov r8b, 1
lea rdx, [rbp + 0x77]
mov rcx, rsi
call fcn.14010e56c
nop
mov rdx, rax
lea rcx, [rbp + 0x67]
call fcn.14000c244
nop
mov rdx, qword [rbp + 0x77]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x14010ea87
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test ebx, ebx
je 0x14010ea87
jmp 0x14010eba0
test ebx, ebx
jne 0x14010eba0
lea rcx, [rsi + 0x40]
lea rdx, [rbp + 0x67]
call fcn.140038190
lea r8d, [rbx + 8]
lea rdx, str.:1:_Data
lea rcx, [rbp + 0x67]
call fcn.14000c0c4
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov edx, 0x10000000
mov rcx, qword [rbp + 0x67]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rdi], rax
cmp rax, r13
jne 0x14010eb59
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x14010eba0
lea rdx, [rbp + 0x67]
lea rcx, [rbp - 1]
call fcn.14000c4d8
mov r11, qword [rdi]
mov qword [rbp + 7], r11
lea rcx, [rsi + 0x60]
lea r8, [rbp - 1]
lea rdx, [rbp + 0x1f]
call fcn.1400a4634
nop
mov rdx, qword [rbp - 1]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x14010eba0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp + 0x67]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x14010ebc0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, ebx
add rsp, 0x90
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret