Function at 0x140038020
Capabilities:
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 - 0xd0]
sub rsp, 0x1d0
mov rax, qword [0x14049f3c0]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov rsi, rcx
mov r12d, dword [rbp + 0x120]
mov rbx, qword [rbp + 0x138]
mov r13d, dword [rbp + 0x140]
mov r15, qword [rbp + 0x158]
xor r14d, r14d
mov rax, qword [rcx + 0x138]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x14003835c
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x40]
call fcn.14030b3a0
lea rcx, [rbp - 0x40]
call fcn.140031840
nop
lea rdi, str.NULL
mov rdx, rdi
test rbx, rbx
cmovne rdx, rbx
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r14
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400380e0
lea rcx, [rsp + 0x60]
call fcn.140031e00
nop
lea rdx, [rsp + 0x60]
call fcn.1400a2560
lea rdx, str.IPC
lea rcx, [rbp - 0x30]
call fcn.14002ed00
mov rcx, qword [rax]
movsxd r8, dword [rcx + 4]
mov ecx, dword [r8 + rax + 0x18]
and ecx, 0xfffff3ff
mov r14d, 0x200
or ecx, r14d
mov dword [r8 + rax + 0x18], ecx
mov edx, r12d
mov rcx, rax
call fcn.14001f120
mov rcx, rax
lea rdx, [0x14041b3e0]
call fcn.14002ed00
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 7
cmova rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x70]
mov rcx, rax
call fcn.140060f60
mov rcx, rax
lea rdx, [0x14041b3dc]
call fcn.140049e60
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
mov eax, dword [rbp + rcx - 0x18]
and eax, 0xfffff3ff
or eax, r14d
mov dword [rbp + rcx - 0x18], eax
mov edx, r13d
lea rcx, [rbp - 0x30]
call fcn.14001f120
mov rcx, rax
lea rdx, [0x14041b3f4]
call fcn.140049e60
test r15, r15
cmovne rdi, r15
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xor r12d, r12d
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x68], r12
inc rbx
cmp word [rdi + rbx*2], r12w
jne 0x1400381c3
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp - 0x80]
call fcn.140031e00
nop
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 7
cmova rdx, qword [rbp - 0x80]
mov r8, qword [rbp - 0x70]
lea rcx, [rbp - 0x30]
call fcn.140060f60
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x40]
call fcn.14002ec20
nop
mov rax, qword [rbp - 0x50]
cmp rax, r14
cmovb r14w, ax
movzx r15d, r14w
lea rdi, [r15*2 + 8]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rax
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov qword [rsp + 0x50], r12
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.140020fb0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x40]
lea rbx, [rcx + rdi]
mov r8, rdi
xor edx, edx
call fcn.14030b3a0
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x58], r12
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x1400382ee
mov rax, qword [rsp + 0x48]
sub rax, rbx
cmp rax, rdi
jne 0x1400382ee
mov eax, dword [rbp + 0x148]
mov dword [rbx], eax
mov word [rbx + 4], r14w
lea r8, [rbp - 0x60]
cmp qword [rbp - 0x48], 7
cmova r8, qword [rbp - 0x60]
lea rdx, [r15 + 1]
lea rcx, [rbx + 6]
call fcn.1402cabb0
mov dword [rsp + 0x58], r12d
lea rcx, [rsi + 0x140]
mov qword [rsp + 0x38], rcx
call fcn.14002eb20
nop
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x58]
mov r8d, edi
mov rdx, rbx
mov rcx, qword [rsi + 0x138]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
lea rcx, [rsp + 0x38]
call fcn.14001e8e0
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140038334
mov rdx, qword [rsp + 0x50]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140038321
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003838c
call fcn.1402ba9fc
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r12
lea rcx, [rbp - 0x60]
call fcn.1400166f0
nop
lea rcx, [rbp - 0x80]
call fcn.1400166f0
nop
lea rcx, [rsp + 0x60]
call fcn.1400166f0
nop
lea rcx, [rbp - 0x40]
call fcn.14002f2f0
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.1402ba9b0
lea r11, [rsp + 0x1d0]
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
call fcn.1402caabc
nop
int3