Function at 0x14000ff50
Capabilities:
Create directory

Disassembly:
push rbp
push rsi
push r12
lea rbp, [rsp - 0x200]
sub rsp, 0x300
mov rax, qword [0x140106438]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
lea rax, str.MSDOS___SYS
xor esi, esi
mov qword [rsp + 0x40], rax
lea rax, str.COMMAND_COM
mov qword [rsp + 0x48], rax
lea rax, str.IO______SYS
mov qword [rsp + 0x50], rax
lea rax, str.MODE____COM
mov qword [rsp + 0x58], rax
lea rax, str.KEYB____COM
mov qword [rsp + 0x60], rax
lea rax, str.KEYBOARDSYS
mov qword [rsp + 0x68], rax
lea rax, str.KEYBRD2_SYS
mov qword [rsp + 0x70], rax
lea rax, str.KEYBRD3_SYS
mov qword [rsp + 0x78], rax
lea rax, str.KEYBRD4_SYS
mov qword [rbp - 0x80], rax
lea rax, str.DISPLAY_SYS
mov qword [rbp - 0x78], rax
lea rax, str.EGA_____CPI
mov qword [rbp - 0x70], rax
lea rax, str.EGA2____CPI
mov qword [rbp - 0x68], rax
lea rax, str.EGA3____CPI
mov qword [rbp - 0x60], rax
mov r12, rcx
mov qword [rsp + 0x30], rsi
test rcx, rcx
jne 0x140010022
xor eax, eax
jmp 0x14001024b
lea rax, [0x1400d97a4]
mov edx, 0x104
mov qword [rsp + 0x28], rax
lea r9, str._s_sdiskcopy.dll
lea rax, [0x14015a220]
mov r8, 0xffffffffffffffff
lea rcx, [rbp + 0xc0]
mov qword [rsp + 0x20], rax
call fcn.1400034e0
lea rdx, [rsp + 0x30]
mov byte [rbp + 0x1c3], sil
lea rcx, [rbp + 0xc0]
call fcn.140041c50
cmp eax, 0x16ee00
je 0x140010089
lea rcx, str.diskcopy.dll_was_either_not_found_or_is_invalid
call fcn.140041aa0
jmp 0x14001023f
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x328], rbx
add rax, 0x66d8
mov qword [rsp + 0x330], rdi
mov qword [rsp + 0x338], r13
mov qword [rsp + 0x2f8], r14
mov qword [rsp + 0x2f0], r15
mov qword [0x140143050], rax
mov rax, 0xffffffffffffffff
movaps xmmword [rsp + 0x2e0], xmm6
mov dword [0x140143048], 0x168000
nop dword [rax]
inc rax
cmp byte [r12 + rax], sil
jne 0x1400100e0
inc rax
lea rcx, [rbp - 0x50]
mov ebx, 0x104
mov rdx, r12
cmp rax, rbx
cmovb rbx, rax
mov r8, rbx
call fcn.140093550
mov r9, 0xffffffffffffffff
mov byte [rbp + rbx - 0x51], sil
lea r8, str.LOCALE_
mov edx, 0x104
lea rcx, [rbp - 0x50]
call fcn.14009b5bc
xor edx, edx
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
movss xmm6, dword [0x1400f6518]
mov r14d, 0x2600
xor r15d, r15d
mov qword [rsp + 0x38], r14
mov r13d, r14d
lea esi, [r15 + 1]
cmp r14d, 0x2e00
jge 0x140010203
mov rax, qword [0x140143050]
cmp byte [rax + r13], 0xe5
je 0x1400101e9
xor ebx, ebx
test esi, esi
je 0x1400101e9
lea rdi, [rsp + 0x40]
mov r13d, 0x1084
nop dword [rax]
cmp ebx, 0xd
jae 0x1400101e4
mov rdx, qword [rdi]
movsxd rcx, r14d
add rcx, qword [0x140143050]
mov rax, qword [rdx]
cmp rax, qword [rcx]
jne 0x1400101da
movzx eax, word [rdx + 8]
cmp ax, word [rcx + 8]
jne 0x1400101da
movzx eax, byte [rdx + 0xa]
cmp al, byte [rcx + 0xa]
jne 0x1400101da
cmp ebx, 3
lea rdx, [rbp - 0x50]
mov ecx, r15d
cmovl rdx, r12
call fcn.14000fa90
mov esi, eax
cmp ebx, 0xc
ja 0x1400101da
bt r13d, ebx
jae 0x1400101da
movaps xmm1, xmm6
mov ecx, 7
call fcn.140052680
inc ebx
add rdi, 8
test esi, esi
jne 0x140010180
mov r13, qword [rsp + 0x38]
add r13, 0x20
inc r15d
add r14d, 0x20
mov qword [rsp + 0x38], r13
test esi, esi
jne 0x140010151
jmp 0x14001020f
xor edx, edx
mov rcx, r12
call fcn.140002930
mov esi, eax
mov r15, qword [rsp + 0x2f0]
mov r14, qword [rsp + 0x2f8]
mov r13, qword [rsp + 0x338]
mov rdi, qword [rsp + 0x330]
mov rbx, qword [rsp + 0x328]
movaps xmm6, xmmword [rsp + 0x2e0]
mov rcx, qword [rsp + 0x30]
call fcn.14009b5a0
mov eax, esi
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.140092060
add rsp, 0x300
pop r12
pop rsi
pop rbp
ret