Function at 0x180050a00
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xd0
mov rax, qword [0x18012f010]
xor rax, rsp
mov qword [rbp + 0x3f], rax
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
xor r12d, r12d
mov qword [rbp - 9], r12
mov qword [rbp - 1], r12
lea ecx, [r12 + 0x50]
call fcn.18009354c
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbp - 9], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x27], xmm0
mov qword [rbp + 0x37], rax
lea rcx, [rbp + 0x27]
call fcn.1800505b0
nop
mov r15, qword [rbp + 0x2f]
mov rbx, qword [rbp + 0x27]
cmp rbx, r15
je 0x180050cc8
add rbx, 0x40
movzx ecx, byte [rbx - 0x40]
test ecx, ecx
je 0x180050ba7
cmp ecx, 1
jne 0x180050cb7
mov rax, qword [rbx + 8]
mov r14d, dword [rax]
lea rdx, [rbx - 0x38]
cmp qword [rbx - 0x20], 0x10
jb 0x180050aba
mov rdx, qword [rdx]
mov qword [rbp - 0x69], r12
mov qword [rbp - 0x59], r12
mov qword [rbp - 0x51], 0xf
mov byte [rbp - 0x69], 0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x180050ad5
lea rcx, [rbp - 0x69]
call fcn.18004d2a0
nop
lea r8, [rbp - 0x69]
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 9]
call fcn.18008ae60
mov rdi, qword [rax]
lea rcx, [rbp - 0x69]
call fcn.18004d0b0
lea rdx, [rbx - 0x18]
cmp qword [rbx], 0x10
jb 0x180050b13
mov rdx, qword [rdx]
mov qword [rbp + 7], r12
mov qword [rbp + 0x17], r12
mov qword [rbp + 0x1f], 0xf
mov byte [rbp + 7], 0
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x180050b30
lea rcx, [rbp + 7]
call fcn.18004d2a0
nop
lea r8, [rbp + 7]
lea rdx, [rbp - 0x39]
lea rcx, [rdi + 0x40]
call fcn.18008b080
mov rsi, qword [rax]
add rsi, 0x40
lea rcx, [rbp + 7]
call fcn.18004d0b0
mov edx, r14d
lea rcx, [rbp - 0x69]
call fcn.18004e470
mov rdi, rax
cmp rsi, rax
je 0x180050b9e
mov rcx, rsi
call fcn.18004d0b0
movups xmm0, xmmword [rdi]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rsi + 0x10], xmm1
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
lea rcx, [rbp - 0x69]
jmp 0x180050cb2
mov rax, qword [rbx + 8]
movzx r14d, byte [rax]
lea rdx, [rbx - 0x38]
cmp qword [rbx - 0x20], 0x10
jb 0x180050bbd
mov rdx, qword [rdx]
mov qword [rbp + 7], r12
mov qword [rbp + 0x17], r12
mov qword [rbp + 0x1f], 0xf
mov byte [rbp + 7], 0
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x180050be0
lea rcx, [rbp + 7]
call fcn.18004d2a0
nop
lea r8, [rbp + 7]
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 9]
call fcn.18008ae60
mov rdi, qword [rax]
lea rcx, [rbp + 7]
call fcn.18004d0b0
lea rdx, [rbx - 0x18]
cmp qword [rbx], 0x10
jb 0x180050c1e
mov rdx, qword [rdx]
mov qword [rbp - 0x69], r12
mov qword [rbp - 0x59], r12
mov qword [rbp - 0x51], 0xf
mov byte [rbp - 0x69], 0
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x180050c40
lea rcx, [rbp - 0x69]
call fcn.18004d2a0
nop
lea r8, [rbp - 0x69]
lea rdx, [rbp - 0x19]
lea rcx, [rdi + 0x40]
call fcn.18008b080
mov rsi, qword [rax]
add rsi, 0x40
lea rcx, [rbp - 0x69]
call fcn.18004d0b0
mov edx, r14d
lea rcx, [rbp + 7]
call fcn.18004e470
mov rdi, rax
cmp rsi, rax
je 0x180050cae
mov rcx, rsi
call fcn.18004d0b0
movups xmm0, xmmword [rdi]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rsi + 0x10], xmm1
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
lea rcx, [rbp + 7]
call fcn.18004d0b0
add rbx, 0x50
lea rax, [rbx - 0x40]
cmp rax, r15
jne 0x180050a90
lea rcx, [0x1801514b8]
cmp qword [0x1801514d0], 0x10
cmovae rcx, qword [0x1801514b8]
lea rdx, [0x180100880]
call fcn.1800a044c
mov rbx, rax
test rax, rax
je 0x180050d31
lea rdx, [rbp + 7]
lea rcx, [rbp - 9]
call fcn.18004f380
lea rcx, [rbp + 7]
cmp qword [rbp + 0x1f], 0x10
cmovae rcx, qword [rbp + 7]
mov r9, rbx
mov r8, qword [rbp + 0x17]
mov edx, 1
call fcn.1800a0234
mov rcx, rbx
call fcn.18009d2b8
lea rcx, [rbp + 7]
call fcn.18004d0b0
nop
lea rcx, [rbp + 0x27]
call fcn.180087400
nop
mov r8, qword [rbp - 9]
mov r8, qword [r8 + 8]
lea rdx, [rbp - 9]
lea rcx, [rbp - 9]
call fcn.18008ed20
mov edx, 0x50
mov rcx, qword [rbp - 9]
call fcn.18009323c
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.180092eb0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret