Function at 0x1800cc3c0
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xd78
mov qword [rsp + 0xd10], 0xfffffffffffffffe
mov rax, qword [0x180284030]
xor rax, rsp
mov qword [rsp + 0xd60], rax
mov dword [rsp + 0xc80], 0
xor eax, eax
mov word [rsp + 0xa70], ax
lea rax, [rsp + 0xa72]
mov rdi, rax
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
xor eax, eax
mov word [rsp + 0x860], ax
lea rax, [rsp + 0x862]
mov rdi, rax
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
mov rax, qword [0x180229588]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x48]
mov rdi, rax
xor eax, eax
mov ecx, 0x200
rep stosb byte [rdi], al
lea rax, [rsp + 0x248]
lea rcx, str.EFIMicrosoft
mov rdi, rax
mov rsi, rcx
mov ecx, 0x1c
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x264]
mov rdi, rax
xor eax, eax
mov ecx, 0x1ec
rep stosb byte [rdi], al
lea rax, [rsp + 0x450]
lea rcx, [0x1802295b0]
mov rdi, rax
mov rsi, rcx
mov ecx, MsiEnumProductsW
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x476]
mov rdi, rax
xor eax, eax
mov ecx, 0x1e2
rep stosb byte [rdi], al
lea rax, [rsp + 0x658]
lea rcx, str.EFIMicrosoftBooten_US
mov rdi, rax
mov rsi, rcx
mov ecx, 0x32
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x68a]
mov rdi, rax
xor eax, eax
mov ecx, 0x1d6
rep stosb byte [rdi], al
mov qword [rsp + 0xc88], 0
jmp 0x1800cc501
mov rax, qword [rsp + 0xc88]
inc rax
mov qword [rsp + 0xc88], rax
cmp qword [rsp + 0xc88], 4
jae 0x1800cc5d0
mov rax, qword [rsp + 0xc88]
imul rax, rax, 0x208
lea rax, [rsp + rax + 0x40]
mov qword [rsp + 0xd18], rax
lea rdx, [rsp + 0xc90]
mov rcx, qword [rsp + 0xd90]
call fcn.1800cb8a0
mov qword [rsp + 0xd20], rax
mov rax, qword [rsp + 0xd20]
mov qword [rsp + 0xd28], rax
mov rcx, qword [rsp + 0xd28]
call fcn.18000122b
mov rcx, qword [rsp + 0xd18]
mov qword [rsp + 0x20], rcx
mov r9, rax
lea r8, [0x180229610]
mov edx, 0x104
lea rcx, [rsp + 0x860]
call fcn.1800d6e60
nop
lea rcx, [rsp + 0xc90]
call fcn.18000165e
xor edx, edx
lea rcx, [rsp + 0x860]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1800cc5cb
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1800cc5cb
mov dword [rsp + 0xc80], 0xffffefdd
jmp 0x1800cc5d0
jmp 0x1800cc4ee
cmp dword [rsp + 0xc80], 0
je 0x1800cc5df
jmp 0x1800cc796
lea rdx, [rsp + 0xcb0]
mov rcx, qword [rsp + 0xd90]
call fcn.1800cb8a0
mov qword [rsp + 0xd30], rax
mov rax, qword [rsp + 0xd30]
mov qword [rsp + 0xd38], rax
mov rcx, qword [rsp + 0xd38]
call fcn.18000122b
mov r9, rax
lea r8, [0x180229620]
mov edx, 0x104
lea rcx, [rsp + 0xa70]
call fcn.1800d6e60
nop
lea rcx, [rsp + 0xcb0]
call fcn.18000165e
lea rdx, [rsp + 0xcd0]
mov rcx, qword [rsp + 0xd90]
call fcn.1800cb8a0
mov qword [rsp + 0xd40], rax
mov rax, qword [rsp + 0xd40]
mov qword [rsp + 0xd48], rax
mov rcx, qword [rsp + 0xd48]
call fcn.18000122b
mov r9, rax
lea r8, str._sEFIMicrosoftBoot_bcd
mov edx, 0x104
lea rcx, [rsp + 0x860]
call fcn.1800d6e60
nop
lea rcx, [rsp + 0xcd0]
call fcn.18000165e
lea r8, [rsp + 0x860]
lea rdx, str.WindowsBootDVDEFI_bcd
lea rcx, [rsp + 0xa70]
call fcn.1800c6850
mov dword [rsp + 0xc80], eax
cmp dword [rsp + 0xc80], 0
je 0x1800cc6d9
jmp 0x1800cc796
lea rdx, [rsp + 0xcf0]
mov rcx, qword [rsp + 0xd90]
call fcn.1800cb8a0
mov qword [rsp + 0xd50], rax
mov rax, qword [rsp + 0xd50]
mov qword [rsp + 0xd58], rax
mov rcx, qword [rsp + 0xd58]
call fcn.18000122b
mov r9, rax
lea r8, str._sEFIMicrosoftBoot_boot.sdi
mov edx, 0x104
lea rcx, [rsp + 0x860]
call fcn.1800d6e60
nop
lea rcx, [rsp + 0xcf0]
call fcn.18000165e
lea r8, [rsp + 0x860]
lea rdx, str.WindowsBootDVDEFI_boot.sdi
lea rcx, [rsp + 0xa70]
call fcn.1800c6850
mov dword [rsp + 0xc80], eax
cmp dword [rsp + 0xc80], 0
je 0x1800cc76c
jmp 0x1800cc796
mov rcx, qword [rsp + 0xd90]
call fcn.1800cc7c0
mov dword [rsp + 0xc80], eax
cmp dword [rsp + 0xc80], 0
je 0x1800cc78c
jmp 0x1800cc796
xor eax, eax
test eax, eax
jne 0x1800cc4e0
mov eax, dword [rsp + 0xc80]
mov rcx, qword [rsp + 0xd60]
xor rcx, rsp
call fcn.1800d65d0
add rsp, 0xd78
pop rdi
pop rsi
ret