Function at 0x180120788
Capabilities:
Compress data via zlib inflate or deflate
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov r12d, edx
mov r15, rcx
call fcn.180121264
xor ecx, ecx
test eax, eax
jne case.0x180120837.16211
cmp qword [r15 + 0x10], rcx
je case.0x180120837.16211
cmp qword [r15], rcx
je 0x1801ca376
mov rdi, qword [r15 + 0x28]
cmp dword [rdi + 8], 0x3f3f
je 0x1801ca38a
mov r11d, dword [r15 + 0x18]
mov r9d, r11d
mov rbx, qword [r15 + 0x10]
mov r13d, dword [r15 + 8]
mov r10, qword [r15]
mov esi, dword [rdi + 0x48]
mov r14d, dword [rdi + 0x4c]
mov qword [rbp - 8], rbx
mov dword [rbp - 0x14], r13d
mov dword [rbp - 0x20], r11d
mov dword [rbp + 0x50], ecx
mov qword [rbp - 0x10], r10
mov dword [rbp + 0x58], r11d
lea rcx, [0x180000000]
mov eax, dword [rdi + 8]
add eax, 0xffffc0cc
cmp eax, 0x1f
ja case.0x180120837.16211
cdqe
mov ecx, dword [rcx + rax*4 + 0x120dfc]
lea rax, [0x180000000]
add rcx, rax
jmp rcx
xor r8d, r8d
lea eax, [r12 - 5]
cmp eax, 1
jbe 0x180120df0
cmp dword [rdi + 0xc], r8d
je 0x180120a39
mov ecx, r14d
mov dword [rdi + 8], 0x3f4e
and ecx, 7
shr esi, cl
sub r14d, ecx
jmp 0x18012080c
mov dword [rdi + 8], 0x3f48
cmp r13d, 6
jb 0x180120c2c
cmp r11d, 0x102
jb 0x180120c2c
mov qword [r15 + 0x10], rbx
mov edx, r9d
mov dword [r15 + 0x18], r11d
mov rcx, r15
mov qword [r15], r10
mov dword [r15 + 8], r13d
mov dword [rdi + 0x48], esi
mov dword [rdi + 0x4c], r14d
call fcn.180120e7c
cmp dword [rdi + 8], 0x3f3f
lea rcx, [0x180000000]
mov r10, qword [r15]
mov rbx, qword [r15 + 0x10]
mov r11d, dword [r15 + 0x18]
mov r13d, dword [r15 + 8]
mov esi, dword [rdi + 0x48]
mov r14d, dword [rdi + 0x4c]
mov r9d, dword [rbp - 0x20]
mov qword [rbp - 0x10], r10
mov qword [rbp - 8], rbx
mov dword [rbp + 0x58], r11d
jne 0x180120813
jmp 0x1801caea4
xor r8d, r8d
cmp dword [rdi + 0x10], r8d
je 0x1801ca396
lea edx, [r8 + 0x10]
cmp r14d, edx
jae 0x180120920
test r13d, r13d
je 0x180120df0
movzx eax, byte [r10]
mov ecx, r14d
shl eax, cl
inc r10
add esi, eax
mov qword [rbp - 0x10], r10
dec r13d
add r14d, 8
jmp 0x1801208f7
test byte [rdi + 0x10], 2
jne 0x1801ca3a2
mov rax, qword [rdi + 0x28]
test rax, rax
jne 0x1801ca3f1
test byte [rdi + 0x10], 1
je 0x180120d73
movzx ecx, sil
mov eax, esi
shr eax, 8
shl ecx, 8
add ecx, eax
mov eax, 0x8421085
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 4
imul eax, eax, 0x1f
cmp ecx, eax
jne 0x180120d73
mov eax, esi
and al, 0xf
cmp al, 8
jne 0x1801ca3fa
mov eax, dword [rdi + 0x30]
add r14d, 0xfffffffc
shr esi, 4
mov ecx, esi
and ecx, 0xf
add ecx, 8
test eax, eax
je 0x1801ca406
cmp ecx, eax
ja 0x180120cde
cmp ecx, 0xf
ja 0x180120cde
shr esi, 8
mov eax, 1
not esi
shl eax, cl
and esi, 2
mov dword [rdi + 0x1c], eax
or esi, 0x3f3d
mov dword [rdi + 0x18], r8d
mov dword [rdi + 0x20], 1
mov r14d, r8d
mov dword [r15 + 0x4c], 1
mov dword [rdi + 8], esi
mov esi, r8d
jmp 0x18012080c
xor r8d, r8d
cmp dword [rdi + 0x10], r8d
je 0x180120b26
cmp r14d, 0x20
jae 0x180120a9e
test r13d, r13d
je 0x180120df0
movzx eax, byte [r10]
mov ecx, r14d
shl eax, cl
inc r10
add esi, eax
mov qword [rbp - 0x10], r10
dec r13d
add r14d, 8
jmp 0x1801209e9
test r13d, r13d
je 0x180120df0
movzx eax, byte [r10]
mov ecx, r14d
shl eax, cl
inc r10
add esi, eax
mov qword [rbp - 0x10], r10
dec r13d
add r14d, 8
cmp r14d, 3
jb 0x180120a17
mov eax, esi
shr esi, 1
and eax, 1
mov dword [rdi + 0xc], eax
mov eax, esi
and eax, 3
je 0x180120d7f
sub eax, 1
jne 0x1801ca991
mov dword [rdi + 0x70], 9
lea rax, [0x180386230]
mov qword [rdi + 0x60], rax
lea rax, [0x180386a30]
mov qword [rdi + 0x68], rax
mov dword [rdi + 0x74], 5
mov dword [rdi + 8], 0x3f47
cmp r12d, 6
je 0x1801cb2a7
shr esi, 2
add r14d, 0xfffffffd
jmp 0x18012080c
sub r9d, r11d
add dword [r15 + 0x1c], r9d
add dword [rdi + 0x24], r9d
test byte [rdi + 0x10], 4
je 0x180120ae1
test r9d, r9d
je 0x180120ae1
mov ecx, dword [rdi + 0x20]
mov rdx, rbx
mov r8d, r9d
sub rdx, r8
cmp dword [rdi + 0x18], 0
jne 0x1801cb229
call fcn.18016cbf0
mov r10, qword [rbp - 0x10]
xor r8d, r8d
mov r11d, dword [rbp + 0x58]
mov dword [rdi + 0x20], eax
mov dword [r15 + 0x4c], eax
test byte [rdi + 0x10], 4
mov r9d, r11d
mov dword [rbp - 0x20], r11d
je 0x180120b20
mov ecx, esi
cmp dword [rdi + 0x18], r8d
jne 0x180120b17
mov edx, 0xff00
mov eax, esi
shl eax, 0x10
and ecx, edx
add ecx, eax
mov eax, esi
shr eax, 8
and eax, edx
shl ecx, 8
add ecx, eax
mov eax, esi
shr eax, 0x18
add ecx, eax
cmp ecx, dword [rdi + 0x20]
jne 0x1801cb234
mov esi, r8d
mov r14d, r8d
mov dword [rdi + 8], 0x3f4f
cmp dword [rdi + 0x10], r8d
je 0x180120b3d
cmp dword [rdi + 0x18], r8d
jne 0x1801cb26a
mov dword [rdi + 8], 0x3f50
mov r12d, 1
mov rax, qword [rbp - 8]
mov ebx, dword [rbp - 0x20]
mov qword [r15 + 0x10], rax
mov eax, dword [rbp + 0x58]
mov dword [r15 + 0x18], eax
mov rax, qword [rbp - 0x10]
mov qword [r15], rax
mov dword [r15 + 8], r13d
mov dword [rdi + 0x48], esi
mov esi, dword [rbp + 0x48]
mov dword [rdi + 0x4c], r14d
cmp dword [rdi + 0x34], r8d
jne 0x1801cb2f5
cmp ebx, dword [r15 + 0x18]
jne 0x1801cb2d6
sub ebx, dword [r15 + 0x18]
mov r9d, dword [rbp - 0x14]
sub r9d, dword [r15 + 8]
add dword [r15 + 0xc], r9d
add dword [r15 + 0x1c], ebx
add dword [rdi + 0x24], ebx
test byte [rdi + 0x10], 4
mov dword [rbp - 0x14], r9d
je 0x180120bae
test ebx, ebx
jne 0x1801cb321
mov eax, dword [rdi + 0xc]
mov edx, 0x80
neg eax
sbb ecx, ecx
and ecx, 0x40
lea r10d, [rdx - 0x80]
cmp dword [rdi + 8], 0x3f3f
cmovne edx, r10d
cmp dword [rdi + 8], 0x3f47
je 0x1801cb350
cmp dword [rdi + 8], 0x3f42
mov r8d, r10d
je 0x1801cb350
mov eax, dword [rdi + 0x4c]
add eax, edx
add eax, ecx
add eax, r8d
mov dword [r15 + 0x48], eax
test r9d, r9d
je 0x1801cb35b
cmp esi, 4
jne 0x180120c11
test r12d, r12d
mov eax, 0xfffffffb
cmove r12d, eax
mov eax, r12d
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, dword [rdi + 0x70]
xor r8d, r8d
mov r9, qword [rdi + 0x60]
mov dword [rdi + 0x1be4], r8d
mov eax, esi
lea edx, [r8 + 1]
shl edx, cl
dec edx
mov ecx, edx
and rcx, rax
mov eax, dword [r9 + rcx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, r14d
ja 0x180120cb3
test al, al
je 0x180120c69
test al, 0xf0
je 0x1801caeb0
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [rdi + 0x1be4], ecx
sub r14d, ecx
shr esi, cl
mov ecx, eax
shr ecx, 0x10
mov dword [rdi + 0x50], ecx
test al, al
je 0x1801caf3f
test al, 0x20
je 0x1801caf4b
or dword [rdi + 0x1be4], 0xffffffff
mov dword [rdi + 8], 0x3f3f
mov r10, qword [rbp - 0x10]
mov r9d, dword [rbp - 0x20]
mov r11d, dword [rbp + 0x58]
jmp 0x18012080c
test r13d, r13d
je 0x180120df0
movzx eax, byte [r10]
mov ecx, r14d
shl eax, cl
inc r10
add esi, eax
mov qword [rbp - 0x10], r10
dec r13d
mov ecx, esi
add r14d, 8
mov eax, edx
jmp 0x180120c49
lea rax, str.invalid_window_size
mov qword [r15 + 0x20], rax
mov dword [rdi + 8], 0x3f51
jmp 0x18012080c
mov ecx, r14d
and ecx, 7
shr esi, cl
sub r14d, ecx
xor r8d, r8d
cmp r14d, 0x20
jae 0x180120d2d
test r13d, r13d
je 0x180120df0
movzx eax, byte [r10]
mov ecx, r14d
shl eax, cl
inc r10
add esi, eax
mov qword [rbp - 0x10], r10
dec r13d
add r14d, 8
jmp 0x180120d03
mov eax, esi
movzx ecx, si
not eax
shr eax, 0x10
cmp ecx, eax
jne 0x1801ca9c2
mov dword [rdi + 0x50], ecx
mov esi, r8d
mov dword [rdi + 8], 0x3f42
mov r14d, r8d
cmp r12d, 6
je 0x180120df0
mov dword [rdi + 8], 0x3f43
mov eax, dword [rdi + 0x50]
test eax, eax
jne 0x180120d90
mov dword [rdi + 8], 0x3f3f
jmp 0x18012080c
lea rax, str.incorrect_header_check
jmp 0x180120ce5
mov dword [rdi + 8], 0x3f41
jmp 0x180120a92
xor r8d, r8d
jmp 0x180120d60
cmp eax, r13d
mov r12d, r13d
cmovbe r12d, eax
cmp r12d, r11d
cmova r12d, r11d
test r12d, r12d
je 0x180120df0
mov rcx, qword [rbp - 8]
mov rdx, r10
mov r8d, r12d
mov ebx, r12d
call sub.VCRUNTIME140.dll_memcpy
add qword [rbp - 8], rbx
sub r13d, r12d
mov r10, qword [rbp - 0x10]
mov r11d, dword [rbp + 0x58]
add r10, rbx
mov r9d, dword [rbp - 0x20]
sub r11d, r12d
sub dword [rdi + 0x50], r12d
mov r12d, dword [rbp + 0x48]
mov rbx, qword [rbp - 8]
jmp 0x180120804
mov r12d, 0xfffffffd
xor r8d, r8d
jmp 0x180120b4a
mov r12d, dword [rbp + 0x50]
jmp 0x180120b4a
cmp dword [r15 + 8], ecx
je 0x1801207cb
mov eax, 0xfffffffe
jmp 0x180120c14
mov dword [rdi + 8], 0x3f40
jmp 0x1801207dc
mov dword [rdi + 8], 0x3f40
jmp 0x18012080c
cmp esi, 0x8b1f
jne 0x18012092a
cmp dword [rdi + 0x30], r8d
jne 0x1801ca3bb
mov dword [rdi + 0x30], send
mov byte [rbp - 0x1c], sil
lea rdx, [rbp - 0x1c]
mov dword [rdi + 0x20], r8d
xor ecx, ecx
shr esi, 8
mov r8d, 2
mov byte [rbp - 0x1b], sil
call fcn.180239b4c
mov dword [rdi + 0x20], eax
xor eax, eax
mov esi, eax
mov dword [rdi + 8], 0x3f35
mov r14d, eax
jmp 0x180120ca2
or dword [rax + 0x40], 0xffffffff
jmp 0x180120937
lea rax, str.unknown_compression_method
jmp 0x180120ce5
mov dword [rdi + 0x30], ecx
mov eax, ecx
jmp 0x180120992
mov edx, send
xor r8d, r8d
cmp r14d, edx
jae 0x1801ca441
test r13d, r13d
je 0x180120df0
movzx eax, byte [r10]
mov ecx, r14d
shl eax, cl
inc r10
add esi, eax
mov qword [rbp - 0x10], r10
dec r13d
add r14d, 8
jmp 0x1801ca418
mov dword [rdi + 0x18], esi
cmp sil, 8
jne 0x1801ca3fa
test esi, 0xe000
je 0x1801ca45e
lea rax, str.unknown_header_flags_set
jmp 0x180120ce5
mov rdx, qword [rdi + 0x28]
mov ecx, esi
shr ecx, 8
test rdx, rdx
je 0x1801ca473
mov eax, ecx
and eax, 1
mov dword [rdx], eax
test dword [rdi + 0x18], 0x200
je 0x1801ca4a5
test byte [rdi + 0x10], 4
je 0x1801ca4a5
mov byte [rbp - 0x1b], cl
lea rdx, [rbp - 0x1c]
mov ecx, dword [rdi + 0x20]
mov r8d, 2
mov byte [rbp - 0x1c], sil
call fcn.180239b4c
mov r10, qword [rbp - 0x10]
xor r8d, r8d
mov dword [rdi + 0x20], eax
mov esi, r8d
mov dword [rdi + 8], 0x3f36
mov r14d, r8d
test r13d, r13d
je 0x180120df0
movzx eax, byte [r10]
mov ecx, r14d
shl eax, cl
dec r13d
add esi, eax
inc r10
add r14d, 8
mov qword [rbp - 0x10], r10
cmp r14d, 0x20
jb 0x1801ca4b2
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x1801ca4e6
mov dword [rax + 4], esi
test dword [rdi + 0x18], 0x200
je 0x1801ca52c
test byte [rdi + 0x10], 4
je 0x1801ca52c
mov ecx, dword [rdi + 0x20]
lea rdx, [rbp - 0x1c]
mov eax, esi
mov byte [rbp - 0x1c], sil
shr eax, 8
mov r8d, 4
mov byte [rbp - 0x1b], al
mov eax, esi
shr eax, 0x10
shr esi, 0x18
mov byte [rbp - 0x1a], al
mov byte [rbp - 0x19], sil
call fcn.180239b4c
mov r10, qword [rbp - 0x10]
xor r8d, r8d
mov dword [rdi + 0x20], eax
mov esi, r8d
mov dword [rdi + 8], 0x3f37
mov r14d, r8d
mov ebx, send
test r13d, r13d
je 0x180120df0
movzx eax, byte [r10]
mov ecx, r14d
shl eax, cl
dec r13d
add esi, eax
inc r10
add r14d, 8
mov qword [rbp - 0x10], r10
cmp r14d, ebx
jb 0x1801ca53e
mov rdx, qword [rdi + 0x28]
mov ecx, esi
shr ecx, 8
test rdx, rdx
je 0x1801ca581
movzx eax, sil
mov dword [rdx + 8], eax
mov rax, qword [rdi + 0x28]
mov dword [rax + 0xc], ecx
test dword [rdi + 0x18], 0x200
je 0x1801ca5b3
test byte [rdi + 0x10], 4
je 0x1801ca5b3
mov byte [rbp - 0x1b], cl
lea rdx, [rbp - 0x1c]
mov ecx, dword [rdi + 0x20]
mov r8d, 2
mov byte [rbp - 0x1c], sil
call fcn.180239b4c
mov r10, qword [rbp - 0x10]
xor r8d, r8d
mov dword [rdi + 0x20], eax
mov esi, r8d
mov dword [rdi + 8], 0x3f38
mov r14d, r8d
jmp 0x1801ca5e1
mov dword [rbp - 0x18], esi
xor r8d, r8d
jmp 0x1801ca4d0
mov dword [rbp - 0x18], esi
mov ebx, send
xor r8d, r8d
jmp 0x1801ca55c
xor r8d, r8d
lea ebx, [r8 + 0x10]
test dword [rdi + 0x18], 0x400
jne 0x1801ca61b
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x1801ca667
mov qword [rax + 0x10], r8
jmp 0x1801ca667
test r13d, r13d
je 0x180120df0
movzx eax, byte [r10]
mov ecx, r14d
shl eax, cl
inc r10
add esi, eax
mov qword [rbp - 0x10], r10
dec r13d
add r14d, 8
cmp r14d, ebx
jb 0x1801ca5f9
mov rax, qword [rdi + 0x28]
mov dword [rdi + 0x50], esi
test rax, rax
je 0x1801ca62f
mov dword [rax + 0x18], esi
test dword [rdi + 0x18], 0x200
je 0x1801ca661
test byte [rdi + 0x10], 4
je 0x1801ca661
mov ecx, dword [rdi + 0x20]
lea rdx, [rbp - 0x1c]
mov byte [rbp - 0x1c], sil
mov r8d, 2
shr esi, 8
mov byte [rbp - 0x1b], sil
call fcn.180239b4c
mov dword [rdi + 0x20], eax
xor r8d, r8d
mov esi, r8d
mov r14d, r8d
mov r10, qword [rbp - 0x10]
mov dword [rdi + 8], 0x3f39
jmp 0x1801ca677
xor r8d, r8d
test dword [rdi + 0x18], 0x400
je 0x1801ca716
mov eax, dword [rdi + 0x50]
mov ebx, r13d
cmp eax, r13d
cmovbe ebx, eax
test ebx, ebx
je 0x1801ca70e
mov rcx, qword [rdi + 0x28]
mov r12d, eax
test rcx, rcx
je 0x1801ca6d2
mov r9, qword [rcx + 0x10]
test r9, r9
je 0x1801ca6d2
mov edx, dword [rcx + 0x18]
mov ecx, dword [rcx + 0x1c]
sub edx, eax
lea eax, [rbx + rdx]
cmp eax, ecx
jbe 0x1801ca6bc
sub ecx, edx
jmp 0x1801ca6be
mov ecx, ebx
mov r8d, ecx
mov ecx, edx
mov rdx, r10
add rcx, r9
call sub.VCRUNTIME140.dll_memcpy
mov r12d, dword [rdi + 0x50]
test dword [rdi + 0x18], 0x200
je 0x1801ca6f3
test byte [rdi + 0x10], 4
je 0x1801ca6f3
mov rdx, qword [rbp - 0x10]
mov ecx, dword [rdi + 0x20]
mov r8d, ebx
call fcn.180239b4c
mov dword [rdi + 0x20], eax
mov r10, qword [rbp - 0x10]
sub r13d, ebx
mov eax, ebx
add r10, rax
mov eax, r12d
sub eax, ebx
mov qword [rbp - 0x10], r10
mov dword [rdi + 0x50], eax
xor r8d, r8d
test eax, eax
jne 0x180120df0
mov dword [rdi + 0x50], r8d
mov dword [rdi + 8], 0x3f3a
jmp 0x1801ca726
xor r8d, r8d
test dword [rdi + 0x18], 0x800
je 0x1801ca7ac
test r13d, r13d
je 0x180120df0
mov ebx, r8d
mov eax, ebx
inc ebx
mov r12b, byte [rax + r10]
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x1801ca764
mov rdx, qword [rax + 0x20]
test rdx, rdx
je 0x1801ca764
mov ecx, dword [rdi + 0x50]
cmp ecx, dword [rax + 0x28]
jae 0x1801ca764
mov byte [rcx + rdx], r12b
inc dword [rdi + 0x50]
test r12b, r12b
je 0x1801ca76e
cmp ebx, r13d
jb 0x1801ca73b
test dword [rdi + 0x18], 0x200
je 0x1801ca795
test byte [rdi + 0x10], 4
je 0x1801ca795
mov ecx, dword [rdi + 0x20]
mov rdx, r10
mov r8d, ebx
call fcn.180239b4c
mov r10, qword [rbp - 0x10]
xor r8d, r8d
mov dword [rdi + 0x20], eax
mov eax, ebx
sub r13d, ebx
add r10, rax
mov qword [rbp - 0x10], r10
test r12b, r12b
jne 0x180120df0
jmp 0x1801ca7b9
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x1801ca7b9
mov qword [rax + 0x20], r8
mov dword [rdi + 0x50], r8d
mov dword [rdi + 8], 0x3f3b
jmp 0x1801ca7c9
xor r8d, r8d
test dword [rdi + 0x18], 0x1000
je 0x1801ca84f
test r13d, r13d
je 0x180120df0
mov ebx, r8d
mov eax, ebx
inc ebx
mov r12b, byte [rax + r10]
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x1801ca807
mov rdx, qword [rax + 0x30]
test rdx, rdx
je 0x1801ca807
mov ecx, dword [rdi + 0x50]
cmp ecx, dword [rax + 0x38]
jae 0x1801ca807
mov byte [rcx + rdx], r12b
inc dword [rdi + 0x50]
test r12b, r12b
je 0x1801ca811
cmp ebx, r13d
jb 0x1801ca7de
test dword [rdi + 0x18], 0x200
je 0x1801ca838
test byte [rdi + 0x10], 4
je 0x1801ca838
mov ecx, dword [rdi + 0x20]
mov rdx, r10
mov r8d, ebx
call fcn.180239b4c
mov r10, qword [rbp - 0x10]
xor r8d, r8d
mov dword [rdi + 0x20], eax
mov eax, ebx
sub r13d, ebx
add r10, rax
mov qword [rbp - 0x10], r10
test r12b, r12b
jne 0x180120df0
jmp 0x1801ca85c
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x1801ca85c
mov qword [rax + 0x30], r8
mov r9d, dword [rbp - 0x20]
mov r11d, dword [rbp + 0x58]
mov rbx, qword [rbp - 8]
mov r12d, dword [rbp + 0x48]
mov dword [rdi + 8], 0x3f3c
jmp 0x1801ca878
xor r8d, r8d
mov edx, dword [rdi + 0x18]
bt edx, 9
jae 0x1801ca8d3
mov eax, send
cmp r14d, eax
jae 0x1801ca8b3
test r13d, r13d
je 0x180120df0
movzx eax, byte [r10]
mov ecx, r14d
shl eax, cl
inc r10
add esi, eax
mov qword [rbp - 0x10], r10
dec r13d
add r14d, 8
cmp r14d, 0x10
jb 0x1801ca88b
test byte [rdi + 0x10], 4
je 0x1801ca8cd
movzx eax, word [rdi + 0x20]
cmp esi, eax
je 0x1801ca8cd
lea rax, str.header_crc_mismatch
jmp 0x180120ce5
mov esi, r8d
mov r14d, r8d
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x1801ca8f0
sar edx, 9
and edx, 1
mov dword [rax + 0x3c], edx
mov rax, qword [rdi + 0x28]
mov dword [rax + 0x40], 1
mov dword [rdi + 0x20], r8d
mov dword [r15 + 0x4c], r8d
jmp 0x180120d67
xor r8d, r8d
cmp r14d, 0x20
jae 0x1801ca92a
test r13d, r13d
je 0x180120df0
movzx eax, byte [r10]
mov ecx, r14d
shl eax, cl
inc r10
add esi, eax
mov qword [rbp - 0x10], r10
dec r13d
add r14d, 8
jmp 0x1801ca900
mov ecx, esi
mov eax, esi
shl eax, 0x10
mov edx, 0xff00
and ecx, edx
mov r14d, r8d
add ecx, eax
mov eax, esi
shr eax, 8
and eax, edx
shl ecx, 8
shr esi, 0x18
add eax, ecx
add eax, esi
mov esi, r8d
mov dword [rdi + 0x20], eax
mov dword [r15 + 0x4c], eax
mov dword [rdi + 8], 0x3f3e
jmp 0x1801ca964
xor r8d, r8d
cmp dword [rdi + 0x14], r8d
je 0x1801cb287
mov dword [rdi + 0x20], 1
mov dword [r15 + 0x4c], 1
mov dword [rdi + 8], 0x3f3f
jmp 0x18012083c
xor r8d, r8d
jmp 0x18012084a
sub eax, 1
je 0x1801ca9b6
cmp eax, 1
jne 0x180120a92
lea rax, str.invalid_block_type
mov qword [r15 + 0x20], rax
mov dword [rdi + 8], 0x3f51
jmp 0x180120a92
mov dword [rdi + 8], 0x3f44
jmp 0x180120a92
lea rax, str.invalid_stored_block_lengths
jmp 0x180120ce5
xor r8d, r8d
jmp 0x180120d59
xor r8d, r8d
cmp r14d, 0xe
jae 0x1801caa03
test r13d, r13d
je 0x180120df0
movzx eax, byte [r10]
mov ecx, r14d
shl eax, cl
inc r10
add esi, eax
mov qword [rbp - 0x10], r10
dec r13d
add r14d, 8
jmp 0x1801ca9d9
mov ecx, esi
add r14d, 0xfffffff2
shr esi, 5
and ecx, 0x1f
mov edx, esi
add ecx, 0x101
shr esi, 5
and edx, 0x1f
mov eax, esi
mov dword [rdi + 0x7c], ecx
and eax, 0xf
shr esi, 4
add eax, 4
inc edx
mov dword [rdi + 0x80], edx
mov dword [rdi + 0x78], eax
cmp ecx, 0x11e
ja 0x1801caa53
cmp edx, 0x1e
ja 0x1801caa53
mov dword [rdi + 0x84], r8d
mov dword [rdi + 8], 0x3f45
jmp 0x1801caa62
lea rax, str.too_many_length_or_distance_symbols
jmp 0x180120ce5
xor r8d, r8d
mov edx, 7
lea r9, [0x180000000]
mov eax, dword [rdi + 0x84]
cmp eax, dword [rdi + 0x78]
jb 0x1801caa9d
jmp 0x1801caaef
test r13d, r13d
je 0x180120df0
movzx eax, byte [r10]
mov ecx, r14d
shl eax, cl
inc r10
add esi, eax
mov qword [rbp - 0x10], r10
dec r13d
add r14d, 8
cmp r14d, 3
jb 0x1801caa7b
mov eax, dword [rdi + 0x84]
movzx ecx, si
and cx, dx
shr esi, 3
movzx eax, word [r9 + rax*2 + 0x386ab0]
mov word [rdi + rax*2 + 0x90], cx
inc dword [rdi + 0x84]
add r14d, 0xfffffffd
jmp 0x1801caa6e
movzx eax, word [r9 + rax*2 + 0x386ab0]
mov word [rdi + rax*2 + 0x90], r8w
mov eax, dword [rdi + 0x84]
inc eax
mov dword [rdi + 0x84], eax
cmp eax, 0x13
jb 0x1801caacf
lea rcx, [rdi + 0x70]
lea rax, [rdi + 0x550]
mov dword [rcx], edx
lea r9, [rdi + 0x88]
mov qword [rdi + 0x60], rax
mov qword [r9], rax
lea rdx, [rdi + 0x90]
lea rax, [rdi + 0x310]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
xor ecx, ecx
lea r8d, [rcx + 0x13]
call fcn.18023b284
mov r10, qword [rbp - 0x10]
xor r9d, r9d
mov r11d, dword [rbp + 0x58]
mov dword [rbp + 0x50], eax
test eax, eax
je 0x1801cab54
mov r9d, dword [rbp - 0x20]
lea rax, str.invalid_code_lengths_set
jmp 0x180120ce5
mov dword [rdi + 0x84], r9d
mov dword [rdi + 8], 0x3f46
jmp 0x1801cab67
xor r9d, r9d
mov eax, dword [rdi + 0x80]
add eax, dword [rdi + 0x7c]
cmp dword [rdi + 0x84], eax
jae 0x1801cad36
mov ecx, dword [rdi + 0x70]
mov edx, 1
mov r8, qword [rdi + 0x60]
shl edx, cl
dec edx
mov eax, esi
mov ecx, edx
jmp 0x1801cabb8
test r13d, r13d
je 0x1801cb2ce
movzx eax, byte [r10]
mov ecx, r14d
shl eax, cl
inc r10
add esi, eax
mov qword [rbp - 0x10], r10
dec r13d
mov ecx, esi
add r14d, 8
mov eax, edx
and rcx, rax
mov eax, dword [r8 + rcx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [rbp - 0x18], eax
cmp ecx, r14d
ja 0x1801cab92
mov edx, eax
mov ecx, send
shr edx, 0x10
cmp dx, cx
jae 0x1801cac09
shr eax, 8
movzx ecx, al
mov eax, dword [rdi + 0x84]
sub r14d, ecx
shr esi, cl
mov word [rdi + rax*2 + 0x90], dx
inc dword [rdi + 0x84]
mov r8d, dword [rdi + 0x84]
jmp 0x1801cad81
jne 0x1801cac74
shr eax, 8
movzx edx, al
lea r8d, [rdx + 2]
jmp 0x1801cac39
test r13d, r13d
je 0x1801cb2ce
movzx eax, byte [r10]
mov ecx, r14d
shl eax, cl
inc r10
add esi, eax
mov qword [rbp - 0x10], r10
dec r13d
add r14d, 8
cmp r14d, r8d
jb 0x1801cac17
mov eax, dword [rdi + 0x84]
mov ecx, edx
shr esi, cl
sub r14d, edx
xor ecx, ecx
test eax, eax
je 0x1801cad97
mov edx, esi
add r14d, 0xfffffffe
and edx, 3
shr esi, 2
add edx, 3
dec eax
movzx r9d, word [rdi + rax*2 + 0x90]
jmp 0x1801cad0c
cmp word [rbp - 0x16], 0x11
movzx r8d, byte [rbp - 0x17]
jne 0x1801cacc4
lea edx, [r8 + 3]
jmp 0x1801caca8
test r13d, r13d
je 0x1801cb2ce
movzx eax, byte [r10]
mov ecx, r14d
shl eax, cl
inc r10
add esi, eax
mov qword [rbp - 0x10], r10
dec r13d
add r14d, 8
cmp r14d, edx
jb 0x1801cac86
mov ecx, r8d
mov eax, 0xfffffffd
shr esi, cl
mov edx, esi
and edx, 7
add edx, 3
shr esi, 3
jmp 0x1801cad06
lea edx, [r8 + 7]
jmp 0x1801cacec
test r13d, r13d
je 0x1801cb2ce
movzx eax, byte [r10]
mov ecx, r14d
shl eax, cl
inc r10
add esi, eax
mov qword [rbp - 0x10], r10
dec r13d
add r14d, 8
cmp r14d, edx
jb 0x1801cacca
mov ecx, r8d
mov eax, 0xfffffff9
shr esi, cl
mov edx, esi
and edx, 0x7f
add edx, 0xb
shr esi, 7
sub eax, r8d
add r14d, eax
mov r8d, dword [rdi + 0x84]
mov ecx, dword [rdi + 0x7c]
add ecx, dword [rdi + 0x80]
lea eax, [r8 + rdx]
cmp eax, ecx
jbe 0x1801cad5e
lea rax, str.invalid_bit_length_repeat
mov qword [r15 + 0x20], rax
mov dword [rdi + 8], 0x3f51
xor ecx, ecx
cmp dword [rdi + 8], 0x3f51
mov r9d, dword [rbp - 0x20]
je 0x18012080c
cmp word [rdi + 0x290], cx
jne 0x1801cadab
lea rax, str.invalid_code____missing_end_of_block
jmp 0x180120ce5
mov eax, r8d
mov word [rdi + rax*2 + 0x90], r9w
mov r8d, dword [rdi + 0x84]
lea r8d, [r8 + 1]
mov dword [rdi + 0x84], r8d
add edx, 0xffffffff
jne 0x1801cad5e
mov eax, dword [rdi + 0x7c]
add eax, dword [rdi + 0x80]
cmp r8d, eax
jae 0x1801cad36
xor r9d, r9d
jmp 0x1801cab7c
lea rax, str.invalid_bit_length_repeat
mov qword [r15 + 0x20], rax
mov dword [rdi + 8], 0x3f51
jmp 0x1801cad38
mov r8d, dword [rdi + 0x7c]
lea rax, [rdi + 0x550]
lea rbx, [rdi + 0x88]
mov qword [rdi + 0x60], rax
mov qword [rbx], rax
lea r12, [rdi + 0x310]
lea rax, [rdi + 0x70]
mov qword [rsp + 0x28], r12
lea rdx, [rdi + 0x90]
mov dword [rax], 9
mov r9, rbx
mov qword [rsp + 0x20], rax
mov ecx, 1
call fcn.18023b284
mov dword [rbp + 0x50], eax
test eax, eax
je 0x1801cae1a
mov r10, qword [rbp - 0x10]
lea rax, str.invalid_literal_lengths_set
mov r9d, dword [rbp - 0x20]
mov r11d, dword [rbp + 0x58]
mov rbx, qword [rbp - 8]
mov r12d, dword [rbp + 0x48]
jmp 0x180120ce5
mov rax, qword [rbx]
lea rcx, [rdi + 0x74]
mov r8d, dword [rdi + 0x80]
mov r9, rbx
mov qword [rdi + 0x68], rax
mov eax, dword [rdi + 0x7c]
add rax, 0x48
mov dword [rcx], 6
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rcx
mov ecx, 2
lea rdx, [rdi + rax*2]
call fcn.18023b284
mov r12d, dword [rbp + 0x48]
xor r8d, r8d
mov dword [rbp + 0x50], eax
test eax, eax
je 0x1801cae7e
mov r10, qword [rbp - 0x10]
lea rax, str.invalid_distances_set
mov r9d, dword [rbp - 0x20]
mov r11d, dword [rbp + 0x58]
mov rbx, qword [rbp - 8]
jmp 0x180120ce5
mov dword [rdi + 8], 0x3f47
cmp r12d, 6
je 0x1801cb2c6
mov r10, qword [rbp - 0x10]
mov r9d, dword [rbp - 0x20]
mov r11d, dword [rbp + 0x58]
mov rbx, qword [rbp - 8]
jmp case.0x180120837.16199
or dword [rdi + 0x1be4], 0xffffffff
jmp 0x18012080c
mov ecx, eax
mov r10d, 1
shr ecx, 8
movzx r8d, cl
movzx ecx, al
add ecx, r8d
shr eax, 0x10
shl r10d, cl
mov r11d, eax
mov ecx, r8d
lea edx, [r10 - 1]
and edx, esi
shr edx, cl
add edx, eax
mov eax, dword [r9 + rdx*4]
jmp 0x1801caf18
test r13d, r13d
je 0x1801cb2ce
mov rdx, qword [rbp - 0x10]
mov ecx, r14d
dec r13d
add r14d, 8
movzx eax, byte [rdx]
inc rdx
shl eax, cl
mov ecx, r8d
add esi, eax
mov qword [rbp - 0x10], rdx
lea eax, [r10 - 1]
and eax, esi
shr eax, cl
add eax, r11d
mov eax, dword [r9 + rax*4]
mov ecx, eax
shr ecx, 8
movzx edx, cl
add edx, r8d
cmp edx, r14d
ja 0x1801caee1
mov ecx, r8d
mov dword [rdi + 0x1be4], r8d
shr esi, cl
sub r14d, r8d
xor r8d, r8d
jmp 0x180120c69
mov dword [rdi + 8], 0x3f4d
jmp 0x180120ca2
mov r10, qword [rbp - 0x10]
test al, 0x40
je 0x1801caf67
mov r9d, dword [rbp - 0x20]
lea rax, str.invalid_literal_length_code
mov r11d, dword [rbp + 0x58]
jmp 0x180120ce5
movzx ecx, al
and ecx, 0xf
mov dword [rdi + 8], 0x3f49
mov dword [rdi + 0x58], ecx
jmp 0x1801caf7c
xor r8d, r8d
mov edx, dword [rdi + 0x58]
test edx, edx
jne 0x1801cafa7
jmp 0x1801cafc7
test r13d, r13d
je 0x180120df0
movzx eax, byte [r10]
mov ecx, r14d
shl eax, cl
inc r10
add esi, eax
mov qword [rbp - 0x10], r10
dec r13d
add r14d, 8
cmp r14d, edx
jb 0x1801caf85
mov ecx, edx
mov eax, 1
shl eax, cl
sub r14d, edx
dec eax
and eax, esi
shr esi, cl
add dword [rdi + 0x50], eax
add dword [rdi + 0x1be4], edx
mov eax, dword [rdi + 0x50]
mov dword [rdi + 0x1be8], eax
mov dword [rdi + 8], 0x3f4a
jmp 0x1801cafdc
xor r8d, r8d
mov ecx, dword [rdi + 0x74]
mov edx, 1
mov r9, qword [rdi + 0x68]
shl edx, cl
dec edx
mov eax, esi
mov ecx, edx
jmp 0x1801cb018
test r13d, r13d
je 0x180120df0
movzx eax, byte [r10]
mov ecx, r14d
shl eax, cl
inc r10
add esi, eax
mov qword [rbp - 0x10], r10
dec r13d
mov ecx, esi
add r14d, 8
mov eax, edx
and rcx, rax
mov eax, dword [r9 + rcx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, r14d
ja 0x1801caff2
test al, 0xf0
jne 0x1801cb0bb
mov ecx, eax
mov r10d, 1
shr ecx, 8
movzx r8d, cl
movzx ecx, al
add ecx, r8d
shr eax, 0x10
shl r10d, cl
mov r11d, eax
mov ecx, r8d
lea edx, [r10 - 1]
and edx, esi
shr edx, cl
add edx, eax
mov eax, dword [r9 + rdx*4]
jmp 0x1801cb09c
test r13d, r13d
je 0x1801cb2ce
mov rdx, qword [rbp - 0x10]
mov ecx, r14d
dec r13d
add r14d, 8
movzx eax, byte [rdx]
inc rdx
shl eax, cl
mov ecx, r8d
add esi, eax
mov qword [rbp - 0x10], rdx
lea eax, [r10 - 1]
and eax, esi
shr eax, cl
add eax, r11d
mov eax, dword [r9 + rax*4]
mov ecx, eax
shr ecx, 8
movzx edx, cl
add edx, r8d
cmp edx, r14d
ja 0x1801cb065
mov ecx, r8d
sub r14d, r8d
shr esi, cl
add dword [rdi + 0x1be4], r8d
mov r10, qword [rbp - 0x10]
mov ecx, eax
mov r9d, dword [rbp - 0x20]
mov r11d, dword [rbp + 0x58]
shr ecx, 8
movzx ecx, cl
add dword [rdi + 0x1be4], ecx
sub r14d, ecx
shr esi, cl
test al, 0x40
je 0x1801cb0ea
lea rax, str.invalid_distance_code
jmp 0x180120ce5
mov ecx, eax
mov dword [rdi + 8], 0x3f4b
shr ecx, 0x10
mov dword [rdi + 0x54], ecx
movzx ecx, al
and ecx, 0xf
mov dword [rdi + 0x58], ecx
mov edx, dword [rdi + 0x58]
xor r8d, r8d
test edx, edx
jne 0x1801cb130
jmp 0x1801cb150
test r13d, r13d
je 0x180120df0
movzx eax, byte [r10]
mov ecx, r14d
shl eax, cl
inc r10
add esi, eax
mov qword [rbp - 0x10], r10
dec r13d
add r14d, 8
cmp r14d, edx
jb 0x1801cb10e
mov ecx, edx
mov eax, 1
shl eax, cl
sub r14d, edx
dec eax
and eax, esi
shr esi, cl
add dword [rdi + 0x54], eax
add dword [rdi + 0x1be4], edx
mov dword [rdi + 8], 0x3f4c
jmp 0x1801cb15c
xor r8d, r8d
test r11d, r11d
je 0x180120df0
mov ecx, dword [rdi + 0x54]
mov eax, r9d
sub eax, r11d
cmp ecx, eax
jbe 0x1801cb1b4
sub ecx, eax
cmp ecx, dword [rdi + 0x38]
jbe 0x1801cb18e
cmp dword [rdi + 0x1be0], r8d
je 0x1801cb18e
lea rax, str.invalid_distance_too_far_back
jmp 0x180120ce5
mov eax, dword [rdi + 0x3c]
cmp ecx, eax
jbe 0x1801cb19e
mov edx, dword [rdi + 0x34]
sub ecx, eax
sub edx, ecx
jmp 0x1801cb1a2
sub eax, ecx
mov edx, eax
mov eax, dword [rdi + 0x50]
mov r8d, eax
add rdx, qword [rdi + 0x40]
cmp ecx, eax
cmovbe r8d, ecx
jmp 0x1801cb1c0
mov eax, dword [rdi + 0x50]
mov rdx, rbx
sub rdx, rcx
mov r8d, eax
cmp r8d, r11d
cmova r8d, r11d
sub r11d, r8d
sub eax, r8d
mov dword [rbp + 0x58], r11d
sub rdx, rbx
mov dword [rdi + 0x50], eax
mov al, byte [rdx + rbx]
mov byte [rbx], al
inc rbx
add r8d, 0xffffffff
jne 0x1801cb1d7
lea rcx, [0x180000000]
mov qword [rbp - 8], rbx
cmp dword [rdi + 0x50], r8d
jne 0x180120813
jmp 0x1801cb20f
mov al, byte [rdi + 0x50]
mov byte [rbx], al
inc rbx
dec r11d
mov qword [rbp - 8], rbx
mov dword [rbp + 0x58], r11d
mov dword [rdi + 8], 0x3f48
jmp 0x18012080c
xor r8d, r8d
test r11d, r11d
je 0x180120df0
jmp 0x1801cb1fc
call fcn.180239b4c
nop
jmp 0x180120acf
lea rax, str.incorrect_data_check
jmp 0x180120ce5
xor r8d, r8d
jmp 0x180120b2d
test r13d, r13d
je 0x180120df0
movzx eax, byte [r10]
mov ecx, r14d
shl eax, cl
inc r10
add esi, eax
mov qword [rbp - 0x10], r10
dec r13d
add r14d, 8
cmp r14d, 0x20
jb 0x1801cb248
test byte [rdi + 0x10], 4
je 0x1801cb2b3
cmp esi, dword [rdi + 0x24]
je 0x1801cb2b3
lea rax, str.incorrect_length_check
jmp 0x180120ce5
mov qword [r15 + 0x10], rbx
mov eax, 2
mov dword [r15 + 0x18], r11d
mov qword [r15], r10
mov dword [r15 + 8], r13d
mov dword [rdi + 0x48], esi
mov dword [rdi + 0x4c], r14d
jmp 0x180120c14
shr esi, 2
add r14d, 0xfffffffd
jmp 0x180120df0
mov esi, r8d
mov r14d, r8d
jmp 0x180120b3d
xor r8d, r8d
jmp 0x180120b44
mov r12d, eax
jmp 0x180120b4a
xor r8d, r8d
jmp 0x180120df0
cmp dword [rdi + 8], 0x3f51
jge 0x180120b85
cmp dword [rdi + 8], 0x3f4e
jl 0x1801cb2f5
cmp esi, 4
je 0x180120b85
mov rdx, qword [r15 + 0x10]
mov r8d, ebx
sub r8d, dword [r15 + 0x18]
mov rcx, r15
call fcn.18023b184
test eax, eax
je 0x180120b85
mov dword [rdi + 8], 0x3f52
mov eax, 0xfffffffc
jmp 0x180120c14
mov rdx, qword [r15 + 0x10]
mov ecx, dword [rdi + 0x20]
mov r8d, ebx
sub rdx, r8
cmp dword [rdi + 0x18], 0
je 0x1801cb33b
call fcn.180239b4c
jmp 0x1801cb340
call fcn.18016cbf0
mov r9d, dword [rbp - 0x14]
mov dword [rdi + 0x20], eax
mov dword [r15 + 0x4c], eax
jmp 0x180120bae
mov r8d, 0x100
jmp 0x180120be9
test ebx, ebx
je 0x180120c05
jmp 0x180120c00