Function at 0x14013c4c0
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 r13
push r14
lea rbp, [rsp - 0x30]
sub rsp, 0x130
xorps xmm0, xmm0
lea rcx, [rsp + 0x50]
xor eax, eax
mov r14, r8
mov r13, rdx
mov qword [rsp + 0x68], rax
mov r8b, 1
mov qword [rbp + 0x78], rax
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov esi, eax
mov qword [rsp + 0x50], rax
movups xmmword [rbp - 0x80], xmm0
mov qword [rsp + 0x58], rax
movups xmmword [rbp - 0x70], xmm0
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
call fcn.140163640
mov ebx, eax
test eax, eax
js 0x14013c750
mov r8b, 1
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x78]
call fcn.140163640
mov r14, qword ds:[rsp + 0x60]
mov ebx, eax
mov rdi, qword [rsp + 0x50]
test eax, eax
js 0x14013c6e3
mov rcx, qword [0x1402bfe50]
lea edx, [rsi + 4]
xor ebx, ebx
mov dword [rbp - 0x80], 0x70
lea r8d, [rsi + 0x30]
mov word [rbp - 0x40], bx
mov dword [rbp - 0x44], 0x181
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x20], 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 - 0x18], rax
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], r14
mov eax, dword [rax + 8]
cmp eax, dword [rdx + 4]
jb 0x14013c5d4
mov ebx, 0xc0000017
jmp 0x14013c6e3
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 + 0x70]
mov qword [rdx + rcx*8 + 0x28], rax
inc dword [rdx + 8]
mov rax, qword [rbp + 0x60]
test rax, rax
je 0x14013c619
mov rdx, qword [rax + 8]
jmp 0x14013c61c
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 - 0x80]
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, rdi
mov ebx, eax
call qword [sym.imp.ntdll.dll_NtClose]
xor edi, edi
mov rcx, r14
mov qword [rsp + 0x50], rdi
call qword [sym.imp.ntdll.dll_NtClose]
mov r14, qword [rsp + 0x68]
test ebx, ebx
js 0x14013c6e3
test r13, r13
je 0x14013c6b5
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 [r13]
xor edx, edx
mov dword [rsp + 0x30], eax
mov rax, qword [r13 + 8]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtWriteFile]
mov rcx, qword [rbp + 0x78]
call fcn.14013bcc0
mov r9d, 0x30
mov qword [rsp + 0x20], rdi
lea r8, [rbp]
xor edx, edx
mov rcx, r14
mov rsi, rax
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
mov ebx, eax
cmovns ebx, dword [rbp]
test r14, r14
je 0x14013c6f1
mov rcx, r14
call qword [sym.imp.ntdll.dll_NtClose]
cmp qword [rbp + 0x78], 0
je 0x14013c706
mov rcx, qword ds:[rbp + 0x78]
call qword [sym.imp.ntdll.dll_NtClose]
mov r14, qword [rbp + 0x70]
test rdi, rdi
je 0x14013c718
mov rcx, rdi
call qword [sym.imp.ntdll.dll_NtClose]
cmp qword ds:[rsp + 0x58], 0
je 0x14013c72d
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ntdll.dll_NtClose]
mov r8, qword [rbp - 0x18]
test r8, r8
je 0x14013c746
mov rcx, qword [0x1402bfe50]
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
test r14, r14
je 0x14013c757
mov qword [r14], rsi
jmp 0x14013c774
mov rdi, qword [rsp + 0x50]
jmp 0x14013c70a
test rsi, rsi
je 0x14013c774
lea rcx, [rsi - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14013c774
call fcn.14013d2a0
mov eax, ebx
mov rbx, qword [rsp + 0x168]
add rsp, 0x130
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret