Function at 0x140005360
Capabilities:
Create directory
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x14002d010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r13, r8
mov r12, rdx
mov rbx, rcx
mov qword [rsp + 0x20], rcx
xor edx, edx
lea rcx, str.._dumps_
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
xor edx, edx
test eax, eax
jne 0x1400053b9
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1400055d0
xor edx, edx
mov rbp, qword [rbx + 0x10]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, rbp
cmp rax, 8
jb 0x14000564a
mov r15, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1400053e4
mov r15, qword [rbx]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x40], rdx
lea r14, [rbp + 8]
mov edi, 0xf
lea rsi, [rsp + 0x28]
cmp r14, rdi
jbe 0x140005481
mov rdi, r14
or rdi, 0xf
cmp rdi, rcx
jbe 0x140005417
mov rdi, rcx
jmp 0x140005423
mov eax, 0x16
cmp rdi, rax
cmovb rdi, rax
mov rcx, rdi
add rcx, 1
mov rax, 0xffffffffffffffff
cmovb rcx, rax
cmp rcx, 0x1000
jb 0x14000546a
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140005650
mov rcx, rax
call fcn.1400080d0
test rax, rax
je 0x14000563e
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x14000547c
test rcx, rcx
je 0x140005479
call fcn.1400080d0
mov rsi, rax
jmp 0x14000547c
mov rsi, rdx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], rdi
movabs rax, 0x2f73706d75642f2e
mov qword [rsi], rax
lea rcx, [rsi + 8]
mov r8, rbp
mov rdx, r15
call fcn.14000c3d0
mov byte [rsi + r14], 0
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae rcx, qword [rsp + 0x28]
lea rdx, [0x140029298]
call fcn.14000e5f8
mov rdi, rax
test rax, rax
je 0x140005596
mov r9, rax
mov r8d, 1
mov rdx, r13
mov rcx, r12
call fcn.14000e93c
mov rcx, rdi
call fcn.14000e688
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x14000552e
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005529
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000563e
call fcn.14000835c
xor edi, edi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], 0xf
mov byte [rsp + 0x28], dil
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14000557d
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140005578
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140005656
mov rcx, r8
call fcn.14000835c
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov eax, 1
jmp 0x140005619
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x1400055d0
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400055ca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000563e
call fcn.14000835c
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140005606
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140005601
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140005644
mov rcx, r8
call fcn.14000835c
xor edi, edi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], dil
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400080b0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14000e4bc
nop
call fcn.14000e4bc
nop
call fcn.1400039a0
int3
call fcn.140001230
nop
call fcn.14000e4bc
int3