Function at 0x1400debd0
Capabilities:
Compress data via zlib inflate or deflate

Disassembly:
push rbx
push rsi
push r13
sub rsp, 0x30
mov r13d, edx
mov rsi, rcx
test rcx, rcx
je 0x1400df794
mov rbx, qword [rcx + 0x28]
test rbx, rbx
je 0x1400df794
cmp qword [rcx + 0x10], 0
je 0x1400df789
cmp qword [rcx], 0
jne 0x1400dec10
cmp dword [rcx + 8], 0
jne 0x1400df789
mov eax, dword [rbx + 8]
cmp eax, 0x29a
jne 0x1400dec24
cmp r13d, 4
jne 0x1400df789
cmp dword [rcx + 0x18], 0
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
je 0x1400df774
mov ecx, dword [rbx + 0x40]
xor r15d, r15d
mov qword [rbx], rsi
mov dword [rsp + 0x50], ecx
mov dword [rbx + 0x40], r13d
cmp eax, 0x2a
jne 0x1400defa2
cmp dword [rbx + 0x2c], 2
jne 0x1400deea8
mov dword [rsi + 0x4c], r15d
mov ecx, dword [rbx + 0x28]
mov rax, qword [rbx + 0x10]
mov byte [rcx + rax], 0x1f
inc dword [rbx + 0x28]
mov ecx, dword [rbx + 0x28]
mov rax, qword [rbx + 0x10]
mov byte [rcx + rax], 0x8b
inc dword [rbx + 0x28]
mov ecx, dword [rbx + 0x28]
mov rax, qword [rbx + 0x10]
mov byte [rcx + rax], 8
inc dword [rbx + 0x28]
mov r8, qword [rbx + 0x30]
mov r9d, dword [rbx + 0x28]
test r8, r8
jne 0x1400ded3b
mov rax, qword [rbx + 0x10]
mov byte [r9 + rax], r15b
mov ecx, dword [rbx + 0x28]
mov rax, qword [rbx + 0x10]
inc ecx
mov dword [rbx + 0x28], ecx
mov byte [rcx + rax], r15b
mov ecx, dword [rbx + 0x28]
mov rax, qword [rbx + 0x10]
inc ecx
mov dword [rbx + 0x28], ecx
mov byte [rcx + rax], r15b
mov ecx, dword [rbx + 0x28]
mov rax, qword [rbx + 0x10]
inc ecx
mov dword [rbx + 0x28], ecx
mov byte [rcx + rax], r15b
mov ecx, dword [rbx + 0x28]
mov rax, qword [rbx + 0x10]
inc ecx
mov dword [rbx + 0x28], ecx
mov byte [rcx + rax], r15b
inc dword [rbx + 0x28]
mov eax, dword [rbx + 0xac]
cmp eax, 9
jne 0x1400decff
mov dl, 2
jmp 0x1400ded13
cmp dword [rbx + 0xb0], 2
jge 0x1400ded11
cmp eax, 2
jl 0x1400ded11
xor dl, dl
jmp 0x1400ded13
mov dl, 4
mov ecx, dword [rbx + 0x28]
mov rax, qword [rbx + 0x10]
mov byte [rcx + rax], dl
inc dword [rbx + 0x28]
mov ecx, dword [rbx + 0x28]
mov rax, qword [rbx + 0x10]
mov byte [rcx + rax], 0xb
mov eax, 0x71
inc dword [rbx + 0x28]
mov dword [rbx + 8], eax
jmp 0x1400defa2
mov rax, qword [r8 + 0x20]
neg rax
mov eax, dword [r8 + 0x3c]
sbb dl, dl
and dl, 8
neg eax
mov rax, qword [r8 + 0x30]
sbb cl, cl
and cl, 2
add dl, cl
neg rax
mov rax, qword [r8 + 0x10]
sbb cl, cl
and cl, 0x10
add dl, cl
neg rax
sbb cl, cl
and cl, 4
add dl, cl
cmp dword [r8], r15d
setne al
add dl, al
mov rax, qword [rbx + 0x10]
mov byte [r9 + rax], dl
mov ecx, dword [rbx + 0x28]
mov rax, qword [rbx + 0x30]
inc ecx
mov dword [rbx + 0x28], ecx
mov edx, ecx
mov rcx, qword [rbx + 0x10]
movzx eax, byte [rax + 4]
mov byte [rdx + rcx], al
mov ecx, dword [rbx + 0x28]
mov rax, qword [rbx + 0x30]
inc ecx
mov dword [rbx + 0x28], ecx
mov edx, ecx
mov rcx, qword [rbx + 0x10]
movzx eax, byte [rax + 5]
mov byte [rdx + rcx], al
mov ecx, dword [rbx + 0x28]
mov rax, qword [rbx + 0x30]
inc ecx
mov dword [rbx + 0x28], ecx
mov edx, ecx
mov rcx, qword [rbx + 0x10]
movzx eax, byte [rax + 6]
mov byte [rdx + rcx], al
mov ecx, dword [rbx + 0x28]
mov rax, qword [rbx + 0x30]
inc ecx
mov dword [rbx + 0x28], ecx
mov edx, ecx
mov rcx, qword [rbx + 0x10]
movzx eax, byte [rax + 7]
mov byte [rdx + rcx], al
inc dword [rbx + 0x28]
mov eax, dword [rbx + 0xac]
cmp eax, 9
jne 0x1400dedf6
mov dl, 2
jmp 0x1400dee0a
cmp dword [rbx + 0xb0], 2
jge 0x1400dee08
cmp eax, 2
jl 0x1400dee08
xor dl, dl
jmp 0x1400dee0a
mov dl, 4
mov ecx, dword [rbx + 0x28]
mov rax, qword [rbx + 0x10]
mov byte [rcx + rax], dl
inc dword [rbx + 0x28]
mov rax, qword [rbx + 0x30]
mov edx, dword [rbx + 0x28]
mov rcx, qword [rbx + 0x10]
movzx eax, byte [rax + 0xc]
mov byte [rdx + rcx], al
inc dword [rbx + 0x28]
mov rax, qword [rbx + 0x30]
mov r8d, dword [rbx + 0x28]
cmp qword [rax + 0x10], r15
je 0x1400dee62
movzx eax, byte [rax + 0x18]
mov rcx, qword [rbx + 0x10]
mov byte [r8 + rcx], al
inc dword [rbx + 0x28]
mov rax, qword [rbx + 0x30]
mov edx, dword [rbx + 0x28]
mov rcx, qword [rbx + 0x10]
movzx eax, byte [rax + 0x19]
mov byte [rdx + rcx], al
inc dword [rbx + 0x28]
mov r8d, dword [rbx + 0x28]
mov rax, qword [rbx + 0x30]
cmp dword [rax + 0x3c], r15d
je 0x1400dee97
mov rdx, qword [rbx + 0x10]
test rdx, rdx
jne 0x1400dee8c
mov eax, r15d
mov dword [rsi + 0x4c], eax
mov eax, 0x45
mov dword [rbx + 0x38], r15d
mov dword [rbx + 8], eax
jmp 0x1400defa2
mov ecx, dword [rsi + 0x4c]
call fcn.1400de480
mov dword [rsi + 0x4c], eax
mov eax, 0x45
mov dword [rbx + 0x38], r15d
mov dword [rbx + 8], eax
jmp 0x1400defa2
mov ecx, dword [rbx + 0x48]
shl ecx, 0xc
sub ecx, 0x7800
cmp dword [rbx + 0xb0], 2
mov r8d, ecx
jge 0x1400deef0
mov eax, dword [rbx + 0xac]
cmp eax, 2
jl 0x1400deef0
cmp eax, 6
jge 0x1400deeda
mov eax, 0x40
lea edx, [rax + 0x20]
jmp 0x1400deef8
jne 0x1400deee6
mov eax, pe_nt_image_headers64
lea edx, [rax + 0x20]
jmp 0x1400deef8
mov eax, 0xc0
lea edx, [rax + 0x20]
jmp 0x1400deef8
mov eax, r15d
mov edx, 0x20
or ecx, eax
cmp dword [rbx + 0x94], r15d
je 0x1400def08
mov ecx, r8d
or ecx, edx
mov eax, 0x8421085
mov dword [rbx + 8], 0x71
mul ecx
mov rax, qword [rbx + 0x10]
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 4
inc ecx
imul r8d, ecx, 0x1f
mov ecx, dword [rbx + 0x28]
mov edx, r8d
shr edx, 8
mov byte [rcx + rax], dl
inc dword [rbx + 0x28]
mov ecx, dword [rbx + 0x28]
mov rax, qword [rbx + 0x10]
mov byte [rcx + rax], r8b
inc dword [rbx + 0x28]
cmp dword [rbx + 0x94], r15d
je 0x1400def9b
movzx r8d, word [rsi + 0x4e]
mov ecx, dword [rbx + 0x28]
mov edx, r8d
mov rax, qword [rbx + 0x10]
shr edx, 8
mov byte [rcx + rax], dl
inc dword [rbx + 0x28]
mov ecx, dword [rbx + 0x28]
mov rax, qword [rbx + 0x10]
mov byte [rcx + rax], r8b
inc dword [rbx + 0x28]
movzx r8d, word [rsi + 0x4c]
mov edx, dword [rbx + 0x28]
mov ecx, r8d
mov rax, qword [rbx + 0x10]
shr ecx, 8
mov byte [rdx + rax], cl
inc dword [rbx + 0x28]
mov ecx, dword [rbx + 0x28]
mov rax, qword [rbx + 0x10]
mov byte [rcx + rax], r8b
inc dword [rbx + 0x28]
mov dword [rsi + 0x4c], 1
mov eax, dword [rbx + 8]
mov qword [rsp + 0x68], r12
cmp eax, 0x45
jne 0x1400df0e2
mov rdx, qword [rbx + 0x30]
cmp qword [rdx + 0x10], r15
je 0x1400df134
movzx eax, word [rdx + 0x18]
mov r10d, dword [rbx + 0x28]
mov ecx, r10d
cmp dword [rbx + 0x38], eax
jae 0x1400df09c
cmp ecx, dword [rbx + 0x18]
jne 0x1400df064
cmp dword [rdx + 0x3c], r15d
je 0x1400df008
cmp ecx, r10d
jbe 0x1400df008
sub ecx, r10d
mov edx, r10d
add rdx, qword [rbx + 0x10]
jne 0x1400deffa
mov eax, r15d
jmp 0x1400df005
mov r8d, ecx
mov ecx, dword [rsi + 0x4c]
call fcn.1400de480
mov dword [rsi + 0x4c], eax
mov rbp, qword [rsi + 0x28]
mov rcx, rbp
call fcn.1400e5400
mov r14d, dword [rsi + 0x18]
cmp dword [rbp + 0x28], r14d
cmovbe r14d, dword [rbp + 0x28]
test r14d, r14d
je 0x1400df057
mov rdx, qword [rbp + 0x20]
mov rcx, qword [rsi + 0x10]
mov r8d, r14d
mov edi, r14d
call fcn.1400ffff4
add qword [rsi + 0x10], rdi
add qword [rbp + 0x20], rdi
add dword [rsi + 0x1c], r14d
sub dword [rsi + 0x18], r14d
sub dword [rbp + 0x28], r14d
jne 0x1400df057
mov rax, qword [rbp + 0x10]
mov qword [rbp + 0x20], rax
mov r10d, dword [rbx + 0x28]
mov ecx, r10d
cmp r10d, dword [rbx + 0x18]
je 0x1400df09c
mov rax, qword [rbx + 0x30]
mov r9d, dword [rbx + 0x38]
mov r8d, ecx
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rax + 0x10]
movzx eax, byte [r9 + rdx]
mov byte [r8 + rcx], al
inc dword [rbx + 0x38]
mov ecx, dword [rbx + 0x28]
inc ecx
mov dword [rbx + 0x28], ecx
mov rdx, qword [rbx + 0x30]
movzx eax, word [rdx + 0x18]
cmp dword [rbx + 0x38], eax
jb 0x1400defd5
mov rax, qword [rbx + 0x30]
cmp dword [rax + 0x3c], r15d
je 0x1400df0ca
cmp ecx, r10d
jbe 0x1400df0ca
sub ecx, r10d
mov edx, r10d
add rdx, qword [rbx + 0x10]
jne 0x1400df0bc
mov eax, r15d
jmp 0x1400df0c7
mov r8d, ecx
mov ecx, dword [rsi + 0x4c]
call fcn.1400de480
mov dword [rsi + 0x4c], eax
mov rax, qword [rbx + 0x30]
mov ecx, dword [rax + 0x18]
cmp dword [rbx + 0x38], ecx
jne 0x1400df12f
mov eax, 0x49
mov dword [rbx + 0x38], r15d
mov dword [rbx + 8], eax
cmp eax, 0x49
jne 0x1400df225
mov rax, qword [rbx + 0x30]
cmp qword [rax + 0x20], r15
je 0x1400df280
mov r8d, dword [rbx + 0x28]
lea r9, [rbx + 0x10]
mov edx, r8d
mov r12, r9
cmp edx, dword [rbx + 0x18]
jne 0x1400df1ab
mov rax, qword [rbx + 0x30]
cmp dword [rax + 0x3c], r15d
je 0x1400df14f
cmp edx, r8d
jbe 0x1400df14f
sub edx, r8d
mov eax, r8d
add rax, qword [r9]
jne 0x1400df13e
mov eax, r15d
jmp 0x1400df14c
mov eax, dword [rbx + 8]
jmp 0x1400df0e2
mov eax, 0x49
mov dword [rbx + 8], eax
jmp 0x1400df0eb
mov ecx, dword [rsi + 0x4c]
mov r8d, edx
mov rdx, rax
call fcn.1400de480
mov dword [rsi + 0x4c], eax
mov rbp, qword [rsi + 0x28]
mov rcx, rbp
call fcn.1400e5400
mov r14d, dword [rsi + 0x18]
cmp dword [rbp + 0x28], r14d
cmovbe r14d, dword [rbp + 0x28]
test r14d, r14d
je 0x1400df19e
mov rdx, qword [rbp + 0x20]
mov rcx, qword [rsi + 0x10]
mov r8d, r14d
mov edi, r14d
call fcn.1400ffff4
add qword [rsi + 0x10], rdi
add qword [rbp + 0x20], rdi
add dword [rsi + 0x1c], r14d
sub dword [rsi + 0x18], r14d
sub dword [rbp + 0x28], r14d
jne 0x1400df19e
mov rax, qword [rbp + 0x10]
mov qword [rbp + 0x20], rax
mov r8d, dword [rbx + 0x28]
mov edx, r8d
cmp r8d, dword [rbx + 0x18]
je 0x1400df1df
mov ecx, dword [rbx + 0x38]
mov r9, r12
mov rax, qword [rbx + 0x30]
mov rax, qword [rax + 0x20]
movzx edi, byte [rcx + rax]
lea eax, [rcx + 1]
mov ecx, edx
mov dword [rbx + 0x38], eax
mov rax, qword [r12]
mov byte [rcx + rax], dil
mov edx, dword [rbx + 0x28]
inc edx
mov dword [rbx + 0x28], edx
test edi, edi
jne 0x1400df104
jmp 0x1400df1e4
mov edi, 1
mov rax, qword [rbx + 0x30]
cmp dword [rax + 0x3c], r15d
je 0x1400df215
cmp edx, r8d
jbe 0x1400df215
sub edx, r8d
mov eax, r8d
add rax, qword [r12]
jne 0x1400df204
mov eax, r15d
jmp 0x1400df212
mov ecx, dword [rsi + 0x4c]
mov r8d, edx
mov rdx, rax
call fcn.1400de480
mov dword [rsi + 0x4c], eax
test edi, edi
jne 0x1400df27b
mov eax, 0x5b
mov dword [rbx + 0x38], r15d
mov dword [rbx + 8], eax
cmp eax, 0x5b
jne 0x1400df371
mov rax, qword [rbx + 0x30]
cmp qword [rax + 0x30], r15
je 0x1400df48b
mov r8d, dword [rbx + 0x28]
lea r9, [rbx + 0x10]
mov edx, r8d
nop word [rax + rax]
mov r12, r9
cmp edx, dword [rbx + 0x18]
jne 0x1400df2f7
mov rax, qword [rbx + 0x30]
cmp dword [rax + 0x3c], r15d
je 0x1400df29b
cmp edx, r8d
jbe 0x1400df29b
sub edx, r8d
mov eax, r8d
add rax, qword [r9]
jne 0x1400df28a
mov eax, r15d
jmp 0x1400df298
mov eax, dword [rbx + 8]
jmp 0x1400df225
mov eax, 0x5b
mov dword [rbx + 8], eax
jmp 0x1400df22e
mov ecx, dword [rsi + 0x4c]
mov r8d, edx
mov rdx, rax
call fcn.1400de480
mov dword [rsi + 0x4c], eax
mov rbp, qword [rsi + 0x28]
mov rcx, rbp
call fcn.1400e5400
mov r14d, dword [rsi + 0x18]
cmp dword [rbp + 0x28], r14d
cmovbe r14d, dword [rbp + 0x28]
test r14d, r14d
je 0x1400df2ea
mov rdx, qword [rbp + 0x20]
mov rcx, qword [rsi + 0x10]
mov r8d, r14d
mov edi, r14d
call fcn.1400ffff4
add qword [rsi + 0x10], rdi
add qword [rbp + 0x20], rdi
add dword [rsi + 0x1c], r14d
sub dword [rsi + 0x18], r14d
sub dword [rbp + 0x28], r14d
jne 0x1400df2ea
mov rax, qword [rbp + 0x10]
mov qword [rbp + 0x20], rax
mov r8d, dword [rbx + 0x28]
mov edx, r8d
cmp r8d, dword [rbx + 0x18]
je 0x1400df32b
mov ecx, dword [rbx + 0x38]
mov r9, r12
mov rax, qword [rbx + 0x30]
mov rax, qword [rax + 0x30]
movzx edi, byte [rcx + rax]
lea eax, [rcx + 1]
mov ecx, edx
mov dword [rbx + 0x38], eax
mov rax, qword [r12]
mov byte [rcx + rax], dil
mov edx, dword [rbx + 0x28]
inc edx
mov dword [rbx + 0x28], edx
test edi, edi
jne 0x1400df250
jmp 0x1400df330
mov edi, 1
mov rax, qword [rbx + 0x30]
cmp dword [rax + 0x3c], r15d
je 0x1400df361
cmp edx, r8d
jbe 0x1400df361
sub edx, r8d
mov eax, r8d
add rax, qword [r12]
jne 0x1400df350
mov eax, r15d
jmp 0x1400df35e
mov ecx, dword [rsi + 0x4c]
mov r8d, edx
mov rdx, rax
call fcn.1400de480
mov dword [rsi + 0x4c], eax
test edi, edi
jne 0x1400df483
mov eax, 0x67
mov dword [rbx + 8], eax
cmp eax, 0x67
jne 0x1400df419
mov rax, qword [rbx + 0x30]
cmp dword [rax + 0x3c], r15d
je 0x1400df412
mov eax, dword [rbx + 0x28]
add eax, 2
cmp eax, dword [rbx + 0x18]
jbe 0x1400df3e2
mov rbp, qword [rsi + 0x28]
mov rcx, rbp
call fcn.1400e5400
mov r14d, dword [rsi + 0x18]
cmp dword [rbp + 0x28], r14d
cmovbe r14d, dword [rbp + 0x28]
test r14d, r14d
je 0x1400df3e2
mov rdx, qword [rbp + 0x20]
mov rcx, qword [rsi + 0x10]
mov r8d, r14d
mov edi, r14d
call fcn.1400ffff4
add qword [rsi + 0x10], rdi
add qword [rbp + 0x20], rdi
add dword [rsi + 0x1c], r14d
sub dword [rsi + 0x18], r14d
sub dword [rbp + 0x28], r14d
jne 0x1400df3e2
mov rax, qword [rbp + 0x10]
mov qword [rbp + 0x20], rax
mov ecx, dword [rbx + 0x28]
lea eax, [rcx + 2]
cmp eax, dword [rbx + 0x18]
ja 0x1400df419
movzx eax, byte [rsi + 0x4c]
mov edx, ecx
mov rcx, qword [rbx + 0x10]
mov byte [rdx + rcx], al
inc dword [rbx + 0x28]
mov edx, dword [rbx + 0x28]
movzx eax, byte [rsi + 0x4d]
mov rcx, qword [rbx + 0x10]
mov byte [rdx + rcx], al
inc dword [rbx + 0x28]
mov dword [rsi + 0x4c], r15d
mov dword [rbx + 8], 0x71
mov r12, qword [rsp + 0x68]
cmp dword [rbx + 0x28], r15d
je 0x1400df498
mov rbp, qword [rsi + 0x28]
mov rcx, rbp
call fcn.1400e5400
mov r14d, dword [rsi + 0x18]
cmp dword [rbp + 0x28], r14d
cmovbe r14d, dword [rbp + 0x28]
test r14d, r14d
je 0x1400df473
mov rdx, qword [rbp + 0x20]
mov rcx, qword [rsi + 0x10]
mov r8d, r14d
mov edi, r14d
call fcn.1400ffff4
add qword [rsi + 0x10], rdi
add qword [rbp + 0x20], rdi
add dword [rsi + 0x1c], r14d
sub dword [rsi + 0x18], r14d
sub dword [rbp + 0x28], r14d
jne 0x1400df473
mov rax, qword [rbp + 0x10]
mov qword [rbp + 0x20], rax
cmp dword [rsi + 0x18], r15d
je 0x1400df766
lea rdx, [rsi + 8]
jmp 0x1400df4d8
mov eax, dword [rbx + 8]
jmp 0x1400df371
mov eax, 0x67
mov dword [rbx + 8], eax
jmp 0x1400df37a
lea rdx, [rsi + 8]
cmp dword [rsi + 8], r15d
jne 0x1400df4d8
mov ecx, dword [rsp + 0x50]
lea rdx, [rsi + 8]
cmp ecx, 4
mov eax, r15d
mov r9d, 9
cmovg eax, r9d
add ecx, ecx
sub ecx, eax
lea eax, [r13*2]
cmp eax, ecx
jg 0x1400df4d8
lea rdx, [rsi + 8]
cmp r13d, 4
jne 0x1400df774
mov eax, dword [rbx + 8]
cmp eax, 0x29a
jne 0x1400df4eb
cmp dword [rdx], r15d
jne 0x1400df774
cmp dword [rdx], r15d
jne 0x1400df50d
cmp dword [rbx + 0x9c], r15d
jne 0x1400df50d
test r13d, r13d
je 0x1400df76d
cmp eax, 0x29a
je 0x1400df5d1
mov eax, dword [rbx + 0xb0]
mov edx, r13d
mov rcx, rbx
cmp eax, 2
jne 0x1400df525
call fcn.1400e1020
jmp 0x1400df546
cmp eax, 3
jne 0x1400df531
call fcn.1400e0c00
jmp 0x1400df546
movsxd rax, dword [rbx + 0xac]
lea r8, [0x14015a9f8]
add rax, rax
call qword [r8 + rax*8]
mov ecx, eax
lea eax, [rax - 2]
cmp eax, 1
ja 0x1400df557
mov dword [rbx + 8], 0x29a
test ecx, 0xfffffffd
je 0x1400df760
cmp ecx, 1
jne 0x1400df5d1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.1400e4a30
mov rbp, qword [rsi + 0x28]
mov rcx, rbp
call fcn.1400e5400
mov r14d, dword [rsi + 0x18]
cmp dword [rbp + 0x28], r14d
cmovbe r14d, dword [rbp + 0x28]
test r14d, r14d
je 0x1400df5c7
mov rdx, qword [rbp + 0x20]
mov rcx, qword [rsi + 0x10]
mov r8d, r14d
mov edi, r14d
call fcn.1400ffff4
add qword [rsi + 0x10], rdi
add qword [rbp + 0x20], rdi
add dword [rsi + 0x1c], r14d
sub dword [rsi + 0x18], r14d
sub dword [rbp + 0x28], r14d
jne 0x1400df5c7
mov rax, qword [rbp + 0x10]
mov qword [rbp + 0x20], rax
cmp dword [rsi + 0x18], r15d
je 0x1400df766
cmp r13d, 4
jne 0x1400df76d
mov ecx, dword [rbx + 0x2c]
test ecx, ecx
jg 0x1400df603
lea eax, [r13 - 3]
mov r14, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov r15, qword [rsp + 0x20]
add rsp, 0x30
pop r13
pop rsi
pop rbx
ret
cmp ecx, 2
jne 0x1400df6a3
mov edx, dword [rbx + 0x28]
movzx eax, byte [rsi + 0x4c]
mov rcx, qword [rbx + 0x10]
mov byte [rdx + rcx], al
mov ecx, dword [rbx + 0x28]
inc ecx
mov dword [rbx + 0x28], ecx
movzx eax, byte [rsi + 0x4d]
mov edx, ecx
mov rcx, qword [rbx + 0x10]
mov byte [rdx + rcx], al
mov ecx, dword [rbx + 0x28]
inc ecx
mov dword [rbx + 0x28], ecx
movzx eax, byte [rsi + 0x4e]
mov edx, ecx
mov rcx, qword [rbx + 0x10]
mov byte [rdx + rcx], al
mov ecx, dword [rbx + 0x28]
inc ecx
mov dword [rbx + 0x28], ecx
movzx eax, byte [rsi + 0x4f]
mov edx, ecx
mov rcx, qword [rbx + 0x10]
mov byte [rdx + rcx], al
mov ecx, dword [rbx + 0x28]
inc ecx
mov dword [rbx + 0x28], ecx
movzx eax, byte [rsi + 0xc]
mov edx, ecx
mov rcx, qword [rbx + 0x10]
mov byte [rdx + rcx], al
inc dword [rbx + 0x28]
mov edx, dword [rbx + 0x28]
movzx eax, byte [rsi + 0xd]
mov rcx, qword [rbx + 0x10]
mov byte [rdx + rcx], al
inc dword [rbx + 0x28]
mov edx, dword [rbx + 0x28]
movzx eax, byte [rsi + 0xe]
mov rcx, qword [rbx + 0x10]
mov byte [rdx + rcx], al
inc dword [rbx + 0x28]
mov edx, dword [rbx + 0x28]
mov rcx, qword [rbx + 0x10]
movzx eax, byte [rsi + 0xf]
mov byte [rdx + rcx], al
jmp 0x1400df6f2
movzx r8d, word [rsi + 0x4e]
mov ecx, dword [rbx + 0x28]
mov edx, r8d
mov rax, qword [rbx + 0x10]
shr edx, 8
mov byte [rcx + rax], dl
mov ecx, dword [rbx + 0x28]
mov rax, qword [rbx + 0x10]
inc ecx
mov dword [rbx + 0x28], ecx
mov byte [rcx + rax], r8b
mov ecx, dword [rbx + 0x28]
mov rax, qword [rbx + 0x10]
inc ecx
mov dword [rbx + 0x28], ecx
movzx r8d, word [rsi + 0x4c]
mov edx, r8d
shr edx, 8
mov byte [rcx + rax], dl
mov ecx, dword [rbx + 0x28]
mov rax, qword [rbx + 0x10]
inc ecx
mov dword [rbx + 0x28], ecx
mov byte [rcx + rax], r8b
inc dword [rbx + 0x28]
mov rbp, qword [rsi + 0x28]
mov rcx, rbp
call fcn.1400e5400
mov r14d, dword [rsi + 0x18]
cmp dword [rbp + 0x28], r14d
cmovbe r14d, dword [rbp + 0x28]
test r14d, r14d
je 0x1400df744
mov rdx, qword [rbp + 0x20]
mov rcx, qword [rsi + 0x10]
mov r8d, r14d
mov edi, r14d
call fcn.1400ffff4
add qword [rsi + 0x10], rdi
add qword [rbp + 0x20], rdi
add dword [rsi + 0x1c], r14d
sub dword [rsi + 0x18], r14d
sub dword [rbp + 0x28], r14d
jne 0x1400df744
mov rax, qword [rbp + 0x10]
mov qword [rbp + 0x20], rax
mov eax, dword [rbx + 0x2c]
test eax, eax
jle 0x1400df750
neg eax
mov dword [rbx + 0x2c], eax
cmp dword [rbx + 0x28], r15d
sete r15b
mov eax, r15d
jmp 0x1400df5e6
cmp dword [rsi + 0x18], r15d
jne 0x1400df76d
mov dword [rbx + 0x40], 0xffffffff
xor eax, eax
jmp 0x1400df5e6
lea rax, str.buffer_error
mov qword [rsi + 0x20], rax
mov eax, 0xfffffffb
jmp 0x1400df5e6
lea rax, str.stream_error
mov qword [rcx + 0x20], rax
mov eax, 0xfffffffe
add rsp, 0x30
pop r13
pop rsi
pop rbx
ret