Function at 0x1400144c0
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 0x140014592
xor eax, eax
jmp 0x1400147bb
lea rax, [0x140156a6c]
mov edx, 0x104
mov qword [rsp + 0x28], rax
lea r9, str._s_sdiskcopy.dll
lea rax, [0x1401e86a0]
mov r8, 0xffffffffffffffff
lea rcx, [rbp + 0xc0]
mov qword [rsp + 0x20], rax
call fcn.140004fd0
lea rdx, [rsp + 0x30]
mov byte [rbp + 0x1c3], sil
lea rcx, [rbp + 0xc0]
call fcn.14004f550
cmp eax, 0x16ee00
je 0x1400145f9
lea rcx, str.diskcopy.dll_was_either_not_found_or_is_invalid
call fcn.14004f2f0
jmp 0x1400147af
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 [0x1401d0b68], rax
mov rax, 0xffffffffffffffff
movaps xmmword [rsp + 0x2e0], xmm6
mov dword [0x1401d0b64], 0x168000
nop dword [rax]
inc rax
cmp byte [r12 + rax], sil
jne 0x140014650
inc rax
lea rcx, [rbp - 0x50]
mov ebx, 0x104
mov rdx, r12
cmp rax, rbx
cmovb rbx, rax
mov r8, rbx
call fcn.140135ea0
mov r9, 0xffffffffffffffff
mov byte [rbp + rbx - 0x51], sil
lea r8, str.LOCALE_
mov edx, 0x104
lea rcx, [rbp - 0x50]
call fcn.1400e8d6c
xor edx, edx
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
movss xmm6, dword [0x140177040]
mov r14d, 0x2600
mov r13d, r14d
mov qword [rsp + 0x38], r14
xor r15d, r15d
mov esi, 1
cmp r14d, 0x2e00
jge 0x140014773
mov rax, qword [0x1401d0b68]
cmp byte [rax + r13], 0xe5
je 0x140014759
xor ebx, ebx
test esi, esi
je 0x140014759
lea rdi, [rsp + 0x40]
mov r13d, 0x1084
nop
cmp ebx, 0xd
jae 0x140014754
mov rdx, qword [rdi]
movsxd rcx, r14d
add rcx, qword [0x1401d0b68]
mov rax, qword [rdx]
cmp rax, qword [rcx]
jne 0x14001474a
movzx eax, word [rdx + 8]
cmp ax, word [rcx + 8]
jne 0x14001474a
movzx eax, byte [rdx + 0xa]
cmp al, byte [rcx + 0xa]
jne 0x14001474a
cmp ebx, 3
lea rdx, [rbp - 0x50]
mov ecx, r15d
cmovl rdx, r12
call fcn.140013ff0
mov esi, eax
cmp ebx, 0xc
ja 0x14001474a
bt r13d, ebx
jae 0x14001474a
movaps xmm1, xmm6
mov ecx, 7
call fcn.140066320
inc ebx
add rdi, 8
test esi, esi
jne 0x1400146f0
mov r13, qword [rsp + 0x38]
add r13, 0x20
inc r15d
add r14d, 0x20
mov qword [rsp + 0x38], r13
test esi, esi
jne 0x1400146c2
jmp 0x14001477f
xor edx, edx
mov rcx, r12
call fcn.140004360
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.1400e8c70
mov eax, esi
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.1400b2a30
add rsp, 0x300
pop r12
pop rsi
pop rbp
ret