Function at 0x1400022b0
Capabilities:
Create directory
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x140007040]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov rbx, rdx
xorps xmm0, xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x20], xmm1
xor r15d, r15d
mov qword [rsp + 0x30], r15
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], r15
xor r8d, r8d
lea rdx, [0x1400053f8]
lea rcx, [rsp + 0x38]
call fcn.140002e40
nop
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14000232c
mov rcx, qword [rbx]
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rsi, rax
mov r14d, 1
cmp dword [rsp + 0x60], 0x10
jne 0x140002355
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x1400025ad
mov rcx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x28]
cmp rcx, rax
je 0x140002376
mov rdx, rax
call fcn.140002db0
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rdi, r15
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14000249c
nop word [rax + rax]
mov rdx, rbx
mov r8, qword [rbx + 0x18]
cmp r8, 0xf
jbe 0x1400023a0
mov rdx, qword [rbx]
cmp byte [rdx + rdi], 0x5c
je 0x1400023fe
cmp rcx, rdi
jbe 0x140002687
mov rax, rbx
cmp r8, 0xf
jbe 0x1400023bb
mov rax, qword [rbx]
movzx r9d, byte [rax + rdi]
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
cmp rcx, rdx
jae 0x1400023f2
lea rax, [rcx + 1]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x38]
cmp rdx, 0xf
cmova rax, qword [rsp + 0x38]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140002440
lea rcx, [rsp + 0x38]
call fcn.140002f40
jmp 0x140002440
cmp rax, qword [rsp + 0x30]
je 0x14000241a
lea rdx, [rsp + 0x38]
mov rcx, rax
call fcn.1400028f0
add qword [rsp + 0x28], 0x20
jmp 0x14000242c
lea r8, [rsp + 0x38]
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140003240
mov r8, r14
lea rdx, [0x1400053fc]
lea rcx, [rsp + 0x38]
call fcn.140002b90
mov rax, qword [rbx + 0x10]
dec rax
cmp rdi, rax
mov rax, qword [rsp + 0x28]
jne 0x14000248c
cmp rax, qword [rsp + 0x30]
je 0x140002475
lea rdx, [rsp + 0x38]
mov rcx, rax
call fcn.1400028f0
mov rax, qword [rsp + 0x28]
add rax, 0x20
mov qword [rsp + 0x28], rax
jmp 0x14000248c
lea r8, [rsp + 0x38]
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140003240
mov rax, qword [rsp + 0x28]
inc rdi
mov rcx, qword [rbx + 0x10]
cmp rdi, rcx
jb 0x140002390
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rdi, r14
mov rdx, qword [rsp + 0x28]
mov rax, rdx
mov rcx, qword [rsp + 0x20]
sub rax, rcx
sar rax, 5
cmp r14, rax
jae 0x140002566
mov esi, 0x20
nop word [rax + rax]
sub rdx, rcx
sar rdx, 5
cmp rdx, rdi
jbe 0x140002681
lea r8, [rcx + rsi]
lea rax, [rsp + 0x38]
cmp rax, r8
je 0x140002509
mov rdx, r8
cmp qword [r8 + 0x18], 0xf
jbe 0x1400024fb
mov rdx, qword [r8]
mov r8, qword [r8 + 0x10]
lea rcx, [rsp + 0x38]
call fcn.140002a30
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0xf
cmova rcx, qword [rsp + 0x38]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x140002542
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0xf
cmova rcx, qword [rsp + 0x38]
mov edx, 0x80
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
inc rdi
add rsi, 0x20
mov rdx, qword [rsp + 0x28]
mov rax, rdx
mov rcx, qword [rsp + 0x20]
sub rax, rcx
sar rax, 5
cmp rdi, rax
jb 0x1400024d0
cmp rcx, rdx
je 0x14000257a
call fcn.140002db0
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
cmp qword [rbx + 0x18], 0xf
jbe 0x140002584
mov rbx, qword [rbx]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rcx, rax
cmp dword [rsp + 0x60], 0x10
jne 0x1400025a4
call qword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x1400025ad
call qword [sym.imp.KERNEL32.dll_FindClose]
mov r14d, r15d
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x1400025ed
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400025e8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400025e8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003780
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], 0xf
mov byte [rsp + 0x38], 0
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x140002652
mov rdx, qword [rsp + 0x28]
call fcn.140002db0
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000264d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000264d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003780
mov eax, r14d
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.140003760
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140002a10
nop
call fcn.140002c60
int3