Function at 0x140141400
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
xorps xmm0, xmm0
lea rcx, [rbp + 0x78]
xor eax, eax
mov r14, r8
mov r15, rdx
mov qword [rsp + 0x68], rax
mov r8b, 1
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov edi, eax
mov qword [rbp + 0x78], rax
movups xmmword [rbp - 0x70], xmm0
mov qword [rsp + 0x58], rax
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
call fcn.14016ca20
mov ebx, eax
test eax, eax
js 0x1401416de
mov r8b, 1
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x50]
call fcn.14016ca20
mov r14, qword ds:[rsp + 0x60]
mov ebx, eax
mov rsi, qword [rbp + 0x78]
test eax, eax
js 0x14014166e
mov rcx, qword [0x1402cba10]
xor ebx, ebx
mov edx, 4
mov word [rbp - 0x30], bx
mov r8d, 0x30
mov dword [rbp - 0x70], 0x70
mov dword [rbp - 0x34], 0x181
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], r14
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
xorps xmm0, xmm0
mov rdx, rax
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
mov dword [rax + 4], 1
mov qword [rbp - 8], rax
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], r14
mov eax, dword [rax + 8]
cmp eax, dword [rdx + 4]
jb 0x14014151d
mov ebx, 0xc0000017
jmp 0x14014166e
or dword [rdx], 4
inc rax
lea rax, [rax + rax*2]
mov qword [rdx + rax*8], 0x20002
mov eax, dword [rdx + 8]
lea rcx, [rax + rax*2]
mov qword [rdx + rcx*8 + 0x20], 0x10
mov eax, dword [rdx + 8]
lea rcx, [rax + rax*2]
lea rax, [rsp + 0x78]
mov qword [rdx + rcx*8 + 0x28], rax
inc dword [rdx + 8]
mov rax, qword [rbp + 0x60]
test rax, rax
je 0x140141562
mov rdx, qword [rax + 8]
jmp 0x140141565
mov rdx, rbx
mov qword [rsp + 0x48], rbx
lea rax, [rsp + 0x68]
mov qword [rsp + 0x40], rax
xor r9d, r9d
mov qword [rsp + 0x38], rbx
lea rax, [rbp - 0x70]
mov qword [rsp + 0x30], rbx
xor r8d, r8d
mov dword [rsp + 0x28], 0x191
xor ecx, ecx
mov qword [rsp + 0x20], rax
call sym.SystemInformer.exe_PhCreateProcessWin32Ex
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.ntdll.dll_NtClose]
xor esi, esi
mov rcx, r14
mov qword [rbp + 0x78], rsi
call qword [sym.imp.ntdll.dll_NtClose]
mov r14, qword ds:[rsp + 0x68]
test ebx, ebx
js 0x14014166e
test r15, r15
je 0x140141606
mov rcx, qword [rsp + 0x58]
xor eax, eax
mov qword [rsp + 0x40], rax
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov eax, dword [r15]
xor edx, edx
mov dword [rsp + 0x30], eax
mov rax, qword [r15 + 8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtWriteFile]
mov rcx, qword [rsp + 0x50]
lea r8, [rbp + 0x78]
lea rdx, [rsp + 0x68]
call fcn.140140960
test eax, eax
js 0x140141648
mov eax, dword [rbp + 0x78]
mov rbx, qword [rsp + 0x68]
test eax, eax
je 0x140141636
mov edx, eax
mov rcx, rbx
call sym.SystemInformer.exe_PhConvertUtf8ToUtf16Ex
mov rdi, rax
mov rcx, qword [0x1402cba10]
mov r8, rbx
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov r9d, 0x30
mov qword [rsp + 0x20], rsi
lea r8, [rbp]
xor edx, edx
mov rcx, r14
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
mov ebx, eax
cmovns ebx, dword [rbp]
test r14, r14
je 0x14014167c
mov rcx, r14
call qword [sym.imp.ntdll.dll_NtClose]
cmp qword [rsp + 0x50], 0
je 0x14014168f
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntdll.dll_NtClose]
mov r14, qword [rbp + 0x70]
test rsi, rsi
je 0x1401416a6
mov rcx, rsi
call qword [sym.imp.ntdll.dll_NtClose]
cmp qword [rsp + 0x58], 0
je 0x1401416b9
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ntdll.dll_NtClose]
mov r8, qword ds:[rbp - 8]
test r8, r8
je 0x1401416d4
mov rcx, qword [0x1402cba10]
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
test r14, r14
je 0x1401416e4
mov qword [r14], rdi
jmp 0x140141705
mov rsi, qword [rbp + 0x78]
jmp 0x140141693
test rdi, rdi
je 0x140141705
lea rcx, [rdi - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140141705
nop dword [rax]
call fcn.140142200
mov eax, ebx
mov rbx, qword [rsp + 0x168]
add rsp, 0x130
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret