Function at 0x14004b290
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r11, qword [rdx + 0x18]
mov rbx, rdx
mov rbp, qword [rcx + 8]
mov r14, rcx
mov r15, qword [rcx]
mov rax, rbp
mov r13, qword [rdx + 0x1b0]
sub rax, r9
mov r12, qword [r11 + 0x1f0]
mov qword [rsp + 0x78], rax
mov rax, qword [r11 + 0x408]
mov qword [rsp + 0x70], r15
test byte [rax + 0x8c], 1
jne 0x14004b2f6
cmp dword [r11 + 0x13c], 2
jne 0x14004b38f
cmp byte [r11 + 0x1b8], 0x14
je 0x14004b38f
mov rdi, qword [rdx + 0x320]
test rdi, rdi
je 0x14004b31d
cmp r9, rdi
jle 0x14004b31d
sub rdi, r9
add rdi, rbp
jmp 0x14004b320
mov rdi, rbp
mov rax, qword [rdx + 0xc80]
test rax, rax
jne 0x14004b362
mov ecx, dword [rdx + 0x6e8]
call qword [fcn.14006bcf0]
mov qword [rbx + 0xc80], rax
test rax, rax
jne 0x14004b362
mov rcx, qword [r14]
call qword [fcn.14006baa8]
xor edi, edi
mov qword [r14], rdi
mov qword [r14 + 0x10], rdi
mov qword [r14 + 8], rdi
lea eax, [rdi + 0x1b]
jmp 0x14004b4b0
mov esi, dword [rbx + 0x6e8]
mov rdx, r15
cmp rdi, rsi
mov rcx, rax
cmovbe rsi, rdi
mov r8, rsi
call fcn.140062140
mov r15, qword [rbx + 0xc80]
mov r11, qword [rbx + 0x18]
mov qword [rsp + 0x70], r15
jmp 0x14004b3ab
mov rsi, qword [rdx + 0x320]
test rsi, rsi
je 0x14004b3a8
cmp r9, rsi
jle 0x14004b3a8
sub rsi, r9
add rsi, rbp
jmp 0x14004b3ab
mov rsi, rbp
xor edi, edi
mov r9, rsi
mov eax, edi
mov dword [rsp + 0x90], edi
cmp r12, qword [r11 + 0x1f8]
mov r8, r15
mov rcx, rbx
sete al
mov r10d, eax
lea rax, [rsp + 0x90]
mov edx, r10d
mov qword [rsp + 0x20], rax
call qword [r11 + r10*8 + 0x228]
mov r15, rax
test rax, rax
jns 0x14004b407
mov esi, dword [rsp + 0x90]
test esi, esi
je 0x14004b48e
cmp esi, 0x51
jne 0x14004b493
mov r15d, edi
cmp r15, qword [rsp + 0x78]
mov rsi, r15
mov r12, r15
cmova rsi, qword [rsp + 0x78]
sub r12, rsi
cmp byte [rbx + 0xa76], dil
je 0x14004b513
cmp qword [rbx + 0x270], rdi
je 0x14004b4dd
mov rax, qword [rbx + 0xd8]
test rax, rax
jne 0x14004b44d
mov rax, qword [rbx + 0xd0]
test rax, rax
je 0x14004b454
mov byte [rax + 0x182], 1
mov rax, qword [rbx + 0x1d8]
mov r9, rsi
mov r8, qword [rsp + 0x70]
mov edx, 2
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [rbx + 0x270]
mov rax, qword [rbx + 0xd8]
test rax, rax
je 0x14004b4c8
mov byte [rax + 0x182], dil
jmp 0x14004b513
mov esi, 0x37
mov rcx, qword [r14]
call qword [fcn.14006baa8]
mov qword [r14], rdi
mov eax, esi
mov qword [r14 + 0x10], rdi
mov qword [r14 + 8], rdi
mov qword [rbx + 0x118], rdi
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [rbx + 0xd0]
test rax, rax
je 0x14004b513
mov byte [rax + 0x182], dil
jmp 0x14004b513
mov r9, qword [rbx + 0x1d0]
lea rcx, [0x1400b92ae]
mov edx, 2
lea r8d, [rdx - 1]
call fcn.14006b43c
mov r9, qword [rbx + 0x1d0]
mov r8d, 1
mov rcx, qword [rsp + 0x70]
mov rdx, rsi
call fcn.14006b43c
test r12, r12
je 0x14004b58d
mov r8, qword [rsp + 0x70]
add r8, rsi
cmp byte [rbx + 0xa76], dil
je 0x14004b58d
cmp qword [rbx + 0x270], rdi
je 0x14004b58d
mov rax, qword [rbx + 0xd8]
test rax, rax
jne 0x14004b54a
mov rax, qword [rbx + 0xd0]
test rax, rax
je 0x14004b551
mov byte [rax + 0x182], 1
mov rax, qword [rbx + 0x1d8]
mov r9, r12
mov edx, 4
mov qword [rsp + 0x20], rax
mov rcx, rbx
call qword [rbx + 0x270]
mov rax, qword [rbx + 0xd8]
test rax, rax
jne 0x14004b586
mov rax, qword [rbx + 0xd0]
test rax, rax
je 0x14004b58d
mov byte [rax + 0x182], dil
mov rcx, qword [rsp + 0x80]
movsxd rax, r15d
add qword [rcx], rax
test r13, r13
je 0x14004b666
add qword [rbx + 0x100], r12
mov rax, qword [rbx + 0x100]
mov qword [rbx + 0xad0], rax
cmp r15, rbp
je 0x14004b654
mov rcx, qword [r14]
sub rbp, r15
mov rax, qword [rbx + 0x10e8]
add rcx, r15
mov qword [r13 + 0x1e0], rax
mov rax, qword [rbx + 0x10f0]
mov qword [r13 + 0x1e8], rax
mov rax, qword [r13 + 0x10]
mov qword [r13 + 0x1f0], rax
mov rax, qword [r13 + 8]
mov qword [r13 + 0x1f8], rax
lea rax, [0x14004b170]
mov qword [rbx + 0x10e8], rax
mov rax, qword [rsp + 0x78]
mov qword [rbx + 0x10f0], rbx
sub rax, rsi
mov qword [r13 + 0x10], rcx
mov qword [r13 + 8], rbp
mov qword [rbx + 0x118], rax
xor eax, eax
movups xmm0, xmmword [r14]
movups xmmword [r13 + 0x208], xmm0
movups xmm1, xmmword [r14 + 0x10]
mov dword [r13 + 0x200], 1
movups xmmword [r13 + 0x218], xmm1
jmp 0x14004b4b0
mov dword [r13 + 0x200], 2
mov esi, edi
jmp 0x14004b493
mov esi, edi
cmp r15, rbp
je 0x14004b493
mov eax, 0x37
jmp 0x14004b4b0