Function at 0x140203c2c
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 r13d, edx
mov r15, rcx
call fcn.1402054d0
xor ecx, ecx
test eax, eax
jne case.0x140203ce5.16211
cmp qword [r15 + 0x10], rcx
je case.0x140203ce5.16211
cmp qword [r15], rcx
jne 0x140203c75
cmp dword [r15 + 8], ecx
jne case.0x140203ce5.16211
mov rdi, qword [r15 + 0x28]
mov edx, 0x3f40
mov eax, dword [rdi + 8]
cmp eax, 0x3f3f
jne 0x140203c8d
mov dword [rdi + 8], edx
mov eax, edx
mov r11d, dword [r15 + 0x18]
add eax, 0xffffc0cc
mov rbx, qword [r15 + 0x10]
mov r9d, r11d
mov r10, qword [r15]
mov r12d, dword [r15 + 8]
mov r14d, dword [rdi + 0x48]
mov esi, dword [rdi + 0x4c]
mov qword [rbp - 8], rbx
mov dword [rbp + 0x58], r11d
mov qword [rbp - 0x10], r10
mov dword [rbp - 0x14], r12d
mov dword [rbp + 0x50], r11d
mov dword [rbp - 0x1c], ecx
cmp eax, 0x1f
ja case.0x140203ce5.16211
cdqe
lea rcx, [0x140000000]
mov ecx, dword [rcx + rax*4 + 0x2051cc]
lea rax, [0x140000000]
add rcx, rax
jmp rcx
xor r13d, r13d
cmp dword [rdi + 0x10], r13d
jne 0x140203cfc
mov dword [rdi + 8], 0x3f40
jmp 0x14020507f
mov r8d, reloc.WS2_32.dll_recv
jmp 0x140203d25
test r12d, r12d
je 0x1402044b1
movzx eax, byte [r10]
mov ecx, esi
shl eax, cl
inc r10
add r14d, eax
mov qword [rbp - 0x10], r10
dec r12d
add esi, 8
cmp esi, r8d
jb 0x140203d04
test byte [rdi + 0x10], 2
je 0x140203d90
cmp r14d, 0x8b1f
jne 0x140203d90
cmp dword [rdi + 0x30], r13d
jne 0x140203d46
mov dword [rdi + 0x30], reloc.WS2_32.dll_ntohs
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.1402058f8
mov dword [rdi + 0x20], eax
lea rdx, [rbp - 0x20]
mov byte [rbp - 0x20], r14b
mov r8d, 2
shr r14d, 8
mov byte [rbp - 0x1f], r14b
mov ecx, dword [rdi + 0x20]
call fcn.1402058f8
mov dword [rdi + 0x20], eax
mov dword [rdi + 8], 0x3f35
mov esi, r13d
mov r14d, r13d
mov r10, qword [rbp - 0x10]
mov r11d, dword [rbp + 0x58]
jmp 0x14020507f
mov rax, qword [rdi + 0x28]
mov dword [rdi + 0x18], r13d
test rax, rax
je 0x140203da1
or dword [rax + 0x40], 0xffffffff
test byte [rdi + 0x10], 1
je 0x140203e51
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 0x140203e51
mov eax, r14d
and al, 0xf
cmp al, 8
je 0x140203de8
lea rax, str.unknown_compression_method
jmp 0x140205074
mov eax, dword [rdi + 0x30]
add esi, 0xfffffffc
shr r14d, 4
mov ecx, r14d
and ecx, 0xf
add ecx, 8
test eax, eax
jne 0x140203e04
mov dword [rdi + 0x30], ecx
mov eax, ecx
cmp ecx, 0xf
ja 0x140203e45
cmp ecx, eax
ja 0x140203e45
mov eax, 1
xor r8d, r8d
shl eax, cl
xor edx, edx
xor ecx, ecx
mov dword [rdi + 0x1c], eax
call fcn.140205608
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 0x140203d7d
lea rax, str.invalid_window_size
jmp 0x140205074
lea rax, str.incorrect_header_check
jmp 0x140205074
mov r8d, reloc.WS2_32.dll_recv
xor r13d, r13d
cmp esi, r8d
jae 0x140203e8e
test r12d, r12d
je 0x1402044b1
movzx eax, byte [r10]
mov ecx, esi
shl eax, cl
inc r10
add r14d, eax
mov qword [rbp - 0x10], r10
dec r12d
add esi, 8
jmp 0x140203e66
mov dword [rdi + 0x18], r14d
cmp r14b, 8
jne 0x140203ddc
test r14d, 0xe000
je 0x140203eb1
lea rax, str.unknown_header_flags_set
jmp 0x140205074
mov rdx, qword [rdi + 0x28]
mov ecx, r14d
shr ecx, 8
test rdx, rdx
je 0x140203ec7
mov eax, ecx
and eax, 1
mov dword [rdx], eax
test dword [rdi + 0x18], 0x200
je 0x140203ef6
test byte [rdi + 0x10], 4
je 0x140203ef6
mov byte [rbp - 0x20], r14b
lea rdx, [rbp - 0x20]
mov byte [rbp - 0x1f], cl
mov r8d, 2
mov ecx, dword [rdi + 0x20]
call fcn.1402058f8
mov r10, qword [rbp - 0x10]
mov dword [rdi + 0x20], eax
mov r14d, r13d
mov dword [rdi + 8], 0x3f36
mov esi, r13d
jmp 0x140203f15
mov dword [rbp - 0x18], r14d
xor r13d, r13d
mov qword [rbp - 0x10], r10
cmp esi, 0x20
jae 0x140203f34
test r12d, r12d
je 0x1402044b1
movzx eax, byte [r10]
mov ecx, esi
shl eax, cl
dec r12d
add r14d, eax
inc r10
add esi, 8
jmp 0x140203f0c
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x140203f41
mov dword [rax + 4], r14d
test dword [rdi + 0x18], 0x200
je 0x140203f87
test byte [rdi + 0x10], 4
je 0x140203f87
mov eax, r14d
mov byte [rbp - 0x20], r14b
shr eax, 8
lea rdx, [rbp - 0x20]
mov byte [rbp - 0x1f], al
mov r8d, 4
mov eax, r14d
shr r14d, 0x18
shr eax, 0x10
mov byte [rbp - 0x1e], al
mov byte [rbp - 0x1d], r14b
mov ecx, dword [rdi + 0x20]
call fcn.1402058f8
mov r10, qword [rbp - 0x10]
mov dword [rdi + 0x20], eax
mov r14d, r13d
mov dword [rdi + 8], 0x3f37
mov esi, r13d
mov ebx, reloc.WS2_32.dll_recv
jmp 0x140203faf
mov dword [rbp - 0x18], r14d
mov ebx, reloc.WS2_32.dll_recv
xor r13d, r13d
mov qword [rbp - 0x10], r10
cmp esi, ebx
jae 0x140203fce
test r12d, r12d
je 0x1402044b1
movzx eax, byte [r10]
mov ecx, esi
shl eax, cl
dec r12d
add r14d, eax
inc r10
add esi, 8
jmp 0x140203fa7
mov rdx, qword [rdi + 0x28]
mov ecx, r14d
shr ecx, 8
test rdx, rdx
je 0x140203feb
movzx eax, r14b
mov dword [rdx + 8], eax
mov rax, qword [rdi + 0x28]
mov dword [rax + 0xc], ecx
test dword [rdi + 0x18], 0x200
je 0x14020401a
test byte [rdi + 0x10], 4
je 0x14020401a
mov byte [rbp - 0x20], r14b
lea rdx, [rbp - 0x20]
mov byte [rbp - 0x1f], cl
mov r8d, 2
mov ecx, dword [rdi + 0x20]
call fcn.1402058f8
mov r10, qword [rbp - 0x10]
mov dword [rdi + 0x20], eax
mov r14d, r13d
mov dword [rdi + 8], 0x3f38
mov esi, r13d
jmp 0x140204030
xor r13d, r13d
lea ebx, [r13 + 0x10]
test dword [rdi + 0x18], 0x400
jne 0x140204074
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x140204046
mov qword [rax + 0x10], r13
mov r10, qword [rbp - 0x10]
mov dword [rdi + 8], 0x3f39
jmp 0x1402040c4
test r12d, r12d
je 0x1402044b1
movzx eax, byte [r10]
mov ecx, esi
shl eax, cl
inc r10
add r14d, eax
mov qword [rbp - 0x10], r10
dec r12d
add esi, 8
cmp esi, ebx
jb 0x140204053
mov rax, qword [rdi + 0x28]
mov dword [rdi + 0x50], r14d
test rax, rax
je 0x140204089
mov dword [rax + 0x18], r14d
test dword [rdi + 0x18], 0x200
je 0x1402040b9
test byte [rdi + 0x10], 4
je 0x1402040b9
mov byte [rbp - 0x20], r14b
lea rdx, [rbp - 0x20]
shr r14d, 8
mov r8d, 2
mov byte [rbp - 0x1f], r14b
mov ecx, dword [rdi + 0x20]
call fcn.1402058f8
mov dword [rdi + 0x20], eax
mov r14d, r13d
mov esi, r13d
jmp 0x140204046
xor r13d, r13d
test dword [rdi + 0x18], 0x400
je 0x14020415a
mov eax, dword [rdi + 0x50]
mov ebx, r12d
cmp eax, r12d
cmovbe ebx, eax
test ebx, ebx
je 0x140204152
mov rcx, qword [rdi + 0x28]
test rcx, rcx
je 0x140204118
mov r9, qword [rcx + 0x10]
test r9, r9
je 0x140204118
mov edx, dword [rcx + 0x18]
mov ecx, dword [rcx + 0x1c]
sub edx, eax
lea eax, [rbx + rdx]
cmp eax, ecx
jbe 0x140204106
sub ecx, edx
jmp 0x140204108
mov ecx, ebx
mov r8d, ecx
mov ecx, edx
mov rdx, r10
add rcx, r9
call fcn.1403318a0
test dword [rdi + 0x18], 0x200
je 0x14020413c
test byte [rdi + 0x10], 4
je 0x14020413c
mov rdx, qword [rbp - 0x10]
mov r8d, ebx
mov ecx, dword [rdi + 0x20]
call fcn.1402058f8
mov dword [rdi + 0x20], eax
xor r13d, r13d
mov r10, qword [rbp - 0x10]
sub r12d, ebx
mov eax, ebx
add r10, rax
sub dword [rdi + 0x50], ebx
mov eax, dword [rdi + 0x50]
mov qword [rbp - 0x10], r10
test eax, eax
jne 0x1402044b1
mov dword [rdi + 0x50], r13d
mov dword [rdi + 8], 0x3f3a
jmp 0x14020416a
xor r13d, r13d
test dword [rdi + 0x18], 0x800
je 0x1402041f0
test r12d, r12d
je 0x1402044b1
mov ebx, r13d
mov eax, ebx
inc ebx
mov r13b, byte [rax + r10]
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x1402041a8
mov rdx, qword [rax + 0x20]
test rdx, rdx
je 0x1402041a8
mov ecx, dword [rdi + 0x50]
cmp ecx, dword [rax + 0x28]
jae 0x1402041a8
mov byte [rcx + rdx], r13b
inc dword [rdi + 0x50]
test r13b, r13b
je 0x1402041b2
cmp ebx, r12d
jb 0x14020417f
test dword [rdi + 0x18], 0x200
je 0x1402041d6
test byte [rdi + 0x10], 4
je 0x1402041d6
mov ecx, dword [rdi + 0x20]
mov r8d, ebx
mov rdx, r10
call fcn.1402058f8
mov r10, qword [rbp - 0x10]
mov dword [rdi + 0x20], eax
mov eax, ebx
sub r12d, ebx
add r10, rax
mov qword [rbp - 0x10], r10
test r13b, r13b
jne 0x14020428a
xor r13d, r13d
jmp 0x1402041fd
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x1402041fd
mov qword [rax + 0x20], r13
mov dword [rdi + 0x50], r13d
mov dword [rdi + 8], 0x3f3b
jmp 0x14020420d
xor r13d, r13d
test dword [rdi + 0x18], 0x1000
je 0x140204292
test r12d, r12d
je 0x1402044b1
mov ebx, r13d
mov eax, ebx
inc ebx
mov r13b, byte [rax + r10]
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x14020424b
mov rdx, qword [rax + 0x30]
test rdx, rdx
je 0x14020424b
mov ecx, dword [rdi + 0x50]
cmp ecx, dword [rax + 0x38]
jae 0x14020424b
mov byte [rcx + rdx], r13b
inc dword [rdi + 0x50]
test r13b, r13b
je 0x140204255
cmp ebx, r12d
jb 0x140204222
test dword [rdi + 0x18], 0x200
je 0x140204279
test byte [rdi + 0x10], 4
je 0x140204279
mov ecx, dword [rdi + 0x20]
mov r8d, ebx
mov rdx, r10
call fcn.1402058f8
mov r10, qword [rbp - 0x10]
mov dword [rdi + 0x20], eax
mov eax, ebx
sub r12d, ebx
add r10, rax
mov qword [rbp - 0x10], r10
test r13b, r13b
je 0x14020429f
mov r13, r10
jmp 0x1402044b5
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x14020429f
mov qword [rax + 0x30], r13
mov r11d, dword [rbp + 0x58]
mov rbx, qword [rbp - 8]
mov dword [rdi + 8], 0x3f3c
mov edx, dword [rdi + 0x18]
bt edx, 9
jae 0x140204309
mov r8d, reloc.WS2_32.dll_recv
xor r13d, r13d
cmp esi, r8d
jae 0x1402042e8
test r12d, r12d
je 0x1402044b1
movzx eax, byte [r10]
mov ecx, esi
shl eax, cl
inc r10
add r14d, eax
mov qword [rbp - 0x10], r10
dec r12d
add esi, 8
jmp 0x1402042c0
test byte [rdi + 0x10], 4
je 0x140204303
movzx eax, word [rdi + 0x20]
cmp r14d, eax
je 0x140204303
lea rax, str.header_crc_mismatch
jmp 0x140205074
mov r14d, r13d
mov esi, r13d
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x140204326
sar edx, 9
and edx, 1
mov dword [rax + 0x3c], edx
mov rax, qword [rdi + 0x28]
mov dword [rax + 0x40], 1
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.1402058f8
mov dword [rdi + 0x20], eax
mov dword [r15 + 0x4c], eax
mov dword [rdi + 8], 0x3f3f
jmp 0x140203d83
test r12d, r12d
je 0x1402044b1
movzx eax, byte [r10]
mov ecx, esi
shl eax, cl
inc r10
add r14d, eax
mov qword [rbp - 0x10], r10
dec r12d
add esi, 8
cmp esi, 0x20
jb 0x140204345
mov eax, r14d
mov ecx, r14d
shl eax, 0x10
mov edx, 0xff00
and ecx, edx
add ecx, eax
mov eax, r14d
shr eax, 8
and eax, edx
shr r14d, 0x18
shl ecx, 8
add eax, ecx
add eax, r14d
mov dword [rdi + 0x20], eax
mov dword [r15 + 0x4c], eax
xor eax, eax
mov r14d, eax
mov dword [rdi + 8], 0x3f3e
mov esi, eax
jmp 0x1402043aa
xor eax, eax
cmp dword [rdi + 0x14], eax
je 0x14020509d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.140205608
mov r10, qword [rbp - 0x10]
mov r11d, dword [rbp + 0x58]
mov dword [rdi + 0x20], eax
mov dword [r15 + 0x4c], eax
mov dword [rdi + 8], 0x3f3f
lea eax, [r13 - 5]
cmp eax, 1
jbe 0x1402044b1
xor r9d, r9d
cmp dword [rdi + 0xc], r9d
je 0x140204422
mov ecx, esi
mov dword [rdi + 8], 0x3f4e
and ecx, 7
shr r14d, cl
sub esi, ecx
jmp 0x14020507f
test r12d, r12d
je 0x1402044b1
movzx eax, byte [r10]
mov ecx, esi
shl eax, cl
inc r10
add r14d, eax
mov qword [rbp - 0x10], r10
dec r12d
add esi, 8
cmp esi, 3
jb 0x140204401
mov eax, r14d
shr r14d, 1
and eax, 1
mov dword [rdi + 0xc], eax
mov eax, r14d
and eax, 3
je 0x140204534
sub eax, 1
je 0x140204475
sub eax, 1
je 0x140204469
cmp eax, 1
jne 0x14020453b
lea rax, str.invalid_block_type
mov qword [r15 + 0x20], rax
mov dword [rdi + 8], 0x3f51
jmp 0x14020453b
mov dword [rdi + 8], 0x3f44
jmp 0x14020453b
mov dword [rdi + 0x70], 9
lea rax, [0x140448710]
mov qword [rdi + 0x60], rax
lea rax, [0x140448f10]
mov qword [rdi + 0x68], rax
mov dword [rdi + 0x74], 5
mov dword [rdi + 8], 0x3f47
cmp r13d, 6
jne 0x14020453b
shr r14d, 2
add esi, 0xfffffffd
mov r13, qword [rbp - 0x10]
mov ebx, dword [rbp + 0x50]
mov ecx, dword [rbp + 0x48]
mov rax, qword [rbp - 8]
mov qword [r15 + 0x10], rax
mov eax, dword [rbp + 0x58]
mov dword [r15 + 0x18], eax
mov qword [r15], r13
mov dword [r15 + 8], r12d
mov dword [rdi + 0x4c], esi
xor esi, esi
mov dword [rdi + 0x48], r14d
cmp dword [rdi + 0x34], esi
jne 0x140204508
cmp ebx, dword [r15 + 0x18]
je 0x1402050f7
cmp dword [rdi + 8], 0x3f51
jge 0x1402050f7
cmp dword [rdi + 8], 0x3f4e
jl 0x140204508
cmp ecx, 4
je 0x1402050f7
mov rdx, qword [r15 + 0x10]
mov r8d, ebx
sub r8d, dword [r15 + 0x18]
mov rcx, r15
call fcn.140205508
test eax, eax
je 0x1402050f7
mov dword [rdi + 8], 0x3f52
mov eax, 0xfffffffc
jmp 0x1402051b2
mov dword [rdi + 8], 0x3f41
shr r14d, 2
add esi, 0xfffffffd
jmp 0x14020507f
mov ecx, esi
and ecx, 7
shr r14d, cl
sub esi, ecx
xor r9d, r9d
cmp esi, 0x20
jae 0x14020457c
test r12d, r12d
je 0x1402044b1
movzx eax, byte [r10]
mov ecx, esi
shl eax, cl
inc r10
add r14d, eax
mov qword [rbp - 0x10], r10
dec r12d
add esi, 8
jmp 0x140204554
mov eax, r14d
movzx ecx, r14w
not eax
shr eax, 0x10
cmp ecx, eax
je 0x140204598
lea rax, str.invalid_stored_block_lengths
jmp 0x140205074
mov dword [rdi + 0x50], ecx
mov r14d, r9d
mov dword [rdi + 8], 0x3f42
mov esi, r9d
cmp r13d, 6
je 0x1402044b1
mov dword [rdi + 8], 0x3f43
mov ecx, dword [rdi + 0x50]
test ecx, ecx
je 0x140204618
cmp ecx, r12d
mov eax, r12d
mov r13d, r11d
cmovbe eax, ecx
cmp eax, r11d
cmovbe r13d, eax
test r13d, r13d
je 0x1402044b1
mov rcx, qword [rbp - 8]
mov rdx, r10
mov r8d, r13d
mov ebx, r13d
call fcn.1403318a0
mov r10, qword [rbp - 0x10]
sub r12d, r13d
mov r11d, dword [rbp + 0x58]
add r10, rbx
add qword [rbp - 8], rbx
sub r11d, r13d
sub dword [rdi + 0x50], r13d
mov rbx, qword [rbp - 8]
mov qword [rbp - 0x10], r10
mov dword [rbp + 0x58], r11d
jmp 0x14020507f
mov dword [rdi + 8], 0x3f3f
jmp 0x14020507f
xor r13d, r13d
cmp esi, 0xe
jae 0x14020464f
test r12d, r12d
je 0x1402044b1
movzx eax, byte [r10]
mov ecx, esi
shl eax, cl
inc r10
add r14d, eax
mov qword [rbp - 0x10], r10
dec r12d
add esi, 8
jmp 0x140204627
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 0x1402046a4
cmp edx, 0x1e
ja 0x1402046a4
mov dword [rdi + 0x84], r13d
mov dword [rdi + 8], 0x3f45
jmp 0x1402046b3
lea rax, str.too_many_length_or_distance_symbols
jmp 0x140205074
xor r13d, r13d
mov edx, 7
lea r8, [0x140000000]
mov eax, dword [rdi + 0x84]
cmp eax, dword [rdi + 0x78]
jae 0x14020473f
jmp 0x1402046ed
test r12d, r12d
je 0x1402044b1
movzx eax, byte [r10]
mov ecx, esi
shl eax, cl
inc r10
add r14d, eax
mov qword [rbp - 0x10], r10
dec r12d
add esi, 8
cmp esi, 3
jb 0x1402046cc
mov eax, dword [rdi + 0x84]
movzx ecx, r14w
and cx, dx
shr r14d, 3
movzx eax, word [r8 + rax*2 + 0x448f90]
mov word [rdi + rax*2 + 0x90], cx
inc dword [rdi + 0x84]
add esi, 0xfffffffd
jmp 0x1402046bf
movzx eax, word [r8 + rax*2 + 0x448f90]
mov word [rdi + rax*2 + 0x90], r13w
mov eax, dword [rdi + 0x84]
inc eax
mov dword [rdi + 0x84], eax
cmp eax, 0x13
jb 0x14020471f
lea rax, [rdi + 0x550]
xor ecx, ecx
lea r9, [rdi + 0x88]
mov qword [rdi + 0x60], rax
mov qword [r9], rax
lea r13, [rdi + 0x70]
lea rax, [rdi + 0x310]
mov dword [r13], edx
mov qword [rsp + 0x28], rax
lea r8d, [rcx + 0x13]
lea rdx, [rdi + 0x90]
mov qword [rsp + 0x20], r13
call fcn.140205c20
mov r10, qword [rbp - 0x10]
xor r9d, r9d
mov r11d, dword [rbp + 0x58]
mov dword [rbp - 0x1c], eax
test eax, eax
je 0x1402047a2
lea rax, str.invalid_code_lengths_set
jmp 0x140205074
mov dword [rdi + 0x84], r9d
mov dword [rdi + 8], 0x3f46
jmp 0x1402047b9
lea r13, [rdi + 0x70]
xor r9d, r9d
mov eax, dword [rdi + 0x80]
add eax, dword [rdi + 0x7c]
cmp dword [rdi + 0x84], eax
jae 0x1402049c8
mov ecx, dword [r13]
mov edx, 1
mov r8, qword [rdi + 0x60]
shl edx, cl
dec edx
mov eax, r14d
mov ecx, edx
and rcx, rax
mov eax, dword [r8 + rcx*4]
jmp 0x14020481a
test r12d, r12d
je 0x1402044b1
movzx eax, byte [r10]
mov ecx, esi
shl eax, cl
inc r10
add r14d, eax
mov qword [rbp - 0x10], r10
mov ecx, r14d
dec r12d
add esi, 8
mov eax, edx
and rax, rcx
mov eax, dword [r8 + rax*4]
mov ecx, eax
mov dword [rbp - 0x18], eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
ja 0x1402047ed
mov edx, eax
mov ecx, reloc.WS2_32.dll_recv
shr edx, 0x10
cmp dx, cx
jae 0x140204863
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 0x1402049a0
jne 0x1402048cc
shr eax, 8
movzx edx, al
lea r8d, [rdx + 2]
jmp 0x140204892
test r12d, r12d
je 0x1402044b1
movzx eax, byte [r10]
mov ecx, esi
shl eax, cl
inc r10
add r14d, eax
mov qword [rbp - 0x10], r10
dec r12d
add esi, 8
cmp esi, r8d
jb 0x140204871
mov eax, dword [rdi + 0x84]
mov ecx, edx
shr r14d, cl
sub esi, edx
test eax, eax
je 0x1402049b6
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 0x140204965
cmp word [rbp - 0x16], 0x11
movzx r8d, byte [rbp - 0x17]
jne 0x14020491d
lea edx, [r8 + 3]
jmp 0x1402048ff
test r12d, r12d
je 0x1402044b1
movzx eax, byte [r10]
mov ecx, esi
shl eax, cl
inc r10
add r14d, eax
mov qword [rbp - 0x10], r10
dec r12d
add esi, 8
cmp esi, edx
jb 0x1402048de
mov ecx, r8d
mov eax, 0xfffffffd
shr r14d, cl
mov edx, r14d
and edx, 7
add edx, 3
shr r14d, 3
jmp 0x140204960
lea edx, [r8 + 7]
jmp 0x140204944
test r12d, r12d
je 0x1402044b1
movzx eax, byte [r10]
mov ecx, esi
shl eax, cl
inc r10
add r14d, eax
mov qword [rbp - 0x10], r10
dec r12d
add esi, 8
cmp esi, edx
jb 0x140204923
mov ecx, r8d
mov eax, 0xfffffff9
shr r14d, cl
mov edx, r14d
and edx, 0x7f
add edx, 0xb
shr r14d, 7
sub eax, r8d
add esi, eax
mov r8d, dword [rdi + 0x84]
mov eax, dword [rdi + 0x80]
add eax, dword [rdi + 0x7c]
lea ecx, [r8 + rdx]
cmp ecx, eax
ja 0x1402049b6
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 0x14020497d
mov eax, dword [rdi + 0x80]
add eax, dword [rdi + 0x7c]
cmp r8d, eax
jae 0x1402049c8
xor r9d, r9d
jmp 0x1402047ce
lea rax, str.invalid_bit_length_repeat
mov qword [r15 + 0x20], rax
mov dword [rdi + 8], 0x3f51
cmp dword [rdi + 8], 0x3f51
je 0x14020507f
xor eax, eax
cmp word [rdi + 0x290], ax
jne 0x1402049ec
lea rax, str.invalid_code____missing_end_of_block
jmp 0x140205074
mov r8d, dword [rdi + 0x7c]
lea rax, [rdi + 0x550]
lea rbx, [rdi + 0x88]
mov dword [r13], 9
mov qword [rbx], rax
lea r13, [rdi + 0x310]
mov qword [rdi + 0x60], rax
lea rdx, [rdi + 0x90]
lea rax, [rdi + 0x70]
mov qword [rsp + 0x28], r13
mov r9, rbx
mov qword [rsp + 0x20], rax
mov ecx, 1
call fcn.140205c20
mov dword [rbp - 0x1c], eax
mov ecx, eax
test eax, eax
je 0x140204a53
lea rax, str.invalid_literal_lengths_set
mov r10, qword [rbp - 0x10]
mov r11d, dword [rbp + 0x58]
jmp 0x140205070
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], r13
mov qword [rsp + 0x20], rcx
mov ecx, 2
lea rdx, [rdi + rax*2]
call fcn.140205c20
mov dword [rbp - 0x1c], eax
mov ecx, eax
test eax, eax
je 0x140204a9f
lea rax, str.invalid_distances_set
jmp 0x140204a46
mov ecx, dword [rbp + 0x48]
mov dword [rdi + 8], 0x3f47
cmp ecx, 6
je 0x1402050eb
mov r10, qword [rbp - 0x10]
mov r9d, dword [rbp + 0x50]
mov r11d, dword [rbp + 0x58]
mov rbx, qword [rbp - 8]
mov dword [rdi + 8], 0x3f48
cmp r12d, 6
jb 0x140204b34
cmp r11d, 0x102
jb 0x140204b34
mov qword [r15 + 0x10], rbx
mov edx, r9d
mov dword [r15 + 0x18], r11d
mov rcx, r15
mov qword [r15], r10
mov dword [r15 + 8], r12d
mov dword [rdi + 0x48], r14d
mov dword [rdi + 0x4c], esi
call fcn.1402060b8
cmp dword [rdi + 8], 0x3f3f
mov r10, qword [r15]
mov rbx, qword [r15 + 0x10]
mov r11d, dword [r15 + 0x18]
mov r12d, dword [r15 + 8]
mov r14d, dword [rdi + 0x48]
mov esi, dword [rdi + 0x4c]
mov qword [rbp - 0x10], r10
mov qword [rbp - 8], rbx
mov dword [rbp + 0x58], r11d
jne 0x14020507f
or dword [rdi + 0x1be4], 0xffffffff
jmp 0x14020507f
mov ecx, dword [rdi + 0x70]
xor r13d, r13d
mov r9, qword [rdi + 0x60]
mov eax, r14d
mov dword [rdi + 0x1be4], r13d
lea edx, [r13 + 1]
shl edx, cl
dec edx
mov ecx, edx
and rcx, rax
mov eax, dword [r9 + rcx*4]
jmp 0x140204b88
test r12d, r12d
je 0x1402044b1
movzx eax, byte [r10]
mov ecx, esi
shl eax, cl
inc r10
add r14d, eax
mov qword [rbp - 0x10], r10
mov ecx, r14d
dec r12d
add esi, 8
mov eax, edx
and rax, rcx
mov eax, dword [r9 + rax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
ja 0x140204b5b
test al, al
je 0x140204c3b
test al, 0xf0
jne 0x140204c3b
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, r14d
shr edx, cl
add edx, eax
mov eax, dword [r9 + rdx*4]
mov ecx, eax
shr ecx, 8
movzx edx, cl
add edx, r8d
cmp edx, esi
jbe 0x140204c2b
mov r13, qword [rbp - 0x10]
test r12d, r12d
je 0x1402044b5
movzx eax, byte [r13]
mov ecx, esi
shl eax, cl
inc r13
add r14d, eax
mov qword [rbp - 0x10], r13
lea eax, [r10 - 1]
mov ecx, r8d
and eax, r14d
dec r12d
shr eax, cl
add esi, 8
add eax, r11d
mov eax, dword [r9 + rax*4]
mov ecx, eax
shr ecx, 8
movzx edx, cl
add edx, r8d
cmp edx, esi
ja 0x140204be7
mov ecx, r8d
mov dword [rdi + 0x1be4], r8d
shr r14d, cl
sub esi, r8d
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [rdi + 0x1be4], ecx
sub esi, ecx
shr r14d, cl
mov ecx, eax
shr ecx, 0x10
mov dword [rdi + 0x50], ecx
test al, al
jne 0x140204c66
mov dword [rdi + 8], 0x3f4d
jmp 0x140203d83
test al, 0x20
je 0x140204c76
or dword [rdi + 0x1be4], 0xffffffff
jmp 0x140204339
mov r10, qword [rbp - 0x10]
test al, 0x40
je 0x140204c8e
mov r11d, dword [rbp + 0x58]
lea rax, str.invalid_literal_length_code
jmp 0x140205074
movzx ecx, al
and ecx, 0xf
mov dword [rdi + 8], 0x3f49
mov dword [rdi + 0x58], ecx
mov edx, dword [rdi + 0x58]
test edx, edx
je 0x140204ce8
jmp 0x140204cc8
test r12d, r12d
je 0x1402044b1
movzx eax, byte [r10]
mov ecx, esi
shl eax, cl
inc r10
add r14d, eax
mov qword [rbp - 0x10], r10
dec r12d
add esi, 8
cmp esi, edx
jb 0x140204ca7
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
mov ecx, dword [rdi + 0x74]
mov edx, 1
mov r9, qword [rdi + 0x68]
shl edx, cl
dec edx
mov eax, r14d
mov ecx, edx
jmp 0x140204d35
test r12d, r12d
je 0x1402044b1
movzx eax, byte [r10]
mov ecx, esi
shl eax, cl
inc r10
add r14d, eax
mov qword [rbp - 0x10], r10
dec r12d
mov ecx, r14d
add esi, 8
mov eax, edx
and rcx, rax
mov eax, dword [r9 + rcx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
ja 0x140204d0f
test al, 0xf0
jne 0x140204de7
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, r14d
shr edx, cl
add edx, eax
mov eax, dword [r9 + rdx*4]
mov ecx, eax
shr ecx, 8
movzx edx, cl
add edx, r8d
cmp edx, esi
jbe 0x140204dd7
mov r13, qword [rbp - 0x10]
test r12d, r12d
je 0x1402044b5
movzx eax, byte [r13]
mov ecx, esi
shl eax, cl
inc r13
add r14d, eax
mov qword [rbp - 0x10], r13
lea eax, [r10 - 1]
mov ecx, r8d
and eax, r14d
dec r12d
shr eax, cl
add esi, 8
add eax, r11d
mov eax, dword [r9 + rax*4]
mov ecx, eax
shr ecx, 8
movzx edx, cl
add edx, r8d
cmp edx, esi
ja 0x140204d93
mov ecx, r8d
sub esi, r8d
shr r14d, cl
add dword [rdi + 0x1be4], r8d
mov r10, qword [rbp - 0x10]
mov ecx, eax
mov r11d, dword [rbp + 0x58]
shr ecx, 8
movzx ecx, cl
add dword [rdi + 0x1be4], ecx
sub esi, ecx
shr r14d, cl
test al, 0x40
je 0x140204e12
lea rax, str.invalid_distance_code
jmp 0x140205074
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
mov edx, dword [rdi + 0x58]
xor r13d, r13d
test edx, edx
je 0x140204e7b
jmp 0x140204e5b
test r12d, r12d
je 0x1402044b1
movzx eax, byte [r10]
mov ecx, esi
shl eax, cl
inc r10
add r14d, eax
mov qword [rbp - 0x10], r10
dec r12d
add esi, 8
cmp esi, edx
jb 0x140204e3a
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 0x140204e87
xor r13d, r13d
test r11d, r11d
je 0x1402044b1
mov ecx, dword [rdi + 0x54]
mov eax, r9d
sub eax, r11d
cmp ecx, eax
jbe 0x140204edf
sub ecx, eax
cmp ecx, dword [rdi + 0x38]
jbe 0x140204eb9
cmp dword [rdi + 0x1be0], r13d
je 0x140204eb9
lea rax, str.invalid_distance_too_far_back
jmp 0x140205074
mov eax, dword [rdi + 0x3c]
cmp ecx, eax
jbe 0x140204ec9
mov edx, dword [rdi + 0x34]
sub ecx, eax
sub edx, ecx
jmp 0x140204ecd
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 0x140204eeb
mov eax, dword [rdi + 0x50]
mov rdx, rbx
sub rdx, rcx
mov r8d, eax
cmp r8d, r11d
mov ecx, r11d
cmovbe ecx, r8d
sub r11d, ecx
sub eax, ecx
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 ecx, 0xffffffff
jne 0x140204f04
mov qword [rbp - 8], rbx
cmp dword [rdi + 0x50], r13d
jne 0x14020507f
mov dword [rdi + 8], 0x3f48
jmp 0x14020507f
test r11d, r11d
je 0x1402044b1
mov al, byte [rdi + 0x50]
mov byte [rbx], al
inc rbx
dec r11d
mov qword [rbp - 8], rbx
mov dword [rbp + 0x58], r11d
jmp 0x140204f1f
xor r13d, r13d
cmp dword [rdi + 0x10], r13d
jne 0x140204f82
mov ebx, dword [rbp + 0x50]
mov dword [rdi + 8], 0x3f4f
jmp 0x140205027
test r12d, r12d
je 0x1402044b1
movzx eax, byte [r10]
mov ecx, esi
shl eax, cl
inc r10
add r14d, eax
mov qword [rbp - 0x10], r10
dec r12d
add esi, 8
cmp esi, 0x20
jb 0x140204f61
sub r9d, r11d
add dword [r15 + 0x1c], r9d
add dword [rdi + 0x24], r9d
test byte [rdi + 0x10], 4
je 0x140204fcd
test r9d, r9d
je 0x140204fcd
mov ecx, dword [rdi + 0x20]
mov rdx, rbx
mov eax, r9d
mov r8d, r9d
sub rdx, rax
cmp dword [rdi + 0x18], r13d
je 0x140204fb9
call fcn.1402058f8
jmp 0x140204fbe
call fcn.140205608
mov r10, qword [rbp - 0x10]
mov r11d, dword [rbp + 0x58]
mov dword [rdi + 0x20], eax
mov dword [r15 + 0x4c], eax
test byte [rdi + 0x10], 4
mov ebx, r11d
mov dword [rbp + 0x50], ebx
je 0x140205016
mov edx, 0xff00
mov ecx, r14d
and ecx, edx
mov eax, r14d
shl eax, 0x10
add ecx, eax
mov eax, r14d
shr eax, 8
and eax, edx
shl ecx, 8
add ecx, eax
mov eax, r14d
shr eax, 0x18
add ecx, eax
cmp dword [rdi + 0x18], r13d
cmovne ecx, r14d
cmp ecx, dword [rdi + 0x20]
je 0x140205016
lea rax, str.incorrect_data_check
jmp 0x140205070
mov r14d, r13d
mov esi, r13d
jmp 0x140204f55
mov ebx, dword [rbp + 0x50]
xor r13d, r13d
cmp dword [rdi + 0x10], r13d
je 0x1402050c3
cmp dword [rdi + 0x18], r13d
je 0x1402050c3
jmp 0x14020505e
test r12d, r12d
je 0x1402050d6
movzx eax, byte [r10]
mov ecx, esi
shl eax, cl
inc r10
add r14d, eax
mov qword [rbp - 0x10], r10
dec r12d
add esi, 8
cmp esi, 0x20
jb 0x14020503d
cmp r14d, dword [rdi + 0x24]
je 0x1402050bd
lea rax, str.incorrect_length_check
mov rbx, qword [rbp - 8]
mov qword [r15 + 0x20], rax
mov dword [rdi + 8], 0x3f51
mov eax, dword [rdi + 8]
sub eax, 0x3f34
cmp eax, 0x1f
ja case.0x140203ce5.16211
mov r9d, dword [rbp + 0x50]
mov r13d, dword [rbp + 0x48]
jmp 0x140203ccb
mov qword [r15 + 0x10], rbx
mov eax, 2
mov dword [r15 + 0x18], r11d
mov qword [r15], r10
mov dword [r15 + 8], r12d
mov dword [rdi + 0x48], r14d
mov dword [rdi + 0x4c], esi
jmp 0x1402051b2
mov r14d, r13d
mov esi, r13d
mov dword [rdi + 8], 0x3f50
jmp 0x1402050cf
mov ebx, dword [rbp + 0x50]
mov dword [rbp - 0x1c], 1
mov r13, qword [rbp - 0x10]
jmp 0x1402044b8
mov dword [rbp - 0x1c], 0xfffffffd
jmp 0x1402044b1
mov r13, qword [rbp - 0x10]
mov ebx, dword [rbp + 0x50]
jmp 0x1402044bb
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 0x140205147
test ebx, ebx
je 0x140205147
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 0x140205137
call fcn.1402058f8
jmp 0x14020513c
call fcn.140205608
mov r9d, dword [rbp - 0x14]
mov dword [rdi + 0x20], eax
mov dword [r15 + 0x4c], eax
cmp dword [rdi + 8], 0x3f47
je 0x14020515c
cmp dword [rdi + 8], 0x3f42
mov r8d, esi
jne 0x140205162
mov r8d, 0x100
mov eax, dword [rdi + 0xc]
mov edx, esi
neg eax
mov eax, 0x80
sbb ecx, ecx
and ecx, 0x40
cmp dword [rdi + 8], 0x3f3f
cmove edx, eax
lea eax, [r8 + rcx]
add edx, eax
add edx, dword [rdi + 0x4c]
mov dword [r15 + 0x48], edx
test r9d, r9d
jne 0x140205193
test ebx, ebx
je 0x140205199
cmp dword [rbp + 0x48], 4
jne 0x1402051a8
mov eax, dword [rbp - 0x1c]
mov ecx, 0xfffffffb
test eax, eax
cmove eax, ecx
jmp 0x1402051b2
mov eax, dword [rbp - 0x1c]
jmp 0x1402051b2
mov eax, 0xfffffffe
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret