Function at 0x1401b334c
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, 0x60
mov r12d, edx
mov r15, rcx
call fcn.1401b4bbc
xor r8d, r8d
test eax, eax
jne case.0x1401b3420.16211
lea rax, [rcx + 0x10]
cmp qword [rax], r8
je case.0x1401b3420.16211
cmp qword [rcx], r8
jne 0x1401b339f
cmp dword [rcx + 8], r8d
jne case.0x1401b3420.16211
lea rdx, [rcx + 0x10]
jmp 0x1401b33a2
mov rdx, rax
mov rdi, qword [rcx + 0x28]
mov r9d, 0x3f40
mov qword [rbp - 0x10], rax
mov ecx, dword [rdi + 8]
cmp ecx, 0x3f3f
jne 0x1401b33c6
mov dword [rdi + 8], r9d
mov ecx, r9d
mov qword [rbp - 0x10], rdx
mov r10d, dword [r15 + 0x18]
add ecx, 0xffffc0cc
mov rbx, qword [rax]
mov r9d, r10d
mov r11, qword [r15]
mov r13d, dword [r15 + 8]
mov r14d, dword [rdi + 0x48]
mov esi, dword [rdi + 0x4c]
mov qword [rbp - 0x18], rbx
mov dword [rbp - 0x30], r10d
mov qword [rbp - 0x20], r11
mov dword [rbp - 0x24], r13d
mov dword [rbp + 0x50], r10d
mov dword [rbp + 0x58], r8d
cmp ecx, 0x1f
ja case.0x1401b3420.16211
movsxd rax, ecx
lea rcx, [0x140000000]
mov ecx, dword [rcx + rax*4 + 0x1b48b8]
lea rax, [0x140000000]
add rcx, rax
jmp rcx
xor r12d, r12d
cmp dword [rdi + 0x10], r12d
jne 0x1401b3437
mov dword [rdi + 8], 0x3f40
jmp 0x1401b4772
mov r8d, reloc.WS2_32.dll_recv
jmp 0x1401b3460
test r13d, r13d
je 0x1401b39cc
movzx eax, byte [r11]
mov ecx, esi
shl eax, cl
inc r11
add r14d, eax
mov qword [rbp - 0x20], r11
dec r13d
add esi, 8
cmp esi, r8d
jb 0x1401b343f
test byte [rdi + 0x10], 2
je 0x1401b34cb
cmp r14d, 0x8b1f
jne 0x1401b34cb
cmp dword [rdi + 0x30], r12d
jne 0x1401b3481
mov dword [rdi + 0x30], reloc.WS2_32.dll_ntohs
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.1401b4fe8
mov dword [rdi + 0x20], eax
lea rdx, [rbp - 0x2c]
mov byte [rbp - 0x2c], r14b
mov r8d, 2
shr r14d, 8
mov byte [rbp - 0x2b], r14b
mov ecx, dword [rdi + 0x20]
call fcn.1401b4fe8
mov dword [rdi + 0x20], eax
mov dword [rdi + 8], 0x3f35
mov esi, r12d
mov r14d, r12d
mov r11, qword [rbp - 0x20]
mov r10d, dword [rbp - 0x30]
jmp 0x1401b4772
mov rax, qword [rdi + 0x28]
mov dword [rdi + 0x18], r12d
test rax, rax
je 0x1401b34dc
or dword [rax + 0x40], 0xffffffff
test byte [rdi + 0x10], 1
je 0x1401b358c
movzx ecx, r14b
mov eax, r14d
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 0x1401b358c
mov eax, r14d
and al, 0xf
cmp al, 8
je 0x1401b3523
lea rax, str.unknown_compression_method
jmp 0x1401b4767
mov eax, dword [rdi + 0x30]
add esi, 0xfffffffc
shr r14d, 4
mov ecx, r14d
and ecx, 0xf
add ecx, 8
test eax, eax
jne 0x1401b353f
mov dword [rdi + 0x30], ecx
mov eax, ecx
cmp ecx, 0xf
ja 0x1401b3580
cmp ecx, eax
ja 0x1401b3580
mov eax, 1
xor r8d, r8d
shl eax, cl
xor edx, edx
xor ecx, ecx
mov dword [rdi + 0x1c], eax
call fcn.1401b4cf8
shr r14d, 8
not r14d
mov dword [rdi + 0x20], eax
and r14d, 2
mov dword [r15 + 0x4c], eax
or r14d, 0x3f3d
mov dword [rdi + 8], r14d
jmp 0x1401b34b8
lea rax, str.invalid_window_size
jmp 0x1401b4767
lea rax, str.incorrect_header_check
jmp 0x1401b4767
mov r8d, reloc.WS2_32.dll_recv
xor r12d, r12d
cmp esi, r8d
jae 0x1401b35c9
test r13d, r13d
je 0x1401b39cc
movzx eax, byte [r11]
mov ecx, esi
shl eax, cl
inc r11
add r14d, eax
mov qword [rbp - 0x20], r11
dec r13d
add esi, 8
jmp 0x1401b35a1
mov dword [rdi + 0x18], r14d
cmp r14b, 8
jne 0x1401b3517
test r14d, 0xe000
je 0x1401b35ec
lea rax, str.unknown_header_flags_set
jmp 0x1401b4767
mov rcx, qword [rdi + 0x28]
test rcx, rcx
je 0x1401b3600
mov eax, r14d
shr eax, 8
and eax, 1
mov dword [rcx], eax
test dword [rdi + 0x18], 0x200
je 0x1401b3634
test byte [rdi + 0x10], 4
je 0x1401b3634
mov byte [rbp - 0x2c], r14b
lea rdx, [rbp - 0x2c]
shr r14d, 8
mov r8d, 2
mov byte [rbp - 0x2b], r14b
mov ecx, dword [rdi + 0x20]
call fcn.1401b4fe8
mov r11, qword [rbp - 0x20]
mov dword [rdi + 0x20], eax
mov r14d, r12d
mov dword [rdi + 8], 0x3f36
mov esi, r12d
jmp 0x1401b3653
mov dword [rbp - 0x28], r14d
xor r12d, r12d
mov qword [rbp - 0x20], r11
cmp esi, 0x20
jae 0x1401b3672
test r13d, r13d
je 0x1401b39cc
movzx eax, byte [r11]
mov ecx, esi
shl eax, cl
dec r13d
add r14d, eax
inc r11
add esi, 8
jmp 0x1401b364a
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x1401b367f
mov dword [rax + 4], r14d
test dword [rdi + 0x18], 0x200
je 0x1401b36c5
test byte [rdi + 0x10], 4
je 0x1401b36c5
mov eax, r14d
mov byte [rbp - 0x2c], r14b
shr eax, 8
lea rdx, [rbp - 0x2c]
mov byte [rbp - 0x2b], al
mov r8d, 4
mov eax, r14d
shr r14d, 0x18
shr eax, 0x10
mov byte [rbp - 0x2a], al
mov byte [rbp - 0x29], r14b
mov ecx, dword [rdi + 0x20]
call fcn.1401b4fe8
mov r11, qword [rbp - 0x20]
mov dword [rdi + 0x20], eax
mov r14d, r12d
mov dword [rdi + 8], 0x3f37
mov esi, r12d
mov ebx, reloc.WS2_32.dll_recv
jmp 0x1401b36ed
mov dword [rbp - 0x28], r14d
mov ebx, reloc.WS2_32.dll_recv
xor r12d, r12d
mov qword [rbp - 0x20], r11
cmp esi, ebx
jae 0x1401b370c
test r13d, r13d
je 0x1401b39cc
movzx eax, byte [r11]
mov ecx, esi
shl eax, cl
dec r13d
add r14d, eax
inc r11
add esi, 8
jmp 0x1401b36e5
mov rdx, qword [rdi + 0x28]
mov ecx, r14d
shr ecx, 8
test rdx, rdx
je 0x1401b3729
movzx eax, r14b
mov dword [rdx + 8], eax
mov rax, qword [rdi + 0x28]
mov dword [rax + 0xc], ecx
test dword [rdi + 0x18], 0x200
je 0x1401b3758
test byte [rdi + 0x10], 4
je 0x1401b3758
mov byte [rbp - 0x2c], r14b
lea rdx, [rbp - 0x2c]
mov byte [rbp - 0x2b], cl
mov r8d, 2
mov ecx, dword [rdi + 0x20]
call fcn.1401b4fe8
mov r11, qword [rbp - 0x20]
mov dword [rdi + 0x20], eax
mov r14d, r12d
mov dword [rdi + 8], 0x3f38
mov esi, r12d
jmp 0x1401b376f
xor r12d, r12d
lea ebx, [r12 + 0x10]
test dword [rdi + 0x18], 0x400
jne 0x1401b37b3
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x1401b3785
mov qword [rax + 0x10], r12
mov r11, qword [rbp - 0x20]
mov dword [rdi + 8], 0x3f39
jmp 0x1401b3803
test r13d, r13d
je 0x1401b39cc
movzx eax, byte [r11]
mov ecx, esi
shl eax, cl
inc r11
add r14d, eax
mov qword [rbp - 0x20], r11
dec r13d
add esi, 8
cmp esi, ebx
jb 0x1401b3792
mov rax, qword [rdi + 0x28]
mov dword [rdi + 0x50], r14d
test rax, rax
je 0x1401b37c8
mov dword [rax + 0x18], r14d
test dword [rdi + 0x18], 0x200
je 0x1401b37f8
test byte [rdi + 0x10], 4
je 0x1401b37f8
mov byte [rbp - 0x2c], r14b
lea rdx, [rbp - 0x2c]
shr r14d, 8
mov r8d, 2
mov byte [rbp - 0x2b], r14b
mov ecx, dword [rdi + 0x20]
call fcn.1401b4fe8
mov dword [rdi + 0x20], eax
mov r14d, r12d
mov esi, r12d
jmp 0x1401b3785
xor r12d, r12d
test dword [rdi + 0x18], 0x400
je 0x1401b3898
mov eax, dword [rdi + 0x50]
mov ebx, r13d
cmp eax, r13d
cmovbe ebx, eax
test ebx, ebx
je 0x1401b3890
mov rcx, qword [rdi + 0x28]
test rcx, rcx
je 0x1401b3857
mov r9, qword [rcx + 0x10]
test r9, r9
je 0x1401b3857
mov edx, dword [rcx + 0x18]
mov ecx, dword [rcx + 0x1c]
sub edx, eax
lea eax, [rbx + rdx]
cmp eax, ecx
jbe 0x1401b3845
sub ecx, edx
jmp 0x1401b3847
mov ecx, ebx
mov r8d, ecx
mov ecx, edx
mov rdx, r11
add rcx, r9
call sub.VCRUNTIME140.dll_memcpy
test dword [rdi + 0x18], 0x200
je 0x1401b3878
test byte [rdi + 0x10], 4
je 0x1401b3878
mov rdx, qword [rbp - 0x20]
mov r8d, ebx
mov ecx, dword [rdi + 0x20]
call fcn.1401b4fe8
mov dword [rdi + 0x20], eax
mov r11, qword [rbp - 0x20]
sub r13d, ebx
mov eax, ebx
add r11, rax
mov eax, dword [rdi + 0x50]
sub eax, ebx
mov qword [rbp - 0x20], r11
mov dword [rdi + 0x50], eax
test eax, eax
jne 0x1401b39cc
mov dword [rdi + 0x50], r12d
mov dword [rdi + 8], 0x3f3a
jmp 0x1401b38a8
xor r12d, r12d
test dword [rdi + 0x18], 0x800
je 0x1401b392e
test r13d, r13d
je 0x1401b39cc
mov ebx, r12d
mov eax, ebx
inc ebx
mov r12b, byte [rax + r11]
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x1401b38e6
mov rdx, qword [rax + 0x20]
test rdx, rdx
je 0x1401b38e6
mov ecx, dword [rdi + 0x50]
cmp ecx, dword [rax + 0x28]
jae 0x1401b38e6
mov byte [rcx + rdx], r12b
inc dword [rdi + 0x50]
test r12b, r12b
je 0x1401b38f0
cmp ebx, r13d
jb 0x1401b38bd
test dword [rdi + 0x18], 0x200
je 0x1401b3914
test byte [rdi + 0x10], 4
je 0x1401b3914
mov ecx, dword [rdi + 0x20]
mov r8d, ebx
mov rdx, r11
call fcn.1401b4fe8
mov r11, qword [rbp - 0x20]
mov dword [rdi + 0x20], eax
mov eax, ebx
sub r13d, ebx
add r11, rax
mov qword [rbp - 0x20], r11
test r12b, r12b
jne 0x1401b39cc
xor r12d, r12d
jmp 0x1401b393b
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x1401b393b
mov qword [rax + 0x20], r12
mov dword [rdi + 0x50], r12d
mov dword [rdi + 8], 0x3f3b
jmp 0x1401b394b
xor r12d, r12d
test dword [rdi + 0x18], 0x1000
je 0x1401b3a53
test r13d, r13d
je 0x1401b39cc
mov ebx, r12d
mov eax, ebx
inc ebx
mov r12b, byte [rax + r11]
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x1401b3989
mov rdx, qword [rax + 0x30]
test rdx, rdx
je 0x1401b3989
mov ecx, dword [rdi + 0x50]
cmp ecx, dword [rax + 0x38]
jae 0x1401b3989
mov byte [rcx + rdx], r12b
inc dword [rdi + 0x50]
test r12b, r12b
je 0x1401b3993
cmp ebx, r13d
jb 0x1401b3960
test dword [rdi + 0x18], 0x200
je 0x1401b39b7
test byte [rdi + 0x10], 4
je 0x1401b39b7
mov ecx, dword [rdi + 0x20]
mov r8d, ebx
mov rdx, r11
call fcn.1401b4fe8
mov r11, qword [rbp - 0x20]
mov dword [rdi + 0x20], eax
mov eax, ebx
sub r13d, ebx
add r11, rax
mov qword [rbp - 0x20], r11
test r12b, r12b
je 0x1401b3a60
mov ebx, dword [rbp + 0x50]
mov r12d, dword [rbp + 0x58]
mov ecx, dword [rbp + 0x48]
mov rax, qword [rbp - 0x18]
mov qword [r15 + 0x10], rax
mov eax, dword [rbp - 0x30]
mov dword [r15 + 0x18], eax
mov rax, qword [rbp - 0x20]
mov qword [r15], rax
mov dword [r15 + 8], r13d
mov dword [rdi + 0x4c], esi
xor esi, esi
mov dword [rdi + 0x48], r14d
cmp dword [rdi + 0x34], esi
jne 0x1401b3a27
cmp ebx, dword [r15 + 0x18]
je 0x1401b47e7
cmp dword [rdi + 8], 0x3f51
jge 0x1401b47e7
cmp dword [rdi + 8], 0x3f4e
jl 0x1401b3a27
cmp ecx, 4
je 0x1401b47e7
mov rdx, qword [r15 + 0x10]
mov r8d, ebx
sub r8d, dword [r15 + 0x18]
mov rcx, r15
call fcn.1401b4bf4
test eax, eax
je 0x1401b47e7
mov dword [rdi + 8], 0x3f52
mov eax, 0xfffffffc
jmp 0x1401b489d
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x1401b3a60
mov qword [rax + 0x30], r12
mov r10d, dword [rbp - 0x30]
mov rbx, qword [rbp - 0x18]
mov dword [rdi + 8], 0x3f3c
test dword [rdi + 0x18], 0x200
je 0x1401b3aca
mov r8d, reloc.WS2_32.dll_recv
xor r12d, r12d
cmp esi, r8d
jae 0x1401b3aa9
test r13d, r13d
je 0x1401b39cc
movzx eax, byte [r11]
mov ecx, esi
shl eax, cl
inc r11
add r14d, eax
mov qword [rbp - 0x20], r11
dec r13d
add esi, 8
jmp 0x1401b3a81
test byte [rdi + 0x10], 4
je 0x1401b3ac4
movzx eax, word [rdi + 0x20]
cmp r14d, eax
je 0x1401b3ac4
lea rax, str.header_crc_mismatch
jmp 0x1401b4767
mov r14d, r12d
mov esi, r12d
mov rcx, qword [rdi + 0x28]
test rcx, rcx
je 0x1401b3aea
mov eax, dword [rdi + 0x18]
sar eax, 9
and eax, 1
mov dword [rcx + 0x3c], eax
mov rax, qword [rdi + 0x28]
mov dword [rax + 0x40], 1
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.1401b4fe8
mov dword [rdi + 0x20], eax
mov dword [r15 + 0x4c], eax
mov dword [rdi + 8], 0x3f3f
jmp 0x1401b34be
test r13d, r13d
je 0x1401b39cc
movzx eax, byte [r11]
mov ecx, esi
shl eax, cl
inc r11
add r14d, eax
mov qword [rbp - 0x20], r11
dec r13d
add esi, 8
cmp esi, 0x20
jb 0x1401b3b09
bswap r14d
mov dword [rdi + 0x20], r14d
xor eax, eax
mov dword [r15 + 0x4c], r14d
mov esi, eax
mov r14d, eax
mov dword [rdi + 8], 0x3f3e
jmp 0x1401b3b4c
xor eax, eax
cmp dword [rdi + 0x14], eax
je 0x1401b4791
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.1401b4cf8
mov r11, qword [rbp - 0x20]
mov r10d, dword [rbp - 0x30]
mov dword [rdi + 0x20], eax
mov dword [r15 + 0x4c], eax
mov dword [rdi + 8], 0x3f3f
lea eax, [r12 - 5]
cmp eax, 1
jbe 0x1401b39cc
xor edx, edx
cmp dword [rdi + 0xc], edx
je 0x1401b3bc3
mov ecx, esi
mov dword [rdi + 8], 0x3f4e
and ecx, 7
shr r14d, cl
sub esi, ecx
jmp 0x1401b4772
test r13d, r13d
je 0x1401b39cc
movzx eax, byte [r11]
mov ecx, esi
shl eax, cl
inc r11
add r14d, eax
mov qword [rbp - 0x20], r11
dec r13d
add esi, 8
cmp esi, 3
jb 0x1401b3ba2
mov eax, r14d
shr r14d, 1
and eax, 1
mov dword [rdi + 0xc], eax
mov eax, r14d
and eax, 3
je 0x1401b3c45
sub eax, 1
je 0x1401b3c08
sub eax, 1
je 0x1401b3bff
cmp eax, 1
jne 0x1401b3c4c
lea rax, str.invalid_block_type
mov qword [r15 + 0x20], rax
mov dword [rdi + 8], 0x3f51
jmp 0x1401b3c4c
mov dword [rdi + 8], 0x3f44
jmp 0x1401b3c4c
mov dword [rdi + 0x70], 9
lea rax, [0x1403e74b0]
mov qword [rdi + 0x60], rax
lea rax, [0x1403e7cb0]
mov qword [rdi + 0x68], rax
mov dword [rdi + 0x74], 5
mov dword [rdi + 8], 0x3f47
cmp r12d, 6
jne 0x1401b3c4c
shr r14d, 2
add esi, 0xfffffffd
jmp 0x1401b39cc
mov dword [rdi + 8], 0x3f41
shr r14d, 2
add esi, 0xfffffffd
jmp 0x1401b4772
mov ecx, esi
and ecx, 7
shr r14d, cl
sub esi, ecx
xor edx, edx
cmp esi, 0x20
jae 0x1401b3c8c
test r13d, r13d
je 0x1401b39cc
movzx eax, byte [r11]
mov ecx, esi
shl eax, cl
inc r11
add r14d, eax
mov qword [rbp - 0x20], r11
dec r13d
add esi, 8
jmp 0x1401b3c64
mov eax, r14d
movzx ecx, r14w
not eax
shr eax, 0x10
cmp ecx, eax
je 0x1401b3ca8
lea rax, str.invalid_stored_block_lengths
jmp 0x1401b4767
mov dword [rdi + 0x50], ecx
mov r14d, edx
mov dword [rdi + 8], 0x3f42
mov esi, edx
cmp r12d, 6
je 0x1401b39cc
mov dword [rdi + 8], 0x3f43
mov eax, dword [rdi + 0x50]
test eax, eax
je 0x1401b3d25
cmp eax, r13d
mov r12d, r13d
cmovbe r12d, eax
cmp r12d, r10d
cmova r12d, r10d
test r12d, r12d
je 0x1401b39cc
mov rcx, qword [rbp - 0x18]
mov rdx, r11
mov r8d, r12d
mov ebx, r12d
call sub.VCRUNTIME140.dll_memcpy
mov r11, qword [rbp - 0x20]
sub r13d, r12d
mov r10d, dword [rbp - 0x30]
add r11, rbx
add qword [rbp - 0x18], rbx
sub r10d, r12d
sub dword [rdi + 0x50], r12d
mov rbx, qword [rbp - 0x18]
mov qword [rbp - 0x20], r11
mov dword [rbp - 0x30], r10d
jmp 0x1401b4772
mov dword [rdi + 8], 0x3f3f
jmp 0x1401b4772
xor r12d, r12d
cmp esi, 0xe
jae 0x1401b3d5c
test r13d, r13d
je 0x1401b39cc
movzx eax, byte [r11]
mov ecx, esi
shl eax, cl
inc r11
add r14d, eax
mov qword [rbp - 0x20], r11
dec r13d
add esi, 8
jmp 0x1401b3d34
mov ecx, r14d
add esi, 0xfffffff2
shr r14d, 5
and ecx, 0x1f
mov edx, r14d
add ecx, 0x101
shr r14d, 5
and edx, 0x1f
mov eax, r14d
mov dword [rdi + 0x7c], ecx
and eax, 0xf
shr r14d, 4
add eax, 4
inc edx
mov dword [rdi + 0x80], edx
mov dword [rdi + 0x78], eax
cmp ecx, 0x11e
ja 0x1401b3db1
cmp edx, 0x1e
ja 0x1401b3db1
mov dword [rdi + 0x84], r12d
mov dword [rdi + 8], 0x3f45
jmp 0x1401b3dc0
lea rax, str.too_many_length_or_distance_symbols
jmp 0x1401b4767
xor r12d, r12d
mov edx, 7
lea r8, [0x140000000]
mov eax, dword [rdi + 0x84]
cmp eax, dword [rdi + 0x78]
jae 0x1401b3e4c
jmp 0x1401b3dfa
test r13d, r13d
je 0x1401b39cc
movzx eax, byte [r11]
mov ecx, esi
shl eax, cl
inc r11
add r14d, eax
mov qword [rbp - 0x20], r11
dec r13d
add esi, 8
cmp esi, 3
jb 0x1401b3dd9
mov eax, dword [rdi + 0x84]
movzx ecx, r14w
and cx, dx
shr r14d, 3
movzx eax, word [r8 + rax*2 + 0x3e7d30]
mov word [rdi + rax*2 + 0x90], cx
inc dword [rdi + 0x84]
add esi, 0xfffffffd
jmp 0x1401b3dcc
movzx eax, word [r8 + rax*2 + 0x3e7d30]
mov word [rdi + rax*2 + 0x90], r12w
mov eax, dword [rdi + 0x84]
inc eax
mov dword [rdi + 0x84], eax
cmp eax, 0x13
jb 0x1401b3e2c
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.1401b5310
mov r11, qword [rbp - 0x20]
mov r10d, dword [rbp - 0x30]
mov dword [rbp + 0x58], eax
test eax, eax
je 0x1401b3eaa
lea rax, str.invalid_code_lengths_set
jmp 0x1401b4767
mov dword [rdi + 0x84], r12d
mov dword [rdi + 8], 0x3f46
jmp 0x1401b3ebd
xor r12d, r12d
mov eax, dword [rdi + 0x80]
add eax, dword [rdi + 0x7c]
cmp dword [rdi + 0x84], eax
jae 0x1401b40e4
mov ecx, dword [rdi + 0x70]
mov eax, 1
mov r8, qword [rdi + 0x60]
shl eax, cl
lea ecx, [rax - 1]
mov eax, r14d
and rcx, rax
mov eax, dword [r8 + rcx*4]
mov ecx, eax
shr ecx, 8
or r9d, 0xffffffff
movzx ecx, cl
mov dword [rbp - 0x28], eax
cmp ecx, esi
jbe 0x1401b3f3e
test r13d, r13d
je 0x1401b39cc
movzx eax, byte [r11]
mov ecx, esi
shl eax, cl
inc r11
mov ecx, dword [rdi + 0x70]
add r14d, eax
mov eax, 1
mov edx, r14d
shl eax, cl
add r13d, r9d
dec eax
mov qword [rbp - 0x20], r11
and rax, rdx
add esi, 8
mov eax, dword [r8 + rax*4]
mov ecx, eax
shr ecx, 8
jmp 0x1401b3ef6
mov edx, eax
mov r8d, reloc.WS2_32.dll_recv
shr edx, 0x10
cmp dx, r8w
jae 0x1401b3f7a
shr eax, 8
movzx ecx, al
mov eax, dword [rdi + 0x84]
sub esi, ecx
shr r14d, cl
mov word [rdi + rax*2 + 0x90], dx
inc dword [rdi + 0x84]
mov r8d, dword [rdi + 0x84]
jmp 0x1401b40be
jne 0x1401b3fe3
shr eax, 8
movzx edx, al
add edx, 2
jmp 0x1401b3fa8
test r13d, r13d
je 0x1401b39cc
movzx eax, byte [r11]
mov ecx, esi
shl eax, cl
inc r11
add r14d, eax
mov qword [rbp - 0x20], r11
add r13d, r9d
add esi, 8
cmp esi, edx
jb 0x1401b3f87
movzx ecx, byte [rbp - 0x27]
mov eax, dword [rdi + 0x84]
sub esi, ecx
shr r14d, cl
test eax, eax
je 0x1401b40d2
mov edx, r14d
add esi, 0xfffffffe
and edx, 3
shr r14d, 2
add edx, 3
dec eax
movzx r9d, word [rdi + rax*2 + 0x90]
jmp 0x1401b4083
cmp word [rbp - 0x26], 0x11
movzx r8d, byte [rbp - 0x27]
jne 0x1401b4037
lea edx, [r8 + 3]
jmp 0x1401b4016
test r13d, r13d
je 0x1401b39cc
movzx eax, byte [r11]
mov ecx, esi
shl eax, cl
inc r11
add r14d, eax
mov qword [rbp - 0x20], r11
add r13d, r9d
add esi, 8
cmp esi, edx
jb 0x1401b3ff5
mov cl, r8b
mov r9d, r12d
shr r14d, cl
mov ecx, 0xfffffffd
mov edx, r14d
and edx, 7
add edx, 3
shr r14d, 3
jmp 0x1401b407e
lea edx, [r8 + 7]
jmp 0x1401b405e
test r13d, r13d
je 0x1401b39cc
movzx eax, byte [r11]
mov ecx, esi
shl eax, cl
inc r11
add r14d, eax
mov qword [rbp - 0x20], r11
add r13d, r9d
add esi, 8
cmp esi, edx
jb 0x1401b403d
mov cl, r8b
movzx r9d, r12w
shr r14d, cl
mov ecx, 0xfffffff9
mov edx, r14d
and edx, 0x7f
add edx, 0xb
shr r14d, 7
sub ecx, r8d
add esi, ecx
mov r8d, dword [rdi + 0x84]
mov ecx, dword [rdi + 0x7c]
add ecx, dword [rdi + 0x80]
lea eax, [r8 + rdx]
cmp eax, ecx
ja 0x1401b40d2
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 0x1401b409b
mov eax, dword [rdi + 0x7c]
add eax, dword [rdi + 0x80]
cmp r8d, eax
jb 0x1401b3ed2
jmp 0x1401b40e4
lea rax, str.invalid_bit_length_repeat
mov qword [r15 + 0x20], rax
mov dword [rdi + 8], 0x3f51
cmp dword [rdi + 8], 0x3f51
je 0x1401b4772
cmp word [rdi + 0x290], r12w
jne 0x1401b4107
lea rax, str.invalid_code____missing_end_of_block
jmp 0x1401b4767
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.1401b5310
mov dword [rbp + 0x58], eax
test eax, eax
je 0x1401b416a
lea rax, str.invalid_literal_lengths_set
mov r11, qword [rbp - 0x20]
mov r10d, dword [rbp - 0x30]
jmp 0x1401b4763
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.1401b5310
mov dword [rbp + 0x58], eax
test eax, eax
je 0x1401b41b4
lea rax, str.invalid_distances_set
jmp 0x1401b415d
mov ecx, dword [rbp + 0x48]
mov dword [rdi + 8], 0x3f47
cmp ecx, 6
je 0x1401b47dc
mov r11, qword [rbp - 0x20]
mov r9d, dword [rbp + 0x50]
mov r10d, dword [rbp - 0x30]
mov rbx, qword [rbp - 0x18]
mov dword [rdi + 8], 0x3f48
cmp r13d, 6
jb 0x1401b424d
cmp r10d, 0x102
jb 0x1401b424d
mov r12, qword [rbp - 0x10]
mov edx, r9d
mov dword [r15 + 0x18], r10d
mov rcx, r15
mov qword [r15], r11
mov dword [r15 + 8], r13d
mov qword [r12], rbx
mov dword [rdi + 0x48], r14d
mov dword [rdi + 0x4c], esi
call fcn.1401b57a8
cmp dword [rdi + 8], 0x3f3f
mov r11, qword [r15]
mov rbx, qword [r12]
mov r10d, dword [r15 + 0x18]
mov r13d, dword [r15 + 8]
mov r14d, dword [rdi + 0x48]
mov esi, dword [rdi + 0x4c]
mov qword [rbp - 0x20], r11
mov qword [rbp - 0x18], rbx
mov dword [rbp - 0x30], r10d
jne 0x1401b4772
or dword [rdi + 0x1be4], 0xffffffff
jmp 0x1401b4772
mov ecx, dword [rdi + 0x70]
xor r12d, r12d
mov r10, qword [rdi + 0x60]
mov dword [rdi + 0x1be4], r12d
lea eax, [r12 + 1]
shl eax, cl
lea ecx, [rax - 1]
mov eax, r14d
and rcx, rax
mov eax, dword [r10 + rcx*4]
jmp 0x1401b42ab
test r13d, r13d
je 0x1401b39cc
movzx eax, byte [r11]
mov ecx, esi
shl eax, cl
inc r11
mov ecx, dword [rdi + 0x70]
add r14d, eax
mov eax, 1
mov edx, r14d
shl eax, cl
dec r13d
dec eax
mov qword [rbp - 0x20], r11
add esi, 8
and rax, rdx
mov eax, dword [r10 + rax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
ja 0x1401b4274
test al, al
je 0x1401b4349
test al, 0xf0
jne 0x1401b4349
mov ecx, eax
mov dword [rbp - 0x28], eax
shr ecx, 8
mov edx, eax
movzx r9d, cl
movzx ecx, al
shr eax, 0x10
jmp 0x1401b430a
test r13d, r13d
je 0x1401b39cc
movzx eax, byte [r11]
mov ecx, esi
movzx r9d, byte [rbp - 0x27]
inc r11
shl eax, cl
dec r13d
add r14d, eax
mov qword [rbp - 0x20], r11
movzx eax, word [rbp - 0x26]
add esi, 8
movzx ecx, dl
add ecx, r9d
mov r8d, 1
shl r8d, cl
mov ecx, r9d
dec r8d
and r8d, r14d
shr r8d, cl
add r8d, eax
mov eax, dword [r10 + r8*4]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
add r8d, r9d
cmp r8d, esi
ja 0x1401b42dd
movzx ecx, byte [rbp - 0x27]
shr r14d, cl
sub esi, ecx
mov dword [rdi + 0x1be4], ecx
mov ecx, eax
shr ecx, 8
movzx edx, cl
add dword [rdi + 0x1be4], edx
mov ecx, edx
shr r14d, cl
sub esi, edx
mov ecx, eax
shr ecx, 0x10
mov dword [rdi + 0x50], ecx
test al, al
jne 0x1401b4376
mov dword [rdi + 8], 0x3f4d
jmp 0x1401b34c2
test al, 0x20
je 0x1401b438d
or dword [rdi + 0x1be4], 0xffffffff
mov dword [rdi + 8], 0x3f3f
jmp 0x1401b34c2
test al, 0x40
je 0x1401b43a1
mov r10d, dword [rbp - 0x30]
lea rax, str.invalid_literal_length_code
jmp 0x1401b4767
movzx ecx, al
and ecx, 0xf
mov dword [rdi + 8], 0x3f49
mov dword [rdi + 0x58], ecx
jmp 0x1401b43b6
xor r12d, r12d
mov edx, dword [rdi + 0x58]
test edx, edx
je 0x1401b4400
jmp 0x1401b43e0
test r13d, r13d
je 0x1401b39cc
movzx eax, byte [r11]
mov ecx, esi
shl eax, cl
inc r11
add r14d, eax
mov qword [rbp - 0x20], r11
dec r13d
add esi, 8
cmp esi, edx
jb 0x1401b43bf
mov ecx, edx
mov eax, 1
shl eax, cl
sub esi, edx
dec eax
and eax, r14d
shr r14d, 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 0x1401b4415
xor r12d, r12d
mov ecx, dword [rdi + 0x74]
mov eax, 1
mov r10, qword [rdi + 0x68]
shl eax, cl
lea ecx, [rax - 1]
mov eax, r14d
and rcx, rax
mov eax, dword [r10 + rcx*4]
jmp 0x1401b4469
test r13d, r13d
je 0x1401b39cc
movzx eax, byte [r11]
mov ecx, esi
shl eax, cl
inc r11
mov ecx, dword [rdi + 0x74]
add r14d, eax
mov eax, 1
mov edx, r14d
shl eax, cl
dec r13d
dec eax
mov qword [rbp - 0x20], r11
add esi, 8
and rax, rdx
mov eax, dword [r10 + rax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
ja 0x1401b4432
test al, 0xf0
jne 0x1401b44ff
mov ecx, eax
mov dword [rbp - 0x28], eax
shr ecx, 8
mov edx, eax
movzx r9d, cl
movzx ecx, al
shr eax, 0x10
jmp 0x1401b44c0
test r13d, r13d
je 0x1401b39cc
movzx eax, byte [r11]
mov ecx, esi
movzx r9d, byte [rbp - 0x27]
inc r11
shl eax, cl
dec r13d
add r14d, eax
mov qword [rbp - 0x20], r11
movzx eax, word [rbp - 0x26]
add esi, 8
movzx ecx, dl
add ecx, r9d
mov r8d, 1
shl r8d, cl
mov ecx, r9d
dec r8d
and r8d, r14d
shr r8d, cl
add r8d, eax
mov eax, dword [r10 + r8*4]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
add r8d, r9d
cmp r8d, esi
ja 0x1401b4493
movzx ecx, byte [rbp - 0x27]
shr r14d, cl
sub esi, ecx
add dword [rdi + 0x1be4], ecx
mov r10d, dword [rbp - 0x30]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [rdi + 0x1be4], ecx
sub esi, ecx
shr r14d, cl
test al, 0x40
je 0x1401b4526
lea rax, str.invalid_distance_code
jmp 0x1401b4767
mov r9d, dword [rbp + 0x50]
mov ecx, eax
shr ecx, 0x10
mov dword [rdi + 0x54], ecx
movzx ecx, al
and ecx, 0xf
mov dword [rdi + 8], 0x3f4b
mov dword [rdi + 0x58], ecx
jmp 0x1401b4547
xor r12d, r12d
mov edx, dword [rdi + 0x58]
test edx, edx
je 0x1401b4591
jmp 0x1401b4571
test r13d, r13d
je 0x1401b39cc
movzx eax, byte [r11]
mov ecx, esi
shl eax, cl
inc r11
add r14d, eax
mov qword [rbp - 0x20], r11
dec r13d
add esi, 8
cmp esi, edx
jb 0x1401b4550
mov ecx, edx
mov eax, 1
shl eax, cl
sub esi, edx
dec eax
and eax, r14d
shr r14d, cl
add dword [rdi + 0x54], eax
add dword [rdi + 0x1be4], edx
mov dword [rdi + 8], 0x3f4c
jmp 0x1401b459d
xor r12d, r12d
test r10d, r10d
je 0x1401b39cc
mov ecx, dword [rdi + 0x54]
mov eax, r9d
sub eax, r10d
cmp ecx, eax
jbe 0x1401b45f5
sub ecx, eax
cmp ecx, dword [rdi + 0x38]
jbe 0x1401b45cf
cmp dword [rdi + 0x1be0], r12d
je 0x1401b45cf
lea rax, str.invalid_distance_too_far_back
jmp 0x1401b4767
mov eax, dword [rdi + 0x3c]
cmp ecx, eax
jbe 0x1401b45df
mov edx, dword [rdi + 0x34]
sub ecx, eax
sub edx, ecx
jmp 0x1401b45e3
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 0x1401b4601
mov eax, dword [rdi + 0x50]
mov rdx, rbx
sub rdx, rcx
mov r8d, eax
cmp r8d, r10d
cmova r8d, r10d
sub r10d, r8d
sub eax, r8d
mov dword [rbp - 0x30], r10d
sub rdx, rbx
mov dword [rdi + 0x50], eax
mov al, byte [rdx + rbx]
mov byte [rbx], al
inc rbx
add r8d, 0xffffffff
jne 0x1401b4618
mov qword [rbp - 0x18], rbx
cmp dword [rdi + 0x50], r12d
jne 0x1401b4772
mov dword [rdi + 8], 0x3f48
jmp 0x1401b4772
test r10d, r10d
je 0x1401b39cc
mov al, byte [rdi + 0x50]
mov byte [rbx], al
inc rbx
dec r10d
mov qword [rbp - 0x18], rbx
mov dword [rbp - 0x30], r10d
jmp 0x1401b4634
xor r12d, r12d
cmp dword [rdi + 0x10], r12d
jne 0x1401b4697
mov ebx, dword [rbp + 0x50]
mov dword [rdi + 8], 0x3f4f
jmp 0x1401b471a
test r13d, r13d
je 0x1401b39cc
movzx eax, byte [r11]
mov ecx, esi
shl eax, cl
inc r11
add r14d, eax
mov qword [rbp - 0x20], r11
dec r13d
add esi, 8
cmp esi, 0x20
jb 0x1401b4676
sub r9d, r10d
add dword [r15 + 0x1c], r9d
add dword [rdi + 0x24], r9d
test byte [rdi + 0x10], 4
je 0x1401b46e2
test r9d, r9d
je 0x1401b46e2
mov ecx, dword [rdi + 0x20]
mov rdx, rbx
mov eax, r9d
mov r8d, r9d
sub rdx, rax
cmp dword [rdi + 0x18], r12d
je 0x1401b46ce
call fcn.1401b4fe8
jmp 0x1401b46d3
call fcn.1401b4cf8
mov r11, qword [rbp - 0x20]
mov r10d, dword [rbp - 0x30]
mov dword [rdi + 0x20], eax
mov dword [r15 + 0x4c], eax
test byte [rdi + 0x10], 4
mov ebx, r10d
mov dword [rbp + 0x50], ebx
je 0x1401b4709
cmp dword [rdi + 0x18], r12d
mov eax, r14d
bswap eax
cmovne eax, r14d
cmp eax, dword [rdi + 0x20]
je 0x1401b4709
lea rax, str.incorrect_data_check
jmp 0x1401b4763
mov r14d, r12d
mov esi, r12d
jmp 0x1401b466a
mov ebx, dword [rbp + 0x50]
xor r12d, r12d
cmp dword [rdi + 0x10], r12d
je 0x1401b47b7
cmp dword [rdi + 0x18], r12d
je 0x1401b47b7
jmp 0x1401b4751
test r13d, r13d
je 0x1401b39cf
movzx eax, byte [r11]
mov ecx, esi
shl eax, cl
inc r11
add r14d, eax
mov qword [rbp - 0x20], r11
dec r13d
add esi, 8
cmp esi, 0x20
jb 0x1401b4730
cmp r14d, dword [rdi + 0x24]
je 0x1401b47b1
lea rax, str.incorrect_length_check
mov rbx, qword [rbp - 0x18]
mov qword [r15 + 0x20], rax
mov dword [rdi + 8], 0x3f51
mov ecx, dword [rdi + 8]
sub ecx, 0x3f34
cmp ecx, 0x1f
ja case.0x1401b3420.16211
mov r9d, dword [rbp + 0x50]
mov r12d, dword [rbp + 0x48]
jmp 0x1401b3405
mov qword [r15 + 0x10], rbx
mov eax, 2
mov dword [r15 + 0x18], r10d
mov qword [r15], r11
mov dword [r15 + 8], r13d
mov dword [rdi + 0x48], r14d
mov dword [rdi + 0x4c], esi
jmp 0x1401b489d
mov r14d, r12d
mov esi, r12d
mov dword [rdi + 8], 0x3f50
jmp 0x1401b47c3
mov ebx, dword [rbp + 0x50]
mov r12d, 1
jmp 0x1401b39d3
mov ebx, dword [rbp + 0x50]
mov r12d, 0xfffffffd
jmp 0x1401b39d3
mov ebx, dword [rbp + 0x50]
mov r12d, eax
jmp 0x1401b39d6
sub ebx, dword [r15 + 0x18]
mov r8d, dword [rbp - 0x24]
sub r8d, dword [r15 + 8]
add dword [r15 + 0xc], r8d
add dword [r15 + 0x1c], ebx
add dword [rdi + 0x24], ebx
test byte [rdi + 0x10], 4
mov dword [rbp - 0x24], r8d
je 0x1401b4837
test ebx, ebx
je 0x1401b4837
mov rdx, qword [r15 + 0x10]
mov r8d, ebx
mov ecx, dword [rdi + 0x20]
mov eax, ebx
sub rdx, rax
cmp dword [rdi + 0x18], esi
je 0x1401b4827
call fcn.1401b4fe8
jmp 0x1401b482c
call fcn.1401b4cf8
mov r8d, dword [rbp - 0x24]
mov dword [rdi + 0x20], eax
mov dword [r15 + 0x4c], eax
cmp dword [rdi + 8], 0x3f47
je 0x1401b484b
cmp dword [rdi + 8], 0x3f42
mov edx, esi
jne 0x1401b4850
mov edx, 0x100
mov eax, dword [rdi + 0xc]
mov r9d, 0x80
neg eax
mov eax, esi
sbb ecx, ecx
and ecx, 0x40
cmp dword [rdi + 8], 0x3f3f
cmove eax, r9d
add ecx, eax
add ecx, dword [rdi + 0x4c]
add ecx, edx
mov dword [r15 + 0x48], ecx
test r8d, r8d
jne 0x1401b4881
test ebx, ebx
je 0x1401b4887
cmp dword [rbp + 0x48], 4
jne 0x1401b4893
test r12d, r12d
mov eax, 0xfffffffb
cmove r12d, eax
mov eax, r12d
jmp 0x1401b489d
mov eax, 0xfffffffe
mov rbx, qword [rsp + 0xa0]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret