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

Disassembly:
push rbx
push rsi
push r12
sub rsp, 0x30
mov r12d, edx
mov rsi, rcx
test rcx, rcx
je 0x140026cd5
mov rbx, qword [rcx + 0x28]
test rbx, rbx
je 0x140026cd5
cmp edx, 5
ja 0x140026cd5
cmp qword [rcx + 0x10], 0
je 0x140026cca
cmp qword [rcx], 0
jne 0x140026129
cmp dword [rcx + 8], 0
jne 0x140026cca
mov eax, dword [rbx + 8]
cmp eax, 0x29a
jne 0x14002613d
cmp r12d, 4
jne 0x140026cca
cmp dword [rcx + 0x18], 0
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
je 0x140026cb5
mov r13d, dword [rbx + 0x40]
xor r15d, r15d
mov qword [rbx], rsi
mov dword [rbx + 0x40], r12d
cmp eax, 0x2a
jne 0x1400264dd
cmp dword [rbx + 0x2c], 2
jne 0x1400263d1
mov dword [rcx + 0x4c], r15d
mov ecx, dword [rbx + 0x28]
mov rax, qword [rbx + 0x10]
mov byte [rcx + rax], 0x1f
mov ecx, dword [rbx + 0x28]
mov rax, qword [rbx + 0x10]
inc ecx
mov dword [rbx + 0x28], ecx
mov byte [rcx + rax], 0x8b
mov ecx, dword [rbx + 0x28]
mov rax, qword [rbx + 0x10]
inc ecx
mov dword [rbx + 0x28], ecx
mov byte [rcx + rax], 8
mov r8d, dword [rbx + 0x28]
mov r9, qword [rbx + 0x30]
inc r8d
mov dword [rbx + 0x28], r8d
test r9, r9
jne 0x140026262
mov rax, qword [rbx + 0x10]
mov byte [r8 + 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
mov ecx, dword [rbx + 0x28]
mov eax, dword [rbx + 0xac]
inc ecx
mov dword [rbx + 0x28], ecx
cmp eax, 9
jne 0x140026227
mov dl, 2
jmp 0x14002623b
cmp dword [rbx + 0xb0], 2
jge 0x140026239
cmp eax, 2
jl 0x140026239
xor dl, dl
jmp 0x14002623b
mov dl, 4
mov rax, qword [rbx + 0x10]
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], 0xb
mov eax, 0x71
inc dword [rbx + 0x28]
mov dword [rbx + 8], eax
jmp 0x1400264dd
mov rax, qword [r9 + 0x30]
neg rax
mov eax, dword [r9 + 0x3c]
sbb dl, dl
and dl, 0x10
neg eax
mov rax, qword [r9 + 0x20]
sbb cl, cl
and cl, 2
add dl, cl
neg rax
mov rax, qword [r9 + 0x10]
sbb cl, cl
and cl, 8
add dl, cl
neg rax
sbb cl, cl
and cl, 4
add dl, cl
cmp dword [r9], r15d
setne al
add dl, al
mov rax, qword [rbx + 0x10]
mov byte [r8 + rax], dl
mov edx, dword [rbx + 0x28]
mov rax, qword [rbx + 0x30]
inc edx
mov rcx, qword [rbx + 0x10]
mov dword [rbx + 0x28], edx
movzx eax, byte [rax + 4]
mov byte [rdx + rcx], al
mov edx, dword [rbx + 0x28]
mov rax, qword [rbx + 0x30]
inc edx
mov rcx, qword [rbx + 0x10]
mov dword [rbx + 0x28], edx
movzx eax, byte [rax + 5]
mov byte [rdx + rcx], al
mov edx, dword [rbx + 0x28]
mov rax, qword [rbx + 0x30]
inc edx
mov rcx, qword [rbx + 0x10]
mov dword [rbx + 0x28], edx
movzx eax, byte [rax + 6]
mov byte [rdx + rcx], al
mov edx, dword [rbx + 0x28]
mov rax, qword [rbx + 0x30]
inc edx
mov rcx, qword [rbx + 0x10]
mov dword [rbx + 0x28], edx
movzx eax, byte [rax + 7]
mov byte [rdx + rcx], al
mov ecx, dword [rbx + 0x28]
mov eax, dword [rbx + 0xac]
inc ecx
mov dword [rbx + 0x28], ecx
cmp eax, 9
jne 0x14002631a
mov dl, 2
jmp 0x14002632e
cmp dword [rbx + 0xb0], 2
jge 0x14002632c
cmp eax, 2
jl 0x14002632c
xor dl, dl
jmp 0x14002632e
mov dl, 4
mov rax, qword [rbx + 0x10]
mov byte [rcx + rax], dl
mov edx, dword [rbx + 0x28]
mov rax, qword [rbx + 0x30]
inc edx
mov rcx, qword [rbx + 0x10]
mov dword [rbx + 0x28], edx
movzx eax, byte [rax + 0xc]
mov byte [rdx + rcx], al
mov r8d, dword [rbx + 0x28]
mov rax, qword [rbx + 0x30]
inc r8d
mov dword [rbx + 0x28], r8d
cmp qword [rax + 0x10], r15
je 0x14002638b
movzx eax, byte [rax + 0x18]
mov rcx, qword [rbx + 0x10]
mov byte [r8 + rcx], al
mov edx, dword [rbx + 0x28]
mov rax, qword [rbx + 0x30]
inc edx
mov rcx, qword [rbx + 0x10]
mov dword [rbx + 0x28], edx
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 0x1400263c0
mov rdx, qword [rbx + 0x10]
test rdx, rdx
jne 0x1400263b5
mov eax, r15d
mov dword [rsi + 0x4c], eax
mov eax, 0x45
mov dword [rbx + 0x38], r15d
mov dword [rbx + 8], eax
jmp 0x1400264dd
mov ecx, dword [rsi + 0x4c]
call fcn.140028830
mov dword [rsi + 0x4c], eax
mov eax, 0x45
mov dword [rbx + 0x38], r15d
mov dword [rbx + 8], eax
jmp 0x1400264dd
mov ecx, dword [rbx + 0x48]
shl ecx, 0xc
sub ecx, 0x7800
cmp dword [rbx + 0xb0], 2
mov r8d, ecx
jge 0x14002641f
mov eax, dword [rbx + 0xac]
cmp eax, 2
jl 0x14002641f
cmp eax, 6
jge 0x140026405
mov eax, 0x40
mov edx, 0x60
jmp 0x140026427
jne 0x140026413
mov eax, 0x80
mov edx, 0xa0
jmp 0x140026427
mov eax, 0xc0
mov edx, 0xe0
jmp 0x140026427
mov eax, r15d
mov edx, 0x20
or ecx, eax
cmp dword [rbx + 0x94], r15d
je 0x140026437
mov ecx, edx
or ecx, r8d
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
mov ecx, dword [rbx + 0x28]
mov rax, qword [rbx + 0x10]
inc ecx
mov dword [rbx + 0x28], ecx
mov byte [rcx + rax], r8b
mov eax, dword [rbx + 0x28]
inc eax
mov dword [rbx + 0x28], eax
cmp dword [rbx + 0x94], r15d
je 0x1400264d6
movzx r8d, word [rsi + 0x4e]
mov ecx, eax
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 edx, dword [rbx + 0x28]
mov rax, qword [rbx + 0x10]
inc edx
mov dword [rbx + 0x28], edx
movzx r8d, word [rsi + 0x4c]
mov ecx, r8d
shr ecx, 8
mov byte [rdx + rax], cl
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 dword [rsi + 0x4c], 1
cmp dword [rbx + 8], 0x45
jne 0x14002661a
mov rdx, qword [rbx + 0x30]
cmp qword [rdx + 0x10], r15
je 0x140026613
movzx eax, word [rdx + 0x18]
mov r9d, dword [rbx + 0x28]
mov ecx, r9d
cmp dword [rbx + 0x38], eax
jae 0x1400265d5
nop dword [rax]
cmp ecx, dword [rbx + 0x18]
jne 0x14002659f
cmp dword [rdx + 0x3c], r15d
je 0x140026543
cmp ecx, r9d
jbe 0x140026543
sub ecx, r9d
mov edx, r9d
add rdx, qword [rbx + 0x10]
jne 0x140026535
mov eax, r15d
jmp 0x140026540
mov r8d, ecx
mov ecx, dword [rsi + 0x4c]
call fcn.140028830
mov dword [rsi + 0x4c], eax
mov rbp, qword [rsi + 0x28]
mov rcx, rbp
call fcn.14002abb0
mov r14d, dword [rsi + 0x18]
cmp dword [rbp + 0x28], r14d
cmovbe r14d, dword [rbp + 0x28]
test r14d, r14d
je 0x140026592
mov rdx, qword [rbp + 0x20]
mov rcx, qword [rsi + 0x10]
mov r8d, r14d
mov edi, r14d
call fcn.140092620
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 0x140026592
mov rax, qword [rbp + 0x10]
mov qword [rbp + 0x20], rax
mov r9d, dword [rbx + 0x28]
mov ecx, r9d
cmp r9d, dword [rbx + 0x18]
je 0x1400265d5
mov r8d, dword [rbx + 0x38]
mov rax, qword [rbx + 0x30]
mov edx, ecx
mov rcx, qword [rbx + 0x10]
mov rax, qword [rax + 0x10]
movzx eax, byte [r8 + rax]
mov byte [rdx + 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 0x140026510
mov rax, qword [rbx + 0x30]
cmp dword [rax + 0x3c], r15d
je 0x140026603
cmp ecx, r9d
jbe 0x140026603
sub ecx, r9d
mov edx, r9d
add rdx, qword [rbx + 0x10]
jne 0x1400265f5
mov eax, r15d
jmp 0x140026600
mov r8d, ecx
mov ecx, dword [rsi + 0x4c]
call fcn.140028830
mov dword [rsi + 0x4c], eax
mov rax, qword [rbx + 0x30]
mov ecx, dword [rax + 0x18]
cmp dword [rbx + 0x38], ecx
jne 0x14002661a
mov dword [rbx + 0x38], r15d
mov dword [rbx + 8], 0x49
cmp dword [rbx + 8], 0x49
jne 0x14002673d
mov rax, qword [rbx + 0x30]
cmp qword [rax + 0x20], r15
je 0x140026736
mov edx, dword [rbx + 0x28]
mov r8d, edx
nop dword [rax + rax]
cmp r8d, dword [rbx + 0x18]
jne 0x1400266cc
mov rax, qword [rbx + 0x30]
cmp dword [rax + 0x3c], r15d
je 0x140026672
cmp r8d, edx
jbe 0x140026672
sub r8d, edx
add rdx, qword [rbx + 0x10]
jne 0x140026667
mov eax, r15d
jmp 0x14002666f
mov ecx, dword [rsi + 0x4c]
call fcn.140028830
mov dword [rsi + 0x4c], eax
mov rbp, qword [rsi + 0x28]
mov rcx, rbp
call fcn.14002abb0
mov r14d, dword [rsi + 0x18]
cmp dword [rbp + 0x28], r14d
cmovbe r14d, dword [rbp + 0x28]
test r14d, r14d
je 0x1400266c1
mov rdx, qword [rbp + 0x20]
mov rcx, qword [rsi + 0x10]
mov r8d, r14d
mov edi, r14d
call fcn.140092620
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 0x1400266c1
mov rax, qword [rbp + 0x10]
mov qword [rbp + 0x20], rax
mov edx, dword [rbx + 0x28]
mov r8d, edx
cmp edx, dword [rbx + 0x18]
je 0x140026701
mov ecx, dword [rbx + 0x38]
mov rax, qword [rbx + 0x30]
mov rax, qword [rax + 0x20]
movzx edi, byte [rcx + rax]
lea eax, [rcx + 1]
mov ecx, r8d
mov dword [rbx + 0x38], eax
mov rax, qword [rbx + 0x10]
mov byte [rcx + rax], dil
mov r8d, dword [rbx + 0x28]
inc r8d
mov dword [rbx + 0x28], r8d
test edi, edi
jne 0x140026640
jmp 0x140026706
mov edi, 1
mov rax, qword [rbx + 0x30]
cmp dword [rax + 0x3c], r15d
je 0x14002672e
cmp r8d, edx
jbe 0x14002672e
sub r8d, edx
add rdx, qword [rbx + 0x10]
jne 0x140026723
mov eax, r15d
jmp 0x14002672b
mov ecx, dword [rsi + 0x4c]
call fcn.140028830
mov dword [rsi + 0x4c], eax
test edi, edi
jne 0x14002673d
mov dword [rbx + 0x38], r15d
mov dword [rbx + 8], 0x5b
cmp dword [rbx + 8], 0x5b
jne 0x140026859
mov rax, qword [rbx + 0x30]
cmp qword [rax + 0x30], r15
je 0x140026852
mov edx, dword [rbx + 0x28]
mov r8d, edx
nop dword [rax + rax]
cmp r8d, dword [rbx + 0x18]
jne 0x1400267ec
mov rax, qword [rbx + 0x30]
cmp dword [rax + 0x3c], r15d
je 0x140026792
cmp r8d, edx
jbe 0x140026792
sub r8d, edx
add rdx, qword [rbx + 0x10]
jne 0x140026787
mov eax, r15d
jmp 0x14002678f
mov ecx, dword [rsi + 0x4c]
call fcn.140028830
mov dword [rsi + 0x4c], eax
mov rbp, qword [rsi + 0x28]
mov rcx, rbp
call fcn.14002abb0
mov r14d, dword [rsi + 0x18]
cmp dword [rbp + 0x28], r14d
cmovbe r14d, dword [rbp + 0x28]
test r14d, r14d
je 0x1400267e1
mov rdx, qword [rbp + 0x20]
mov rcx, qword [rsi + 0x10]
mov r8d, r14d
mov edi, r14d
call fcn.140092620
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 0x1400267e1
mov rax, qword [rbp + 0x10]
mov qword [rbp + 0x20], rax
mov edx, dword [rbx + 0x28]
mov r8d, edx
cmp edx, dword [rbx + 0x18]
je 0x140026821
mov ecx, dword [rbx + 0x38]
mov rax, qword [rbx + 0x30]
mov rax, qword [rax + 0x30]
movzx edi, byte [rcx + rax]
lea eax, [rcx + 1]
mov ecx, r8d
mov dword [rbx + 0x38], eax
mov rax, qword [rbx + 0x10]
mov byte [rcx + rax], dil
mov r8d, dword [rbx + 0x28]
inc r8d
mov dword [rbx + 0x28], r8d
test edi, edi
jne 0x140026760
jmp 0x140026826
mov edi, 1
mov rax, qword [rbx + 0x30]
cmp dword [rax + 0x3c], r15d
je 0x14002684e
cmp r8d, edx
jbe 0x14002684e
sub r8d, edx
add rdx, qword [rbx + 0x10]
jne 0x140026843
mov eax, r15d
jmp 0x14002684b
mov ecx, dword [rsi + 0x4c]
call fcn.140028830
mov dword [rsi + 0x4c], eax
test edi, edi
jne 0x140026859
mov dword [rbx + 8], 0x67
cmp dword [rbx + 8], 0x67
jne 0x140026904
mov rax, qword [rbx + 0x30]
cmp dword [rax + 0x3c], r15d
je 0x1400268fd
mov eax, dword [rbx + 0x28]
add eax, 2
cmp eax, dword [rbx + 0x18]
jbe 0x1400268cb
mov rbp, qword [rsi + 0x28]
mov rcx, rbp
call fcn.14002abb0
mov r14d, dword [rsi + 0x18]
cmp dword [rbp + 0x28], r14d
cmovbe r14d, dword [rbp + 0x28]
test r14d, r14d
je 0x1400268cb
mov rdx, qword [rbp + 0x20]
mov rcx, qword [rsi + 0x10]
mov r8d, r14d
mov edi, r14d
call fcn.140092620
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 0x1400268cb
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 0x140026904
movzx eax, byte [rsi + 0x4c]
mov edx, ecx
mov rcx, qword [rbx + 0x10]
mov byte [rdx + rcx], al
mov edx, dword [rbx + 0x28]
mov rcx, qword [rbx + 0x10]
inc edx
mov dword [rbx + 0x28], edx
movzx eax, byte [rsi + 0x4d]
mov byte [rdx + rcx], al
inc dword [rbx + 0x28]
mov dword [rsi + 0x4c], r15d
mov dword [rbx + 8], 0x71
cmp dword [rbx + 0x28], r15d
je 0x140026969
mov rbp, qword [rsi + 0x28]
mov rcx, rbp
call fcn.14002abb0
mov r14d, dword [rsi + 0x18]
cmp dword [rbp + 0x28], r14d
cmovbe r14d, dword [rbp + 0x28]
test r14d, r14d
je 0x140026959
mov rdx, qword [rbp + 0x20]
mov rcx, qword [rsi + 0x10]
mov r8d, r14d
mov edi, r14d
call fcn.140092620
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 0x140026959
mov rax, qword [rbp + 0x10]
mov qword [rbp + 0x20], rax
cmp dword [rsi + 0x18], r15d
je 0x140026ca7
lea r8, [rsi + 8]
jmp 0x1400269b5
lea r8, [rsi + 8]
cmp dword [rsi + 8], r15d
jne 0x1400269b5
cmp r13d, 4
lea edx, [r13*2]
mov r10d, 9
lea r8, [rsi + 8]
mov eax, r15d
mov ecx, r15d
cmovg eax, r10d
sub edx, eax
lea eax, [r12 + r12]
cmp r12d, 4
cmovg ecx, r10d
sub eax, ecx
cmp eax, edx
jg 0x1400269b5
lea r8, [rsi + 8]
cmp r12d, 4
jne 0x140026cb5
mov eax, dword [rbx + 8]
cmp eax, 0x29a
jne 0x1400269c8
cmp dword [r8], r15d
jne 0x140026cb5
cmp dword [r8], r15d
jne 0x1400269ea
cmp dword [rbx + 0x9c], r15d
jne 0x1400269ea
test r12d, r12d
je 0x140026cae
cmp eax, 0x29a
je 0x140026b0e
mov eax, dword [rbx + 0xb0]
mov edx, r12d
mov rcx, rbx
cmp eax, 2
jne 0x140026a02
call fcn.140028560
jmp 0x140026a23
cmp eax, 3
jne 0x140026a0e
call fcn.140028170
jmp 0x140026a23
movsxd rax, dword [rbx + 0xac]
lea r8, [0x1400a40b8]
add rax, rax
call qword [r8 + rax*8]
mov ecx, eax
lea eax, [rax - 2]
cmp eax, 1
ja 0x140026a34
mov dword [rbx + 8], 0x29a
test ecx, 0xfffffffd
je 0x140026ca1
cmp ecx, 1
jne 0x140026b0e
cmp r12d, ecx
jne 0x140026a58
mov rcx, rbx
call fcn.14002ac30
jmp 0x140026ab5
cmp r12d, 5
je 0x140026ab5
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.14002aa40
cmp r12d, 3
jne 0x140026ab5
mov ecx, dword [rbx + 0x74]
xor edx, edx
mov rax, qword [rbx + 0x68]
dec ecx
mov word [rax + rcx*2], r15w
mov r8d, dword [rbx + 0x74]
mov rcx, qword [rbx + 0x68]
dec r8d
add r8, r8
call fcn.140092260
cmp dword [rbx + 0x9c], r15d
jne 0x140026ab5
mov dword [rbx + 0x94], r15d
mov dword [rbx + 0x84], r15d
mov dword [rbx + 0x170c], r15d
mov rbp, qword [rsi + 0x28]
mov rcx, rbp
call fcn.14002abb0
mov r14d, dword [rsi + 0x18]
cmp dword [rbp + 0x28], r14d
cmovbe r14d, dword [rbp + 0x28]
test r14d, r14d
je 0x140026b04
mov rdx, qword [rbp + 0x20]
mov rcx, qword [rsi + 0x10]
mov r8d, r14d
mov edi, r14d
call fcn.140092620
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 0x140026b04
mov rax, qword [rbp + 0x10]
mov qword [rbp + 0x20], rax
cmp dword [rsi + 0x18], r15d
je 0x140026ca7
cmp r12d, 4
jne 0x140026cae
mov ecx, dword [rbx + 0x2c]
test ecx, ecx
jg 0x140026b46
mov eax, 1
mov r14, qword [rsp + 0x28]
mov r13, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x50]
mov r15, qword [rsp + 0x20]
add rsp, 0x30
pop r12
pop rsi
pop rbx
ret
cmp ecx, 2
jne 0x140026be4
mov edx, dword [rbx + 0x28]
movzx eax, byte [rsi + 0x4c]
mov rcx, qword [rbx + 0x10]
mov byte [rdx + rcx], al
mov edx, dword [rbx + 0x28]
mov rcx, qword [rbx + 0x10]
inc edx
mov dword [rbx + 0x28], edx
movzx eax, byte [rsi + 0x4d]
mov byte [rdx + rcx], al
mov edx, dword [rbx + 0x28]
mov rcx, qword [rbx + 0x10]
inc edx
mov dword [rbx + 0x28], edx
movzx eax, byte [rsi + 0x4e]
mov byte [rdx + rcx], al
mov edx, dword [rbx + 0x28]
mov rcx, qword [rbx + 0x10]
inc edx
mov dword [rbx + 0x28], edx
movzx eax, byte [rsi + 0x4f]
mov byte [rdx + rcx], al
mov edx, dword [rbx + 0x28]
mov rcx, qword [rbx + 0x10]
inc edx
mov dword [rbx + 0x28], edx
movzx eax, byte [rsi + 0xc]
mov byte [rdx + rcx], al
mov edx, dword [rbx + 0x28]
mov rcx, qword [rbx + 0x10]
inc edx
mov dword [rbx + 0x28], edx
movzx eax, byte [rsi + 0xd]
mov byte [rdx + rcx], al
mov edx, dword [rbx + 0x28]
mov rcx, qword [rbx + 0x10]
inc edx
mov dword [rbx + 0x28], edx
movzx eax, byte [rsi + 0xe]
mov byte [rdx + rcx], al
mov edx, dword [rbx + 0x28]
mov rcx, qword [rbx + 0x10]
inc edx
mov dword [rbx + 0x28], edx
movzx eax, byte [rsi + 0xf]
mov byte [rdx + rcx], al
jmp 0x140026c33
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 edx, dword [rbx + 0x28]
mov rax, qword [rbx + 0x10]
inc edx
mov dword [rbx + 0x28], edx
movzx r8d, word [rsi + 0x4c]
mov ecx, r8d
shr ecx, 8
mov byte [rdx + rax], cl
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.14002abb0
mov r14d, dword [rsi + 0x18]
cmp dword [rbp + 0x28], r14d
cmovbe r14d, dword [rbp + 0x28]
test r14d, r14d
je 0x140026c85
mov rdx, qword [rbp + 0x20]
mov rcx, qword [rsi + 0x10]
mov r8d, r14d
mov edi, r14d
call fcn.140092620
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 0x140026c85
mov rax, qword [rbp + 0x10]
mov qword [rbp + 0x20], rax
mov eax, dword [rbx + 0x2c]
test eax, eax
jle 0x140026c91
neg eax
mov dword [rbx + 0x2c], eax
cmp dword [rbx + 0x28], r15d
sete r15b
mov eax, r15d
jmp 0x140026b24
cmp dword [rsi + 0x18], r15d
jne 0x140026cae
mov dword [rbx + 0x40], 0xffffffff
xor eax, eax
jmp 0x140026b24
lea rax, str.buffer_error
mov qword [rsi + 0x20], rax
mov eax, 0xfffffffb
jmp 0x140026b24
lea rax, str.stream_error
mov qword [rcx + 0x20], rax
mov eax, 0xfffffffe
add rsp, 0x30
pop r12
pop rsi
pop rbx
ret