Function at 0x140009640
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 [0x140027610]
lea rcx, [rbp - 0x49]
mov rsi, rax
mov dword [rbp - 0x49], 0x27001d
mov eax, 0x62
mov dword [rbp - 0x45], 0x30000b
mov word [rbp - 0x31], ax
mov dword [rbp - 0x41], 0x370027
mov dword [rbp - 0x3d], 0x390003
mov dword [rbp - 0x39], 0x220020
mov dword [rbp - 0x35], 0xf001d
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 0x1400096fa
nop dword [rax]
inc rdi
cmp word [rsi + rdi*2], r13w
jne 0x1400096f0
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 0x140009742
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 0x140009730
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 0x14000979b
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, 0x77
mov dword [rbp - 0x49], 0x25000d
lea rcx, [rbp - 0x49]
mov word [rbp - 0x19], ax
mov dword [rbp - 0x45], 0x120021
mov dword [rbp - 0x41], 0x190019
mov dword [rbp - 0x3d], 0x60020
mov dword [rbp - 0x39], 0x170002
mov dword [rbp - 0x35], 0x190015
mov dword [rbp - 0x31], 0x2000b
mov dword [rbp - 0x2d], 0x24001c
mov dword [rbp - 0x29], 0x31001f
mov dword [rbp - 0x25], 0x9001d
mov dword [rbp - 0x21], 0x230016
mov dword [rbp - 0x1d], 0x380005
call fcn.140002520
mov r14, rax
mov rdi, r13
cmp word [rax], r13w
je 0x14000984a
nop dword [rax]
inc rdi
cmp word [rax + rdi*2], r13w
jne 0x140009840
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 0x140009892
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 0x140009880
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 0x1400098eb
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 0x140009940
inc rdi
cmp word [rsi + rdi*2], r13w
jne 0x140009936
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 0x140009981
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 0x140009970
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 0x1400099da
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, 0x6d
mov dword [rbp - 0x49], 0x25000d
lea rcx, [rbp - 0x49]
mov word [rbp + 3], ax
mov dword [rbp - 0x45], 0x120021
mov dword [rbp - 0x41], 0x190019
mov dword [rbp - 0x3d], 0x60020
mov dword [rbp - 0x39], 0x170002
mov dword [rbp - 0x35], 0x190015
mov dword [rbp - 0x31], 0x2000b
mov dword [rbp - 0x2d], 0x24001c
mov dword [rbp - 0x29], 0x31001f
mov dword [rbp - 0x25], 0x9001d
mov dword [rbp - 0x21], 0x230016
mov dword [rbp - 0x1d], 0x380005
mov dword [rbp - 0x19], 0x12002b
mov dword [rbp - 0x15], 0x19000c
mov dword [rbp - 0x11], 0x290023
mov dword [rbp - 0xd], 0x1a0003
mov dword [rbp - 9], 0x200009
mov dword [rbp - 5], 0x6005b
mov dword [rbp - 1], 0xb0030
call fcn.140002bb0
mov rsi, rax
mov rdi, r13
cmp word [rax], r13w
je 0x140009aba
nop dword [rax]
inc rdi
cmp word [rax + rdi*2], r13w
jne 0x140009ab0
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 0x140009b01
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 0x140009af0
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 0x140009b5a
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