Function at 0x140013d00
Capabilities:
Create directory

Disassembly:
push rbp
push rsi
push r12
lea rbp, [rsp - 0x200]
sub rsp, 0x300
mov rax, qword [0x140193440]
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 0x140013dd2
xor eax, eax
jmp 0x140013ffb
lea rax, [0x1401569ec]
mov edx, 0x104
mov qword [rsp + 0x28], rax
lea r9, str._s_sdiskcopy.dll
lea rax, [0x1401e8720]
mov r8, 0xffffffffffffffff
lea rcx, [rbp + 0xc0]
mov qword [rsp + 0x20], rax
call fcn.140004960
lea rdx, [rsp + 0x30]
mov byte [rbp + 0x1c3], sil
lea rcx, [rbp + 0xc0]
call fcn.14004fb70
cmp eax, 0x16ee00
je 0x140013e39
lea rcx, str.diskcopy.dll_was_either_not_found_or_is_invalid
call fcn.14004f910
jmp 0x140013fef
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 [0x1401d0ae8], rax
mov rax, 0xffffffffffffffff
movaps xmmword [rsp + 0x2e0], xmm6
mov dword [0x1401d0ae4], 0x168000
nop dword [rax]
inc rax
cmp byte [r12 + rax], sil
jne 0x140013e90
inc rax
lea rcx, [rbp - 0x50]
mov ebx, 0x104
mov rdx, r12
cmp rax, rbx
cmovb rbx, rax
mov r8, rbx
call fcn.1401362c0
mov r9, 0xffffffffffffffff
mov byte [rbp + rbx - 0x51], sil
lea r8, str.LOCALE_
mov edx, 0x104
lea rcx, [rbp - 0x50]
call fcn.1400e917c
xor edx, edx
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
movss xmm6, dword [0x140176fd0]
mov r14d, 0x2600
xor r15d, r15d
mov qword [rsp + 0x38], r14
mov r13d, r14d
lea esi, [r15 + 1]
cmp r14d, 0x2e00
jge 0x140013fb3
mov rax, qword [0x1401d0ae8]
cmp byte [rax + r13], 0xe5
je 0x140013f99
xor ebx, ebx
test esi, esi
je 0x140013f99
lea rdi, [rsp + 0x40]
mov r13d, 0x1084
nop dword [rax]
cmp ebx, 0xd
jae 0x140013f94
mov rdx, qword [rdi]
movsxd rcx, r14d
add rcx, qword [0x1401d0ae8]
mov rax, qword [rdx]
cmp rax, qword [rcx]
jne 0x140013f8a
movzx eax, word [rdx + 8]
cmp ax, word [rcx + 8]
jne 0x140013f8a
movzx eax, byte [rdx + 0xa]
cmp al, byte [rcx + 0xa]
jne 0x140013f8a
cmp ebx, 3
lea rdx, [rbp - 0x50]
mov ecx, r15d
cmovl rdx, r12
call fcn.140013840
mov esi, eax
cmp ebx, 0xc
ja 0x140013f8a
bt r13d, ebx
jae 0x140013f8a
movaps xmm1, xmm6
mov ecx, 7
call fcn.140066be0
inc ebx
add rdi, 8
test esi, esi
jne 0x140013f30
mov r13, qword [rsp + 0x38]
add r13, 0x20
inc r15d
add r14d, 0x20
mov qword [rsp + 0x38], r13
test esi, esi
jne 0x140013f01
jmp 0x140013fbf
xor edx, edx
mov rcx, r12
call fcn.140003d40
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.1400e9080
mov eax, esi
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.1400b1f80
add rsp, 0x300
pop r12
pop rsi
pop rbp
ret