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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov r8d, 0x208
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, qword [0x140025610]
lea rcx, [rbp - 0x49]
mov rsi, rax
mov dword [rbp - 0x49], 0x40028
mov eax, 0x6e
mov dword [rbp - 0x45], 0x380007
mov word [rbp - 0x31], ax
mov dword [rbp - 0x41], 0x270023
mov dword [rbp - 0x3d], 0x3c003f
mov dword [rbp - 0x39], 0xe002f
mov dword [rbp - 0x35], 0x120033
call fcn.140002e40
mov rcx, rax
mov r8d, 0x104
mov rdx, rsi
call rbx
xor r13d, r13d
mov r12d, r13d
mov qword [rbp + 7], r13
mov edi, r13d
mov qword [rbp + 0xf], r13
cmp word [rsi], r13w
je 0x14000cd3a
nop dword [rax]
inc rdi
cmp word [rsi + rdi*2], r13w
jne 0x14000cd30
lea rbx, [rdi*2 + 2]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r14, rax
test rdi, rdi
je 0x14000cd82
mov r9, rsi
mov rdx, rax
sub r9, rax
mov r8, rdi
nop dword [rax]
movzx ecx, word [r9 + rdx]
mov word [rdx], cx
lea rdx, [rdx + 2]
sub r8, 1
jne 0x14000cd70
mov r8, rdi
mov word [rax + rdi*2], r13w
mov rdx, r14
lea rcx, [rbp + 0x27]
call fcn.140001940
lea r8, [rbp + 0x27]
lea rdx, [rbp - 0x49]
lea rcx, [rbp + 7]
call fcn.1400019d0
mov rbx, rax
lea rax, [rbp + 7]
cmp rax, rbx
je 0x14000cddb
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r8, qword [rbx + 8]
lea rcx, [rbp + 7]
mov rdx, qword [rbx]
call fcn.140001940
mov r12, qword [rbp + 7]
mov rbx, qword [rbp - 0x49]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r14
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, 0x45
mov dword [rbp - 0x49], 0x60038
lea rcx, [rbp - 0x49]
mov word [rbp - 0x19], ax
mov dword [rbp - 0x45], 0x1a002d
mov dword [rbp - 0x41], 0x9001d
mov dword [rbp - 0x3d], 0x3001c
mov dword [rbp - 0x39], 0x3b000d
mov dword [rbp - 0x35], 0x4003b
mov dword [rbp - 0x31], 0x170007
mov dword [rbp - 0x2d], 0x1f0016
mov dword [rbp - 0x29], 0x1c002d
mov dword [rbp - 0x25], 0x90010
mov dword [rbp - 0x21], 0x2d0021
mov dword [rbp - 0x1d], 0x270039
call fcn.140002520
mov r14, rax
mov rdi, r13
cmp word [rax], r13w
je 0x14000ce8a
nop dword [rax]
inc rdi
cmp word [rax + rdi*2], r13w
jne 0x14000ce80
lea rbx, [rdi*2 + 2]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r15, rax
test rdi, rdi
je 0x14000ced2
mov rdx, rax
sub r14, rax
mov r8, rdi
nop word [rax + rax]
movzx ecx, word [r14 + rdx]
mov word [rdx], cx
lea rdx, [rdx + 2]
sub r8, 1
jne 0x14000cec0
mov r8, rdi
mov word [rax + rdi*2], r13w
mov rdx, r15
lea rcx, [rbp - 0x49]
call fcn.140001940
lea r8, [rbp - 0x49]
lea rdx, [rbp + 0x27]
lea rcx, [rbp + 7]
call fcn.1400019d0
mov rbx, rax
lea rax, [rbp + 7]
cmp rax, rbx
je 0x14000cf2b
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r12
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r8, qword [rbx + 8]
lea rcx, [rbp + 7]
mov rdx, qword [rbx]
call fcn.140001940
mov r12, qword [rbp + 7]
mov rbx, qword [rbp + 0x27]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r15
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor edx, edx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov r15, r13
mov qword [rbp + 0x17], r13
mov rdi, r13
mov qword [rbp + 0x1f], r13
cmp word [rsi], r13w
je 0x14000cf80
inc rdi
cmp word [rsi + rdi*2], r13w
jne 0x14000cf76
lea rbx, [rdi*2 + 2]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r14, rax
test rdi, rdi
je 0x14000cfc1
mov rdx, rax
sub rsi, rax
mov r8, rdi
movzx ecx, word [rsi + rdx]
mov word [rdx], cx
lea rdx, [rdx + 2]
sub r8, 1
jne 0x14000cfb0
mov r8, rdi
mov word [rax + rdi*2], r13w
mov rdx, r14
lea rcx, [rbp - 0x49]
call fcn.140001940
lea r8, [rbp - 0x49]
lea rdx, [rbp + 0x27]
lea rcx, [rbp + 0x17]
call fcn.1400019d0
mov rbx, rax
lea rax, [rbp + 0x17]
cmp rax, rbx
je 0x14000d01a
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r8, qword [rbx + 8]
lea rcx, [rbp + 0x17]
mov rdx, qword [rbx]
call fcn.140001940
mov r15, qword [rbp + 0x17]
mov rbx, qword [rbp + 0x27]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r14
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, 0x78
mov dword [rbp - 0x49], 0x60038
lea rcx, [rbp - 0x49]
mov word [rbp + 3], ax
mov dword [rbp - 0x45], 0x1a002d
mov dword [rbp - 0x41], 0x9001d
mov dword [rbp - 0x3d], 0x3001c
mov dword [rbp - 0x39], 0x3b000d
mov dword [rbp - 0x35], 0x4003b
mov dword [rbp - 0x31], 0x170007
mov dword [rbp - 0x2d], 0x1f0016
mov dword [rbp - 0x29], 0x1c002d
mov dword [rbp - 0x25], 0x90010
mov dword [rbp - 0x21], 0x2d0021
mov dword [rbp - 0x1d], 0x270039
mov dword [rbp - 0x19], 0x290019
mov dword [rbp - 0x15], 0x11002d
mov dword [rbp - 0x11], 0x340015
mov dword [rbp - 0xd], 0x190001
mov dword [rbp - 9], 0x1c002f
mov dword [rbp - 5], 0x30058
mov dword [rbp - 1], 0x240025
call fcn.140002bb0
mov rsi, rax
mov rdi, r13
cmp word [rax], r13w
je 0x14000d0fa
nop dword [rax]
inc rdi
cmp word [rax + rdi*2], r13w
jne 0x14000d0f0
lea rbx, [rdi*2 + 2]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r14, rax
test rdi, rdi
je 0x14000d141
mov rcx, rax
sub rsi, rax
mov r8, rdi
nop word [rax + rax]
movzx edx, word [rsi + rcx]
mov word [rcx], dx
lea rcx, [rcx + 2]
sub r8, 1
jne 0x14000d130
mov r8, rdi
mov word [rax + rdi*2], r13w
mov rdx, r14
lea rcx, [rbp - 0x49]
call fcn.140001940
lea r8, [rbp - 0x49]
lea rdx, [rbp + 0x27]
lea rcx, [rbp + 0x17]
call fcn.1400019d0
mov rbx, rax
lea rax, [rbp + 0x17]
cmp rax, rbx
je 0x14000d19a
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r15
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r8, qword [rbx + 8]
lea rcx, [rbp + 0x17]
mov rdx, qword [rbx]
call fcn.140001940
mov r15, qword [rbp + 0x17]
mov rbx, qword [rbp + 0x27]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r14
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rsp + 0x30], r13
xor r9d, r9d
mov dword [rsp + 0x28], pe_nt_image_headers64
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x20], 2
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CreateFileW]
lea r9, [rbp + 0x67]
mov qword [rsp + 0x20], r13
mov rcx, rax
lea rdx, section..data
mov r8d, 0x155b4
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r15
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r12
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret