Function at 0x180027e50
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x380
mov rax, qword [0x180106b38]
xor rax, rsp
mov qword [rsp + 0x370], rax
lea r14d, [rdx - 0xb]
mov rbx, r8
mov r12, rcx
cmp edx, r14d
jbe 0x1800280e2
mov r15, qword [rsp + 0x40]
lea ebp, [rdx - 0x2c]
xor r13d, r13d
lea rdx, [0x180000000]
cmp ebp, 0x18
ja case.0x180027eb1.3
mov ecx, dword [rdx + rbp*4 + 0x28114]
add rcx, rdx
jmp rcx
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je case.0x180027eb1.3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x18], r13
jmp case.0x180027eb1.3
mov r9d, 0xa4
mov dword [rsp + 0x38], 1
lea r8, [rsp + 0x38]
mov rdx, rbx
xor ecx, ecx
call fcn.18008ba30
mov ecx, dword [r12]
mov r15, rax
mov dword [rax + 8], ecx
mov ecx, dword [r12]
mov dword [rax + 0xc], ecx
jmp case.0x180027eb1.3
lea rax, [rsp + 0x30]
mov qword [rsp + 0x30], 0x104
mov r9, rbx
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x50]
mov edx, 0x96
xor ecx, ecx
call fcn.180010f10
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], r13
mov r8d, 0xc6
call fcn.18004fb00
lea rax, [rsp + 0x160]
mov dword [rsp + 0x28], 0x208
mov r9d, 0xffffffff
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x50]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
jmp case.0x180027eb1.3
mov eax, dword [r12]
lea ecx, [rax + rax*2]
shl ecx, 3
add dword [rbx + 0x40], ecx
jmp case.0x180027eb1.3
movsxd rax, dword [r12]
lea r8, [rsp + 0x40]
mov r9d, 0x107
mov dword [rsp + 0x30], r13d
lea rdx, [rsp + 0x30]
lea rcx, [rax + rax*2]
mov rax, qword [0x1800fb9d8]
shl rcx, 3
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x48], rcx
lea rcx, [0x1800e3d02]
mov qword [rsp + 0x20], rax
call fcn.180017fd0
mov qword [r15 + 0x10], rax
jmp case.0x180027eb1.3
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x180027ff2
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x30], r13
mov esi, r13d
cmp dword [rbx + 0x20], r13d
jbe case.0x180027eb1.3
nop
mov rax, qword [rbx + 0x18]
mov edi, esi
shl rdi, 5
mov rcx, qword [rdi + rax + 0x10]
test rcx, rcx
je 0x180028023
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [rbx + 0x18]
mov qword [rdi + rax + 0x10], r13
inc esi
cmp esi, dword [rbx + 0x20]
jb 0x180028000
jmp case.0x180027eb1.3
mov esi, r13d
cmp dword [rbx + 0x38], r13d
jbe case.0x180027eb1.3
nop dword [rax + rax]
mov eax, esi
lea rdi, [rax + rax*2]
mov rax, qword [rbx + 0x30]
add rdi, rdi
mov rcx, qword [rax + rdi*8 + 0x18]
test rcx, rcx
je 0x18002806a
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [rbx + 0x30]
mov qword [rax + rdi*8 + 0x18], r13
mov rax, qword [rbx + 0x30]
mov rcx, qword [rax + rdi*8 + 8]
test rcx, rcx
je 0x180028083
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [rbx + 0x30]
mov qword [rax + rdi*8 + 8], r13
inc esi
cmp esi, dword [rbx + 0x38]
jb 0x180028040
jmp case.0x180027eb1.3
mov dword [r12], r13d
jmp case.0x180027eb1.3
mov rcx, qword [rbx]
test rcx, rcx
je 0x1800280a0
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
movups xmmword [rbx + 0x20], xmm0
movups xmmword [rbx + 0x30], xmm0
dec ebp
lea eax, [rbp + 0x2c]
cmp eax, r14d
jbe 0x1800280e2
jmp 0x180027e97
mov rax, r15
jmp 0x1800280e7
xor edx, edx
lea rcx, [rsp + 0x160]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
neg eax
sbb ecx, ecx
neg ecx
dec ecx
mov dword [rsp + 0x30], ecx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x370]
xor rcx, rsp
call fcn.1800bfc40
mov rbx, qword [rsp + 0x3c8]
add rsp, 0x380
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret