Function at 0x1400cae70
Capabilities:
Create directory
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x110]
sub rsp, 0x210
mov rax, qword [0x140672360]
xor rax, rsp
mov qword [rbp + 0x108], rax
xor r12d, r12d
mov dword [rsp + 0x30], r12d
mov edx, 0xfa0
lea rcx, [0x140686bf0]
call fcn.1401d2870
xor r9d, r9d
xor r8d, r8d
lea edx, [r12 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x140686be8], rax
mov qword [rbp + 0x58], r12
mov qword [rbp + 0x68], r12
mov qword [rbp + 0x70], 7
mov word [rbp + 0x58], r12w
call fcn.1401d4720
mov rsi, rax
call fcn.1400ccca0
mov r15d, r12d
mov qword [rbp + 0xa0], r12
mov qword [rbp + 0xb0], r12
mov qword [rbp + 0xb8], 7
lea r8d, [r12 + 0x22]
lea rdx, str.D:_A_OICI_FA___SY__A_OICI_FA___BA_
lea rcx, [rbp + 0xa0]
call fcn.1400739a0
lea rcx, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 8
cmovae rcx, qword [rbp + 0xa0]
xor r9d, r9d
lea r8, [rbp + 0x50]
lea edx, [r12 + 1]
call qword [sym.imp.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW]
lea r13, str.0cg_
test eax, eax
jne 0x1400caffa
mov rax, qword [str.0cg_]
cmp rax, r13
je 0x1400cafae
test byte [rax + 0x1c], 1
je 0x1400cafae
cmp byte [rax + 0x19], 2
jb 0x1400cafae
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.0cg_]
lea edx, [r12 + 0x29]
mov dword [rsp + 0x20], eax
lea r9, str.ConvertStringSecurityDescriptorToSecurityDescriptor
lea r8, [0x1405f7158]
mov rcx, qword [rcx + 0x10]
call fcn.140079f00
mov rdx, qword [rbp + 0xb8]
cmp rdx, 8
jb 0x1400cb066
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400caff3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400cb976
call fcn.140359090
jmp 0x1400cb066
mov dword [rbp + 0xf0], 0x18
mov dword [rbp + 0x100], 1
mov rax, qword [rbp + 0x50]
mov qword [rbp + 0xf8], rax
mov rdx, qword [rbp + 0xb8]
cmp rdx, 8
jb 0x1400cb05f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400cb05a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400cb976
call fcn.140359090
lea r15, [rbp + 0xf0]
mov word [rbp + 0xa0], r12w
mov r14, 0xffffffffffffffff
test rsi, rsi
je 0x1400cb0da
mov rbx, r14
nop dword [rax]
inc rbx
cmp word [rsi + rbx*2], 0
jne 0x1400cb080
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], r12w
mov dword [rsp + 0x30], 1
test rbx, rbx
je 0x1400cb0fe
lfence
mov r8, r14
nop word [rax + rax]
inc r8
cmp word [rsi + r8*2], 0
jne 0x1400cb0c0
mov rdx, rsi
lea rcx, [rsp + 0x38]
call fcn.1400739a0
jmp 0x1400cb0fe
mov rbx, r12
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], r12w
mov dword [rsp + 0x30], 1
lfence
test rbx, rbx
je 0x1400cb16c
cmp word [rsi + rbx*2 - 2], 0x5c
je 0x1400cb16c
mov r8, qword [rsp + 0x48]
mov r9, qword [rsp + 0x50]
mov rax, r9
sub rax, r8
lea rcx, [rsp + 0x38]
cmp rax, 1
jb 0x1400cb14f
lea rdx, [r8 + 1]
mov qword [rsp + 0x48], rdx
cmp r9, 8
cmovae rcx, qword [rsp + 0x38]
movzx eax, word [0x1405e45bc]
mov word [rcx + r8*2], ax
mov word [rcx + rdx*2], r12w
jmp 0x1400cb16c
lfence
mov qword [rsp + 0x20], 1
lea r9, [0x1405e45bc]
mov edx, 1
call fcn.1400735a0
mov rcx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x50]
sub rax, rcx
lfence
cmp rax, 3
jb 0x1400cb1be
mov rdi, qword [rsp + 0x48]
add rdi, 3
mov qword [rsp + 0x48], rdi
lea rbx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rbx, qword [rsp + 0x38]
lea rcx, [rbx + rcx*2]
mov r8d, 6
lea rdx, [0x1405f6578]
call fcn.14035bc80
mov word [rbx + rdi*2], r12w
jmp 0x1400cb1dd
mov qword [rsp + 0x20], 3
lea r9, [0x1405f6578]
mov edx, 3
lea rcx, [rsp + 0x38]
call fcn.1400735a0
lea rcx, [rbp + 0x58]
call fcn.140073b90
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rbp + 0x58], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [rbp + 0x68], xmm1
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], r12w
lea rdx, [rbp + 0x58]
movq rcx, xmm0
psrldq xmm1, 8
movq rax, xmm1
cmp rax, 8
cmovae rdx, rcx
mov rcx, rdx
call fcn.1401d5000
test al, al
jne 0x1400cb2e4
lea rcx, [rbp + 0x58]
cmp qword [rbp + 0x70], 8
cmovae rcx, qword [rbp + 0x58]
mov rdx, r15
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1400cb2a9
mov rax, qword [str.0cg_]
cmp rax, r13
je 0x1400cb2e4
test byte [rax + 0x1c], 1
je 0x1400cb2e4
cmp byte [rax + 0x19], 2
jb 0x1400cb2e4
lea rbx, [rbp + 0x58]
cmp qword [rbp + 0x70], 8
cmovae rbx, qword [rbp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.0cg_]
mov edx, 0xa
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], eax
lea r9, str.CreateDirectory
mov rcx, qword [rcx + 0x10]
call fcn.1400cac20
jmp 0x1400cb2e4
mov rcx, qword [str.0cg_]
cmp rcx, r13
je 0x1400cb2e4
test byte [rcx + 0x1c], 1
je 0x1400cb2e4
cmp byte [rcx + 0x19], 2
jb 0x1400cb2e4
lea r9, [rbp + 0x58]
cmp qword [rbp + 0x70], 8
cmovae r9, qword [rbp + 0x58]
mov edx, 0xb
lea r8, [0x1405f7158]
mov rcx, qword [rcx + 0x10]
call fcn.1400786c0
lea rcx, [rbp + 0x58]
cmp qword [rbp + 0x70], 8
cmovae rcx, qword [rbp + 0x58]
call fcn.140372b58
mov qword [0x140686be0], rax
mov rcx, qword [str.0cg_]
cmp rcx, r13
je 0x1400cb32f
test byte [rcx + 0x1c], 1
je 0x1400cb32f
cmp byte [rcx + 0x19], 2
jb 0x1400cb32f
mov edx, 0xc
mov r9, rax
lea r8, [0x1405f7158]
mov rcx, qword [rcx + 0x10]
call fcn.1400786c0
nop
test rsi, rsi
je 0x1400cb39a
mov rbx, r14
nop word [rax + rax]
inc rbx
cmp word [rsi + rbx*2], 0
jne 0x1400cb340
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r12w
mov dword [rsp + 0x30], 2
test rbx, rbx
je 0x1400cb3be
lfence
mov r8, r14
nop word [rax + rax]
inc r8
cmp word [rsi + r8*2], 0
jne 0x1400cb380
mov rdx, rsi
lea rcx, [rsp + 0x58]
call fcn.1400739a0
jmp 0x1400cb3be
mov rbx, r12
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r12w
mov dword [rsp + 0x30], 2
lfence
test rbx, rbx
je 0x1400cb42c
cmp word [rsi + rbx*2 - 2], 0x5c
je 0x1400cb42c
mov r8, qword [rsp + 0x68]
mov r9, qword [rsp + 0x70]
mov rax, r9
sub rax, r8
lea rcx, [rsp + 0x58]
cmp rax, 1
jb 0x1400cb40f
lea rdx, [r8 + 1]
mov qword [rsp + 0x68], rdx
cmp r9, 8
cmovae rcx, qword [rsp + 0x58]
movzx eax, word [0x1405e45bc]
mov word [rcx + r8*2], ax
mov word [rcx + rdx*2], r12w
jmp 0x1400cb42c
lfence
mov qword [rsp + 0x20], 1
lea r9, [0x1405e45bc]
mov edx, 1
call fcn.1400735a0
mov r8, qword [rsp + 0x68]
mov rax, qword [rsp + 0x70]
sub rax, r8
lfence
lea rcx, [rsp + 0x58]
cmp rax, 4
jb 0x1400cb473
mov rdx, qword [rsp + 0x68]
add rdx, 4
mov qword [rsp + 0x68], rdx
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
mov rax, qword [0x1405f5f48]
mov qword [rcx + r8*2], rax
mov word [rcx + rdx*2], r12w
jmp 0x1400cb48d
mov qword [rsp + 0x20], 4
lea r9, [0x1405f5f48]
mov edx, 4
call fcn.1400735a0
lea rcx, [rbp + 0x58]
call fcn.140073b90
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rbp + 0x58], xmm0
movups xmm1, xmmword [rsp + 0x68]
movups xmmword [rbp + 0x68], xmm1
lea rdx, [rbp + 0x58]
movq rcx, xmm0
psrldq xmm1, 8
movq rax, xmm1
cmp rax, 8
cmovae rdx, rcx
mov rcx, rdx
call fcn.1401d5000
test al, al
jne 0x1400cb580
lea rcx, [rbp + 0x58]
cmp qword [rbp + 0x70], 8
cmovae rcx, qword [rbp + 0x58]
mov rdx, r15
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1400cb545
mov rax, qword [str.0cg_]
cmp rax, r13
je 0x1400cb580
test byte [rax + 0x1c], 1
je 0x1400cb580
cmp byte [rax + 0x19], 2
jb 0x1400cb580
lea rbx, [rbp + 0x58]
cmp qword [rbp + 0x70], 8
cmovae rbx, qword [rbp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.0cg_]
mov edx, 0xd
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], eax
lea r9, str.CreateDirectory
mov rcx, qword [rcx + 0x10]
call fcn.1400cac20
jmp 0x1400cb580
mov rcx, qword [str.0cg_]
cmp rcx, r13
je 0x1400cb580
test byte [rcx + 0x1c], 1
je 0x1400cb580
cmp byte [rcx + 0x19], 2
jb 0x1400cb580
lea r9, [rbp + 0x58]
cmp qword [rbp + 0x70], 8
cmovae r9, qword [rbp + 0x58]
mov edx, 0xe
lea r8, [0x1405f7158]
mov rcx, qword [rcx + 0x10]
call fcn.1400786c0
test r15, r15
je 0x1400cb58f
mov rcx, qword [r15 + 8]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, 0x18
call fcn.1403590cc
mov qword [rbp - 0x78], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rdx, vtable.std::_Ref_count_obj2_class_Management::FileSystem_.0
mov qword [rax], rdx
lea rdx, [rax + 0x10]
lea r8, vtable.Management::FileSystem.0
mov qword [rdx], r8
movups xmmword [rbp + 0x80], xmm0
mov qword [rbp + 0x80], rdx
mov qword [rbp + 0x88], rax
mov ecx, 0x18
call fcn.1403590cc
mov qword [rbp - 0x78], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rcx, vtable.std::_Ref_count_obj2_class_Management::DateTime_.0
mov qword [rax], rcx
lea rcx, [rax + 0x10]
lea rdx, vtable.Management::DateTime.0
mov qword [rcx], rdx
movups xmmword [rbp + 0x90], xmm0
mov qword [rbp + 0x90], rcx
mov qword [rbp + 0x98], rax
lea r8, [rbp + 0x80]
lea rdx, [rbp + 0x90]
lea rcx, [rbp - 0x50]
call fcn.1400d3f30
lea rcx, [0x140689b70]
cmp rcx, rax
je 0x1400cb66e
mov rcx, qword [rax]
mov qword [rax], r12
mov rdx, qword [0x140689b70]
mov qword [0x140689b70], rcx
test rdx, rdx
je 0x1400cb66e
call fcn.1400d3cf0
mov rdx, qword [rbp - 0x50]
test rdx, rdx
je 0x1400cb67c
call fcn.1400d3cf0
mov ecx, 0x60
call fcn.1403590cc
mov qword [rbp - 0x78], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
movdqa xmmword [rbp - 0x40], xmm0
mov rbx, qword [rbp + 0x88]
test rbx, rbx
je 0x1400cb6c0
lock inc dword [rbx + 8]
mov rbx, qword [rbp + 0x88]
movaps xmm0, xmmword [rbp + 0x80]
movdqa xmmword [rbp - 0x40], xmm0
lea rdx, [rbp - 0x40]
mov rcx, rax
call fcn.1401feb60
nop
mov rdi, qword [0x140689b78]
mov qword [0x140689b78], rax
test rdi, rdi
je 0x1400cb708
mov rcx, rdi
call fcn.1400d3db0
mov edx, 0x60
mov rcx, rdi
call fcn.140359090
mov rax, qword [0x140689b78]
lea rsi, vtable.std::_Func_impl_no_alloc_void____cdecl___struct_Management::Command_const____ptr64___void__struct_Management::Command_const____ptr64_.0
mov qword [rbp - 0x30], rsi
lea rdi, [0x1400cb990]
mov qword [rbp - 0x28], rdi
lea rcx, [rbp - 0x30]
mov qword [rbp + 8], rcx
mov dword [rsp + 0x78], 1
lea r8, [rbp - 0x30]
lea rdx, [rsp + 0x78]
mov rcx, rax
call fcn.1401ff8f0
mov qword [rbp + 0x10], rsi
mov qword [rbp + 0x18], rdi
lea rax, [rbp + 0x10]
mov qword [rbp + 0x48], rax
mov dword [rbp - 0x80], r12d
lea r8, [rbp + 0x10]
lea rdx, [rbp - 0x80]
mov rcx, qword [0x140689b78]
call fcn.1401ff8f0
xorps xmm0, xmm0
movups xmmword [rbp + 0xc0], xmm0
movups xmmword [rbp + 0xd0], xmm0
movups xmmword [rbp + 0xe0], xmm0
xor edx, edx
mov cl, 1
call fcn.1401d3b80
mov rdi, rax
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], r12
mov qword [rbp + 0xd8], r12
mov qword [rbp + 0xe0], 7
mov word [rbp + 0xc8], r12w
mov dword [rbp + 0xe8], 2
test rax, rax
je 0x1400cb840
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], 7
mov r8d, 9
lea rdx, str.HMPAState
lea rcx, [rbp - 0x70]
call fcn.1400739a0
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rdx, qword [rbp - 0x70]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x1400cb840
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400cb83a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400cb97c
call fcn.140359090
nop
test rdi, rdi
je 0x1400cb855
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp + 0xc0], r12
lea rcx, [rbp + 0xc8]
call fcn.140073b90
nop
mov rcx, qword [rbp + 0x98]
test rcx, rcx
je 0x1400cb8b9
mov eax, r14d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400cb8b2
mov rbx, qword [rbp + 0x98]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x1401cd220.0]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400cb8b2
mov rcx, qword [rbp + 0x98]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1401cd220.0]
mov rbx, qword [rbp + 0x88]
test rbx, rbx
je 0x1400cb902
mov eax, r14d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400cb902
mov rbx, qword [rbp + 0x88]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x1401cd220.0]
lock xadd dword [rbx + 0xc], r14d
cmp r14d, 1
jne 0x1400cb902
mov rcx, qword [rbp + 0x88]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1401cd220.0]
nop
mov rdx, qword [rbp + 0x70]
cmp rdx, 8
jb 0x1400cb93e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400cb939
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400cb970
call fcn.140359090
mov al, 1
mov rcx, qword [rbp + 0x108]
xor rcx, rsp
call fcn.140359070
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140368068
nop
call fcn.140368068
nop
call fcn.140368068
int3