Function at 0x1400227f0
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x6d8
mov rax, qword [0x1401deb80]
xor rax, rsp
mov qword [rsp + 0x6c0], rax
cmp qword [rsp + 0x6f0], 0
je 0x1400228fb
mov r8d, 0x104
mov rdx, qword [rsp + 0x6f0]
lea rcx, [rsp + 0x2a0]
call fcn.1401531ec
lea rax, [rsp + 0x2a0]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x30], 0xffffffffffffffff
inc qword [rsp + 0x30]
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x30]
cmp word [rax + rcx*2], 0
jne 0x140022858
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jbe 0x1400228d7
mov rax, qword [rsp + 0x38]
movzx eax, word [rsp + rax*2 + 0x29e]
cmp eax, 0x2f
je 0x1400228a7
mov rax, qword [rsp + 0x38]
movzx eax, word [rsp + rax*2 + 0x29e]
cmp eax, 0x5c
jne 0x1400228d7
mov rax, qword [rsp + 0x38]
lea rax, [rax + rax - 2]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0x208
jae 0x1400228c3
jmp 0x1400228c8
call fcn.14014a0b0
xor eax, eax
mov rcx, qword [rsp + 0x48]
mov word [rsp + rcx + 0x2a0], ax
lea rcx, [rsp + 0x2a0]
call fcn.1400186c0
movzx eax, al
test eax, eax
jne 0x1400228fb
xor edx, edx
lea rcx, [rsp + 0x2a0]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rax, qword [rsp + 0x6f8]
movzx eax, word [rax]
test eax, eax
jne 0x14002290f
jmp 0x140022b56
mov rax, qword [rsp + 0x6f8]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
test eax, eax
je 0x140022966
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x2f
je 0x14002294c
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5c
jne 0x140022956
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x20]
add rax, 2
mov qword [rsp + 0x20], rax
jmp 0x140022926
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x6f8]
cmp qword [rsp + 0x28], rax
je 0x140022a16
mov rax, qword [rsp + 0x6f8]
mov rcx, qword [rsp + 0x28]
sub rcx, rax
mov rax, rcx
sar rax, 1
shl rax, 1
lea rcx, [rsp + 0x4b0]
mov rdi, rcx
mov rsi, qword [rsp + 0x6f8]
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x6f8]
mov rcx, qword [rsp + 0x28]
sub rcx, rax
mov rax, rcx
sar rax, 1
shl rax, 1
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0x208
jae 0x1400229df
jmp 0x1400229e4
call fcn.14014a0b0
xor eax, eax
mov rcx, qword [rsp + 0x50]
mov word [rsp + rcx + 0x4b0], ax
lea rdx, [rsp + 0x4b0]
mov rcx, qword [rsp + 0x6f0]
call fcn.1400227f0
mov rax, qword [rsp + 0x58]
add rax, 2
mov qword [rsp + 0x58], rax
mov eax, 2
imul rax, rax, 0
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0x208
jae 0x140022a31
jmp 0x140022a36
call fcn.14014a0b0
xor eax, eax
mov rcx, qword [rsp + 0x60]
mov word [rsp + rcx + 0x90], ax
cmp qword [rsp + 0x6f0], 0
je 0x140022a6b
mov r8d, 0x104
mov rdx, qword [rsp + 0x6f0]
lea rcx, [rsp + 0x90]
call fcn.1401531ec
mov eax, 2
imul rax, rax, 0x103
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0x208
jae 0x140022a89
jmp 0x140022a8e
call fcn.14014a0b0
xor eax, eax
mov rcx, qword [rsp + 0x68]
mov word [rsp + rcx + 0x90], ax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x40], 0xffffffffffffffff
inc qword [rsp + 0x40]
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x40]
cmp word [rax + rcx*2], 0
jne 0x140022ab6
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x70], rax
mov eax, 0x104
sub rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x70]
lea rcx, [rsp + rcx*2 + 0x90]
mov r8, rax
mov rdx, qword [rsp + 0x6f8]
call fcn.1401531ec
mov eax, 2
imul rax, rax, 0x103
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0x208
jae 0x140022b1e
jmp 0x140022b23
call fcn.14014a0b0
xor eax, eax
mov rcx, qword [rsp + 0x78]
mov word [rsp + rcx + 0x90], ax
lea rcx, [rsp + 0x90]
call fcn.1400186c0
movzx eax, al
test eax, eax
jne 0x140022b56
xor edx, edx
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rcx, qword [rsp + 0x6c0]
xor rcx, rsp
call fcn.140149a30
add rsp, 0x6d8
pop rdi
pop rsi
ret