Function at 0x18007e004
Capabilities:
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 ebx, edx
mov r15, rcx
call fcn.18007f894
xor r12d, r12d
test eax, eax
jne case.default.0x18007e0c0
cmp qword [rcx + 0x10], r12
je case.default.0x18007e0c0
cmp qword [rcx], r12
jne 0x18007e04d
cmp dword [rcx + 8], r12d
jne case.default.0x18007e0c0
mov rdi, qword [rcx + 0x28]
cmp dword [rdi + 8], 0x3f3f
jne 0x18007e061
mov dword [rdi + 8], 0x3f40
mov r9d, dword [rcx + 0x18]
mov r8d, r9d
mov eax, dword [rdi + 8]
mov r11, qword [rcx + 0x10]
sub eax, 0x3f34
mov r10, qword [rcx]
mov r13d, dword [rcx + 8]
mov r14d, dword [rdi + 0x48]
mov esi, dword [rdi + 0x4c]
mov qword [rbp - 8], r11
mov dword [rbp - 0x20], r9d
mov qword [rbp - 0x10], r10
mov dword [rbp - 0x14], r13d
mov dword [rbp + 0x50], r9d
mov dword [rbp + 0x58], r12d
cmp eax, 0x1e
ja case.default.0x18007e0c0
cdqe
lea rcx, [0x180000000]
or edx, 0xffffffff
mov ecx, dword [rcx + rax*4 + 0x7f5b8]
lea rax, [0x180000000]
add rcx, rax
jmp rcx
cmp dword [rdi + 0x10], r12d
jne 0x18007e0d4
mov dword [rdi + 8], 0x3f40
jmp 0x18007e161
mov r8d, reloc.WS2_32.dll_recv
jmp 0x18007e0fd
test r13d, r13d
je 0x18007e87a
movzx eax, byte [r10]
mov ecx, esi
shl eax, cl
inc r10
add r14d, eax
mov qword [rbp - 0x10], r10
add r13d, edx
add esi, 8
cmp esi, r8d
jb 0x18007e0dc
test byte [rdi + 0x10], 2
je 0x18007e181
cmp r14d, 0x8b1f
jne 0x18007e181
cmp dword [rdi + 0x30], r12d
jne 0x18007e11e
mov dword [rdi + 0x30], recv
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.180082164
mov dword [rdi + 0x20], eax
lea rdx, [rbp - 0x1c]
mov word [rbp - 0x1c], 0x8b1f
mov r8d, 2
mov ecx, dword [rdi + 0x20]
call fcn.180082164
mov dword [rdi + 0x20], eax
mov dword [rdi + 8], 0x3f35
mov esi, r12d
mov r14d, r12d
mov r10, qword [rbp - 0x10]
mov r11, qword [rbp - 8]
mov r9d, dword [rbp - 0x20]
mov eax, dword [rdi + 8]
sub eax, 0x3f34
cmp eax, 0x1e
ja case.default.0x18007e0c0
mov r8d, dword [rbp + 0x50]
xor r12d, r12d
mov ebx, dword [rbp + 0x48]
jmp 0x18007e0a3
mov rax, qword [rdi + 0x28]
mov dword [rdi + 0x18], r12d
test rax, rax
je 0x18007e192
or dword [rax + 0x40], 0xffffffff
test byte [rdi + 0x10], 1
je 0x18007e23a
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 0x18007e23a
mov eax, r14d
and al, 0xf
cmp al, 8
je 0x18007e1d6
lea rax, str.unknown_compression_method
jmp 0x18007e241
shr r14d, 4
add esi, 0xfffffffc
mov ecx, r14d
and ecx, 0xf
add ecx, 8
cmp dword [rdi + 0x30], r12d
jne 0x18007e1ef
mov dword [rdi + 0x30], ecx
cmp ecx, 0xf
ja 0x18007e231
cmp ecx, dword [rdi + 0x30]
ja 0x18007e231
mov eax, 1
xor r8d, r8d
shl eax, cl
xor edx, edx
xor ecx, ecx
mov dword [rdi + 0x1c], eax
call fcn.180081e74
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 0x18007e14f
lea rax, str.invalid_window_size
jmp 0x18007e241
lea rax, str.incorrect_header_check
mov qword [r15 + 0x20], rax
mov dword [rdi + 8], 0x3f51
jmp 0x18007e161
mov r8d, reloc.WS2_32.dll_recv
jmp 0x18007e27a
test r13d, r13d
je 0x18007e87a
movzx eax, byte [r10]
mov ecx, esi
shl eax, cl
inc r10
add r14d, eax
mov qword [rbp - 0x10], r10
add r13d, edx
add esi, 8
cmp esi, r8d
jb 0x18007e259
mov dword [rdi + 0x18], r14d
cmp r14b, 8
jne 0x18007e1cd
test r14d, 0xe000
je 0x18007e29f
lea rax, str.unknown_header_flags_set
jmp 0x18007e241
mov rcx, qword [rdi + 0x28]
test rcx, rcx
je 0x18007e2b3
mov eax, r14d
shr eax, 8
and eax, 1
mov dword [rcx], eax
test dword [rdi + 0x18], 0x200
je 0x18007e2ea
test byte [rdi + 0x10], 4
je 0x18007e2ea
mov byte [rbp - 0x1c], r14b
lea rdx, [rbp - 0x1c]
shr r14d, 8
mov r8d, 2
mov byte [rbp - 0x1b], r14b
mov ecx, dword [rdi + 0x20]
call fcn.180082164
mov r10, qword [rbp - 0x10]
or edx, 0xffffffff
mov dword [rdi + 0x20], eax
mov r14d, r12d
mov dword [rdi + 8], 0x3f36
mov esi, r12d
jmp case.0x18007e0c0.16182
test r13d, r13d
je 0x18007e87a
movzx eax, byte [r10]
mov ecx, esi
shl eax, cl
inc r10
add r14d, eax
mov qword [rbp - 0x10], r10
add r13d, edx
add esi, 8
cmp esi, 0x20
jb 0x18007e2f9
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x18007e32c
mov dword [rax + 4], r14d
test dword [rdi + 0x18], 0x200
je 0x18007e36e
test byte [rdi + 0x10], 4
je 0x18007e36e
mov eax, r14d
mov byte [rbp - 0x1c], r14b
shr eax, 8
lea rdx, [rbp - 0x1c]
mov byte [rbp - 0x1b], al
mov r8d, 4
mov eax, r14d
shr r14d, 0x18
shr eax, 0x10
mov byte [rbp - 0x1a], al
mov byte [rbp - 0x19], r14b
mov ecx, dword [rdi + 0x20]
call fcn.180082164
mov dword [rdi + 0x20], eax
mov r10, qword [rbp - 0x10]
mov r14d, r12d
mov esi, r12d
mov dword [rdi + 8], 0x3f37
or edx, 0xffffffff
mov ebx, reloc.WS2_32.dll_recv
jmp 0x18007e3aa
test r13d, r13d
je 0x18007e87a
movzx eax, byte [r10]
mov ecx, esi
shl eax, cl
inc r10
add r14d, eax
mov qword [rbp - 0x10], r10
add r13d, edx
add esi, 8
cmp esi, ebx
jb 0x18007e389
mov rcx, qword [rdi + 0x28]
test rcx, rcx
je 0x18007e3cb
movzx eax, r14b
mov dword [rcx + 8], eax
mov ecx, r14d
mov rax, qword [rdi + 0x28]
shr ecx, 8
mov dword [rax + 0xc], ecx
test dword [rdi + 0x18], 0x200
je 0x18007e3fb
test byte [rdi + 0x10], 4
je 0x18007e3fb
mov byte [rbp - 0x1c], r14b
lea rdx, [rbp - 0x1c]
shr r14d, 8
mov r8d, 2
mov byte [rbp - 0x1b], r14b
mov ecx, dword [rdi + 0x20]
call fcn.180082164
mov dword [rdi + 0x20], eax
mov r10, qword [rbp - 0x10]
mov r14d, r12d
mov esi, r12d
mov dword [rdi + 8], 0x3f38
or edx, 0xffffffff
jmp 0x18007e416
mov ebx, reloc.WS2_32.dll_recv
test dword [rdi + 0x18], 0x400
jne 0x18007e4a9
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x18007e430
mov qword [rax + 0x10], r12
mov r10, qword [rbp - 0x10]
mov dword [rdi + 8], 0x3f39
test dword [rdi + 0x18], 0x400
je 0x18007e549
mov ebx, dword [rdi + 0x50]
cmp ebx, r13d
cmova ebx, r13d
test ebx, ebx
je 0x18007e53f
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x18007e50b
mov r9, qword [rax + 0x10]
test r9, r9
je 0x18007e50b
mov edx, dword [rax + 0x18]
sub edx, dword [rdi + 0x50]
mov ecx, dword [rax + 0x1c]
lea eax, [rbx + rdx]
cmp eax, ecx
jbe 0x18007e4f9
sub ecx, edx
jmp 0x18007e4fb
test r13d, r13d
je 0x18007e87a
movzx eax, byte [r10]
mov ecx, esi
shl eax, cl
inc r10
add r14d, eax
mov qword [rbp - 0x10], r10
add r13d, edx
add esi, 8
cmp esi, ebx
jb 0x18007e488
mov rax, qword [rdi + 0x28]
mov dword [rdi + 0x50], r14d
test rax, rax
je 0x18007e4be
mov dword [rax + 0x18], r14d
test dword [rdi + 0x18], 0x200
je 0x18007e4ee
test byte [rdi + 0x10], 4
je 0x18007e4ee
mov byte [rbp - 0x1c], r14b
lea rdx, [rbp - 0x1c]
shr r14d, 8
mov r8d, 2
mov byte [rbp - 0x1b], r14b
mov ecx, dword [rdi + 0x20]
call fcn.180082164
mov dword [rdi + 0x20], eax
mov r14d, r12d
mov esi, r12d
jmp 0x18007e430
mov ecx, ebx
mov r8d, ecx
mov ecx, edx
mov rdx, r10
add rcx, r9
call sub.VCRUNTIME140.dll_memcpy
test dword [rdi + 0x18], 0x200
je 0x18007e52c
test byte [rdi + 0x10], 4
je 0x18007e52c
mov rdx, qword [rbp - 0x10]
mov r8d, ebx
mov ecx, dword [rdi + 0x20]
call fcn.180082164
mov dword [rdi + 0x20], eax
mov r10, qword [rbp - 0x10]
sub r13d, ebx
mov eax, ebx
add r10, rax
sub dword [rdi + 0x50], ebx
mov qword [rbp - 0x10], r10
cmp dword [rdi + 0x50], r12d
jne 0x18007e87a
mov dword [rdi + 0x50], r12d
mov dword [rdi + 8], 0x3f3a
test dword [rdi + 0x18], 0x800
je 0x18007e5db
test r13d, r13d
je 0x18007e87a
mov ebx, r12d
mov eax, ebx
inc ebx
movzx r12d, byte [rax + r10]
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x18007e593
mov rdx, qword [rax + 0x20]
test rdx, rdx
je 0x18007e593
mov ecx, dword [rdi + 0x50]
cmp ecx, dword [rax + 0x28]
jae 0x18007e593
mov byte [rcx + rdx], r12b
inc dword [rdi + 0x50]
test r12d, r12d
je 0x18007e59d
cmp ebx, r13d
jb 0x18007e569
test dword [rdi + 0x18], 0x200
je 0x18007e5c1
test byte [rdi + 0x10], 4
je 0x18007e5c1
mov ecx, dword [rdi + 0x20]
mov r8d, ebx
mov rdx, r10
call fcn.180082164
mov r10, qword [rbp - 0x10]
mov dword [rdi + 0x20], eax
mov eax, ebx
sub r13d, ebx
add r10, rax
mov qword [rbp - 0x10], r10
test r12d, r12d
jne 0x18007e87e
xor r12d, r12d
jmp 0x18007e5e8
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x18007e5e8
mov qword [rax + 0x20], r12
mov dword [rdi + 0x50], r12d
mov dword [rdi + 8], 0x3f3b
test dword [rdi + 0x18], 0x1000
je 0x18007e67a
test r13d, r13d
je 0x18007e87a
mov ebx, r12d
mov eax, ebx
inc ebx
movzx r12d, byte [rax + r10]
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x18007e632
mov rdx, qword [rax + 0x30]
test rdx, rdx
je 0x18007e632
mov ecx, dword [rdi + 0x50]
cmp ecx, dword [rax + 0x38]
jae 0x18007e632
mov byte [rcx + rdx], r12b
inc dword [rdi + 0x50]
test r12d, r12d
je 0x18007e63c
cmp ebx, r13d
jb 0x18007e608
test dword [rdi + 0x18], 0x200
je 0x18007e660
test byte [rdi + 0x10], 4
je 0x18007e660
mov ecx, dword [rdi + 0x20]
mov r8d, ebx
mov rdx, r10
call fcn.180082164
mov r10, qword [rbp - 0x10]
mov dword [rdi + 0x20], eax
mov eax, ebx
sub r13d, ebx
add r10, rax
mov qword [rbp - 0x10], r10
test r12d, r12d
jne 0x18007e87e
xor r12d, r12d
jmp 0x18007e687
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x18007e687
mov qword [rax + 0x30], r12
mov r9d, dword [rbp - 0x20]
mov r11, qword [rbp - 8]
mov dword [rdi + 8], 0x3f3c
mov edx, dword [rdi + 0x18]
bt edx, 9
jae 0x18007e6ee
mov r8d, reloc.WS2_32.dll_recv
jmp 0x18007e6c8
test r13d, r13d
je 0x18007e87a
movzx eax, byte [r10]
mov ecx, esi
shl eax, cl
inc r10
add r14d, eax
mov qword [rbp - 0x10], r10
dec r13d
add esi, 8
cmp esi, r8d
jb 0x18007e6a7
test byte [rdi + 0x10], 4
je 0x18007e6e8
movzx eax, word [rdi + 0x20]
cmp r14d, eax
je 0x18007e6e8
lea rax, str.header_crc_mismatch
jmp 0x18007e241
mov r14d, r12d
mov esi, r12d
mov rax, qword [rdi + 0x28]
test rax, rax
je 0x18007e70b
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.180082164
mov dword [rdi + 0x20], eax
mov dword [r15 + 0x4c], eax
mov dword [rdi + 8], 0x3f3f
jmp 0x18007e155
test r13d, r13d
je 0x18007e87a
movzx eax, byte [r10]
mov ecx, esi
shl eax, cl
inc r10
add r14d, eax
mov qword [rbp - 0x10], r10
add r13d, edx
add esi, 8
cmp esi, 0x20
jb 0x18007e72a
mov ecx, r14d
mov eax, r14d
shl eax, 0x10
mov edx, 0xff00
and ecx, edx
mov esi, r12d
add ecx, eax
mov eax, r14d
shr eax, 8
and eax, edx
shl ecx, 8
shr r14d, 0x18
add eax, ecx
add eax, r14d
mov r14d, r12d
mov dword [rdi + 0x20], eax
mov dword [r15 + 0x4c], eax
mov dword [rdi + 8], 0x3f3e
cmp dword [rdi + 0x14], r12d
je 0x18007f480
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.180081e74
mov r10, qword [rbp - 0x10]
or edx, 0xffffffff
mov r9d, dword [rbp - 0x20]
mov r11, qword [rbp - 8]
mov dword [rdi + 0x20], eax
mov dword [r15 + 0x4c], eax
mov dword [rdi + 8], 0x3f3f
lea eax, [rbx - 5]
cmp eax, 1
jbe 0x18007e87a
cmp dword [rdi + 0xc], r12d
je 0x18007e806
mov ecx, esi
mov dword [rdi + 8], 0x3f4e
and ecx, 7
shr r14d, cl
sub esi, ecx
jmp 0x18007e161
test r13d, r13d
je 0x18007e87a
movzx eax, byte [r10]
mov ecx, esi
shl eax, cl
inc r10
add r14d, eax
mov qword [rbp - 0x10], r10
add r13d, edx
add esi, 8
cmp esi, 3
jb 0x18007e7e5
mov eax, r14d
add esi, edx
and eax, 1
shr r14d, 1
mov dword [rdi + 0xc], eax
mov eax, r14d
and eax, 3
je 0x18007e901
sub eax, 1
je 0x18007e85b
sub eax, 1
je 0x18007e84f
cmp eax, 1
jne 0x18007e908
lea rax, str.invalid_block_type
mov qword [r15 + 0x20], rax
mov dword [rdi + 8], 0x3f51
jmp 0x18007e908
mov dword [rdi + 8], 0x3f44
jmp 0x18007e908
mov rcx, rdi
call fcn.18007dfdc
mov dword [rdi + 8], 0x3f47
cmp ebx, 6
jne 0x18007e908
shr r14d, 2
add esi, 0xfffffffe
mov r10, qword [rbp - 0x10]
mov r12d, dword [rbp + 0x58]
mov ebx, dword [rbp + 0x50]
mov ecx, dword [rbp + 0x48]
mov rax, qword [rbp - 8]
mov qword [r15 + 0x10], rax
mov eax, dword [rbp - 0x20]
mov dword [r15 + 0x18], eax
mov qword [r15], r10
mov dword [r15 + 8], r13d
mov dword [rdi + 0x4c], esi
xor esi, esi
mov dword [rdi + 0x48], r14d
cmp dword [rdi + 0x34], esi
jne 0x18007e8d5
cmp ebx, dword [r15 + 0x18]
je 0x18007f4e8
cmp dword [rdi + 8], 0x3f51
jge 0x18007f4e8
cmp dword [rdi + 8], 0x3f4e
jl 0x18007e8d5
cmp ecx, 4
je 0x18007f4e8
mov rdx, qword [r15 + 0x10]
mov r8d, ebx
sub r8d, dword [r15 + 0x18]
mov rcx, r15
call fcn.18007f8cc
test eax, eax
je 0x18007f4e8
mov dword [rdi + 8], 0x3f52
mov eax, 0xfffffffc
jmp 0x18007f5a0
mov dword [rdi + 8], 0x3f41
shr r14d, 2
add esi, 0xfffffffe
jmp 0x18007e161
mov ecx, esi
and ecx, 7
shr r14d, cl
sub esi, ecx
jmp 0x18007e941
test r13d, r13d
je 0x18007e87a
movzx eax, byte [r10]
mov ecx, esi
shl eax, cl
inc r10
add r14d, eax
mov qword [rbp - 0x10], r10
add r13d, edx
add esi, 8
cmp esi, 0x20
jb 0x18007e920
mov eax, r14d
movzx ecx, r14w
not eax
shr eax, 0x10
cmp ecx, eax
je 0x18007e962
lea rax, str.invalid_stored_block_lengths
jmp 0x18007e241
mov dword [rdi + 0x50], ecx
mov r14d, r12d
mov dword [rdi + 8], 0x3f42
mov esi, r12d
cmp ebx, 6
je 0x18007e87a
mov dword [rdi + 8], 0x3f43
mov r12d, dword [rdi + 0x50]
test r12d, r12d
je 0x18007e9e0
cmp r12d, r13d
cmova r12d, r13d
cmp r12d, r9d
cmova r12d, r9d
test r12d, r12d
je 0x18007e87a
mov r8d, r12d
mov rdx, r10
mov rcx, r11
mov ebx, r12d
call sub.VCRUNTIME140.dll_memcpy
mov r10, qword [rbp - 0x10]
sub r13d, r12d
mov r9d, dword [rbp - 0x20]
add r10, rbx
mov r11, qword [rbp - 8]
sub r9d, r12d
add r11, rbx
mov qword [rbp - 0x10], r10
sub dword [rdi + 0x50], r12d
mov dword [rbp - 0x20], r9d
mov qword [rbp - 8], r11
jmp 0x18007e161
mov dword [rdi + 8], 0x3f3f
jmp 0x18007e161
test r13d, r13d
je 0x18007e87a
movzx eax, byte [r10]
mov ecx, esi
shl eax, cl
inc r10
add r14d, eax
mov qword [rbp - 0x10], r10
add r13d, edx
add esi, 8
cmp esi, 0xe
jb 0x18007e9ec
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 0x18007ea86
cmp edx, 0x1e
ja 0x18007ea86
mov dword [rdi + 0x84], r12d
or edx, 0xffffffff
mov dword [rdi + 8], 0x3f45
mov eax, dword [rdi + 0x78]
lea r9, [0x180000000]
mov r8d, 7
cmp dword [rdi + 0x84], eax
jae 0x18007eb0f
jmp 0x18007eab3
lea rax, str.too_many_length_or_distance_symbols
jmp 0x18007e241
test r13d, r13d
je 0x18007e87a
movzx eax, byte [r10]
mov ecx, esi
shl eax, cl
inc r10
add r14d, eax
mov qword [rbp - 0x10], r10
add r13d, edx
add esi, 8
cmp esi, 3
jb 0x18007ea92
mov eax, dword [rdi + 0x84]
movzx ecx, r14w
and cx, r8w
shr r14d, 3
add esi, 0xfffffffd
movzx eax, word [r9 + rax*2 + 0xa9a00]
mov word [rdi + rax*2 + 0x90], cx
inc dword [rdi + 0x84]
mov eax, dword [rdi + 0x84]
cmp eax, dword [rdi + 0x78]
jb 0x18007eab3
jmp 0x18007eb0f
mov eax, dword [rdi + 0x84]
movzx eax, word [r9 + rax*2 + 0xa9a00]
mov word [rdi + rax*2 + 0x90], r12w
inc dword [rdi + 0x84]
cmp dword [rdi + 0x84], 0x13
jb 0x18007eaf1
lea rcx, [rdi + 0x70]
lea rax, [rdi + 0x550]
mov dword [rcx], r8d
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.1800824ac
mov r10, qword [rbp - 0x10]
mov r11, qword [rbp - 8]
mov dword [rbp + 0x58], eax
test eax, eax
je 0x18007eb7d
lea rax, str.invalid_code_lengths_set
mov qword [r15 + 0x20], rax
mov dword [rdi + 8], 0x3f51
jmp 0x18007e15d
mov dword [rdi + 0x84], r12d
mov dword [rdi + 8], 0x3f46
mov eax, dword [rdi + 0x80]
add eax, dword [rdi + 0x7c]
cmp dword [rdi + 0x84], eax
jae 0x18007eda4
mov ecx, dword [rdi + 0x70]
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]
mov ecx, eax
shr ecx, 8
or ebx, 0xffffffff
movzx ecx, cl
mov dword [rbp - 0x18], eax
cmp ecx, esi
jbe 0x18007ec02
test r13d, r13d
je 0x18007e87a
movzx eax, byte [r10]
mov ecx, esi
shl eax, cl
inc r10
add r14d, eax
mov ecx, edx
mov eax, r14d
add r13d, ebx
and rcx, rax
mov qword [rbp - 0x10], r10
add esi, 8
mov eax, dword [r8 + rcx*4]
mov ecx, eax
shr ecx, 8
jmp 0x18007ebc4
mov edx, eax
mov r8d, reloc.WS2_32.dll_recv
shr edx, 0x10
cmp dx, r8w
jae 0x18007ec3d
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 ecx, dword [rdi + 0x84]
jmp 0x18007ed76
jne 0x18007eca6
shr eax, 8
movzx edx, al
add edx, 2
jmp 0x18007ec6b
test r13d, r13d
je 0x18007e87a
movzx eax, byte [r10]
mov ecx, esi
shl eax, cl
inc r10
add r14d, eax
mov qword [rbp - 0x10], r10
add r13d, ebx
add esi, 8
cmp esi, edx
jb 0x18007ec4a
movzx ecx, byte [rbp - 0x17]
mov eax, dword [rdi + 0x84]
sub esi, ecx
shr r14d, cl
test eax, eax
je 0x18007ed86
mov edx, r14d
dec eax
and edx, 3
shr r14d, 2
add edx, 3
add esi, 0xfffffffe
movzx r8d, word [rdi + rax*2 + 0x90]
jmp 0x18007ed42
cmp word [rbp - 0x16], 0x11
movzx r9d, byte [rbp - 0x17]
jne 0x18007ecf7
lea edx, [r9 + 3]
jmp 0x18007ecd9
test r13d, r13d
je 0x18007e87a
movzx eax, byte [r10]
mov ecx, esi
shl eax, cl
inc r10
add r14d, eax
mov qword [rbp - 0x10], r10
add r13d, ebx
add esi, 8
cmp esi, edx
jb 0x18007ecb8
mov ecx, r9d
mov eax, 0xfffffffd
shr r14d, cl
mov edx, r14d
and edx, 7
add edx, 3
shr r14d, 3
jmp 0x18007ed3a
lea edx, [r9 + 7]
jmp 0x18007ed1e
test r13d, r13d
je 0x18007e87a
movzx eax, byte [r10]
mov ecx, esi
shl eax, cl
inc r10
add r14d, eax
mov qword [rbp - 0x10], r10
add r13d, ebx
add esi, 8
cmp esi, edx
jb 0x18007ecfd
mov ecx, r9d
mov eax, 0xfffffff9
shr r14d, cl
mov edx, r14d
and edx, 0x7f
add edx, 0xb
shr r14d, 7
sub eax, r9d
mov r8d, r12d
add esi, eax
mov ecx, dword [rdi + 0x84]
mov eax, dword [rdi + 0x80]
add ecx, edx
add eax, dword [rdi + 0x7c]
cmp ecx, eax
ja 0x18007ed92
mov eax, dword [rdi + 0x84]
mov word [rdi + rax*2 + 0x90], r8w
inc dword [rdi + 0x84]
mov ecx, dword [rdi + 0x84]
add edx, ebx
jne 0x18007ed57
mov eax, dword [rdi + 0x80]
add eax, dword [rdi + 0x7c]
cmp ecx, eax
jmp 0x18007eb9a
lea rax, str.invalid_bit_length_repeat
jmp 0x18007eb6d
lea rax, str.invalid_bit_length_repeat
mov qword [r15 + 0x20], rax
mov dword [rdi + 8], 0x3f51
cmp dword [rdi + 8], 0x3f51
je 0x18007e15d
cmp word [rdi + 0x290], r12w
jne 0x18007edc7
lea rax, str.invalid_code____missing_end_of_block
jmp 0x18007eb6d
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.1800824ac
mov dword [rbp + 0x58], eax
test eax, eax
je 0x18007ee2d
lea rax, str.invalid_literal_lengths_set
mov qword [r15 + 0x20], rax
mov dword [rdi + 8], 0x3f51
jmp 0x18007e155
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.1800824ac
xor r12d, r12d
mov dword [rbp + 0x58], eax
test eax, eax
je 0x18007ee7a
lea rax, str.invalid_distances_set
jmp 0x18007ee1d
mov ecx, dword [rbp + 0x48]
mov r10, qword [rbp - 0x10]
mov dword [rdi + 8], 0x3f47
cmp ecx, 6
je 0x18007f4dd
mov r8d, dword [rbp + 0x50]
mov r9d, dword [rbp - 0x20]
mov r11, qword [rbp - 8]
mov dword [rdi + 8], 0x3f48
cmp r13d, 6
jb 0x18007ef0f
cmp r9d, 0x102
jb 0x18007ef0f
mov qword [r15 + 0x10], r11
mov edx, r8d
mov dword [r15 + 0x18], r9d
mov rcx, r15
mov qword [r15], r10
mov dword [r15 + 8], r13d
mov dword [rdi + 0x48], r14d
mov dword [rdi + 0x4c], esi
call fcn.180082944
cmp dword [rdi + 8], 0x3f3f
mov r11, qword [r15 + 0x10]
mov r10, qword [r15]
mov r9d, dword [r15 + 0x18]
mov r13d, dword [r15 + 8]
mov r14d, dword [rdi + 0x48]
mov esi, dword [rdi + 0x4c]
mov qword [rbp - 8], r11
mov qword [rbp - 0x10], r10
mov dword [rbp - 0x20], r9d
jne 0x18007e161
or dword [rdi + 0x1be4], 0xffffffff
jmp 0x18007e161
mov ecx, dword [rdi + 0x70]
mov edx, 1
mov r11, qword [rdi + 0x60]
shl edx, cl
dec edx
mov dword [rdi + 0x1be4], r12d
jmp 0x18007ef49
test r13d, r13d
je 0x18007e87a
movzx eax, byte [r10]
mov ecx, esi
shl eax, cl
inc r10
add r14d, eax
mov qword [rbp - 0x10], r10
dec r13d
add esi, 8
mov eax, r14d
mov ecx, edx
and rcx, rax
mov eax, dword [r11 + rcx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
ja 0x18007ef28
test al, al
je 0x18007f02b
test al, 0xf0
jne 0x18007f02b
mov r10d, eax
movzx ecx, al
shr r10d, 8
mov r9d, 1
movzx r8d, r10b
mov edx, eax
add ecx, r8d
mov dword [rbp - 0x18], eax
shl r9d, cl
mov ecx, r8d
dec r9d
shr eax, 0x10
and r9d, r14d
shr r9d, cl
add r9d, eax
mov eax, dword [r11 + r9*4]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
movzx ecx, r10b
add r8d, ecx
cmp r8d, esi
jbe 0x18007f01c
mov r10, qword [rbp - 0x10]
test r13d, r13d
je 0x18007e87e
movzx r9d, byte [rbp - 0x17]
mov ecx, esi
movzx eax, byte [r10]
mov r8d, 1
shl eax, cl
inc r10
add r14d, eax
movzx ecx, dl
movzx eax, word [rbp - 0x16]
add ecx, r9d
shl r8d, cl
dec r13d
dec r8d
mov qword [rbp - 0x10], r10
and r8d, r14d
mov ecx, r9d
shr r8d, cl
add esi, 8
add r8d, eax
mov eax, dword [r11 + r8*4]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
add r8d, r9d
cmp r8d, esi
ja 0x18007efbf
movzx ecx, byte [rbp - 0x17]
shr r14d, cl
sub esi, ecx
mov dword [rdi + 0x1be4], ecx
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 0x18007f056
mov dword [rdi + 8], 0x3f4d
jmp 0x18007e155
test al, 0x20
je 0x18007f066
or dword [rdi + 0x1be4], 0xffffffff
jmp 0x18007e71e
mov r10, qword [rbp - 0x10]
test al, 0x40
je 0x18007f085
lea rax, str.invalid_literal_length_code
mov qword [r15 + 0x20], rax
mov dword [rdi + 8], 0x3f51
jmp 0x18007e159
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 0x18007f0df
jmp 0x18007f0bf
test r13d, r13d
je 0x18007e87a
movzx eax, byte [r10]
mov ecx, esi
shl eax, cl
inc r10
add r14d, eax
mov qword [rbp - 0x10], r10
dec r13d
add esi, 8
cmp esi, edx
jb 0x18007f09e
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 r11, qword [rdi + 0x68]
shl edx, cl
dec edx
jmp 0x18007f122
test r13d, r13d
je 0x18007e87a
movzx eax, byte [r10]
mov ecx, esi
shl eax, cl
inc r10
add r14d, eax
mov qword [rbp - 0x10], r10
dec r13d
add esi, 8
mov eax, r14d
mov ecx, edx
and rcx, rax
mov eax, dword [r11 + rcx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
ja 0x18007f101
test al, 0xf0
jne 0x18007f1fc
mov r10d, eax
movzx ecx, al
shr r10d, 8
mov r9d, 1
movzx r8d, r10b
mov edx, eax
add ecx, r8d
mov dword [rbp - 0x18], eax
shl r9d, cl
mov ecx, r8d
dec r9d
shr eax, 0x10
and r9d, r14d
shr r9d, cl
add r9d, eax
mov eax, dword [r11 + r9*4]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
movzx ecx, r10b
add r8d, ecx
cmp r8d, esi
jbe 0x18007f1ed
mov r10, qword [rbp - 0x10]
test r13d, r13d
je 0x18007e87e
movzx r9d, byte [rbp - 0x17]
mov ecx, esi
movzx eax, byte [r10]
mov r8d, 1
shl eax, cl
inc r10
add r14d, eax
movzx ecx, dl
movzx eax, word [rbp - 0x16]
add ecx, r9d
shl r8d, cl
dec r13d
dec r8d
mov qword [rbp - 0x10], r10
and r8d, r14d
mov ecx, r9d
shr r8d, cl
add esi, 8
add r8d, eax
mov eax, dword [r11 + r8*4]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
add r8d, r9d
cmp r8d, esi
ja 0x18007f190
movzx ecx, byte [rbp - 0x17]
shr r14d, cl
sub esi, ecx
add dword [rdi + 0x1be4], ecx
mov r10, qword [rbp - 0x10]
mov ecx, eax
mov r9d, dword [rbp - 0x20]
mov r11, qword [rbp - 8]
shr ecx, 8
movzx ecx, cl
add dword [rdi + 0x1be4], ecx
sub esi, ecx
shr r14d, cl
test al, 0x40
je 0x18007f22b
lea rax, str.invalid_distance_code
jmp 0x18007e241
mov r8d, 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]
test edx, edx
je 0x18007f291
jmp 0x18007f271
test r13d, r13d
je 0x18007e87a
movzx eax, byte [r10]
mov ecx, esi
shl eax, cl
inc r10
add r14d, eax
mov qword [rbp - 0x10], r10
dec r13d
add esi, 8
cmp esi, edx
jb 0x18007f250
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
test r9d, r9d
je 0x18007e87a
mov ecx, dword [rdi + 0x54]
mov eax, r8d
sub eax, r9d
cmp ecx, eax
jbe 0x18007f2f0
sub ecx, eax
cmp ecx, dword [rdi + 0x38]
jbe 0x18007f2ca
cmp dword [rdi + 0x1be0], r12d
je 0x18007f2ca
lea rax, str.invalid_distance_too_far_back
jmp 0x18007e241
mov eax, dword [rdi + 0x3c]
cmp ecx, eax
jbe 0x18007f2da
mov edx, dword [rdi + 0x34]
sub ecx, eax
sub edx, ecx
jmp 0x18007f2de
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 0x18007f2fc
mov eax, dword [rdi + 0x50]
mov rdx, r11
sub rdx, rcx
mov r8d, eax
cmp r8d, r9d
cmova r8d, r9d
sub r9d, r8d
sub eax, r8d
mov dword [rbp - 0x20], r9d
sub rdx, r11
mov dword [rdi + 0x50], eax
mov al, byte [rdx + r11]
mov byte [r11], al
inc r11
add r8d, 0xffffffff
jne 0x18007f313
mov qword [rbp - 8], r11
cmp dword [rdi + 0x50], r12d
jne 0x18007e161
mov dword [rdi + 8], 0x3f48
jmp 0x18007e161
test r9d, r9d
je 0x18007e87a
mov al, byte [rdi + 0x50]
mov byte [r11], al
inc r11
add r9d, edx
mov qword [rbp - 8], r11
mov dword [rbp - 0x20], r9d
jmp 0x18007f331
cmp dword [rdi + 0x10], r12d
jne 0x18007f392
mov ebx, dword [rbp + 0x50]
mov dword [rdi + 8], 0x3f4f
jmp 0x18007f43e
test r13d, r13d
je 0x18007e87a
movzx eax, byte [r10]
mov ecx, esi
shl eax, cl
inc r10
add r14d, eax
mov qword [rbp - 0x10], r10
add r13d, edx
add esi, 8
cmp esi, 0x20
jb 0x18007f371
sub r8d, r9d
add dword [r15 + 0x1c], r8d
add dword [rdi + 0x24], r8d
test byte [rdi + 0x10], 4
je 0x18007f3e1
test r8d, r8d
je 0x18007f3e1
mov ecx, dword [rdi + 0x20]
mov rdx, r11
mov eax, r8d
sub rdx, rax
cmp dword [rdi + 0x18], r12d
je 0x18007f3c6
call fcn.180082164
jmp 0x18007f3cb
call fcn.180081e74
mov r10, qword [rbp - 0x10]
or edx, 0xffffffff
mov r9d, dword [rbp - 0x20]
mov r11, qword [rbp - 8]
mov dword [rdi + 0x20], eax
mov dword [r15 + 0x4c], eax
test byte [rdi + 0x10], 4
mov ebx, r9d
mov dword [rbp + 0x50], ebx
je 0x18007f430
mov r8d, 0xff00
mov ecx, r14d
and ecx, r8d
mov eax, r14d
shl eax, 0x10
add ecx, eax
mov eax, r14d
shr eax, 8
and eax, r8d
shl ecx, 8
add ecx, eax
mov eax, r14d
shr eax, 0x18
add ecx, eax
cmp dword [rdi + 0x18], r12d
cmovne ecx, r14d
cmp ecx, dword [rdi + 0x20]
je 0x18007f430
lea rax, str.incorrect_data_check
jmp 0x18007e241
mov r14d, r12d
mov esi, r12d
jmp 0x18007f365
mov ebx, dword [rbp + 0x50]
cmp dword [rdi + 0x10], r12d
je 0x18007f4a6
cmp dword [rdi + 0x18], r12d
je 0x18007f4a6
jmp 0x18007f469
test r13d, r13d
je 0x18007f4d0
movzx eax, byte [r10]
mov ecx, esi
shl eax, cl
inc r10
add r14d, eax
mov qword [rbp - 0x10], r10
add r13d, edx
add esi, 8
cmp esi, 0x20
jb 0x18007f44c
cmp r14d, dword [rdi + 0x24]
je 0x18007f4a0
lea rax, str.incorrect_length_check
jmp 0x18007e241
mov qword [r15 + 0x10], r11
mov eax, 2
mov dword [r15 + 0x18], r9d
mov qword [r15], r10
mov dword [r15 + 8], r13d
mov dword [rdi + 0x48], r14d
mov dword [rdi + 0x4c], esi
jmp 0x18007f5a0
mov r14d, r12d
mov esi, r12d
mov dword [rdi + 8], 0x3f50
jmp 0x18007f4b2
mov ebx, dword [rbp + 0x50]
mov r10, qword [rbp - 0x10]
mov r12d, 1
jmp 0x18007e885
mov r10, qword [rbp - 0x10]
mov r12d, 0xfffffffd
jmp 0x18007e882
mov r10, qword [rbp - 0x10]
mov r12d, dword [rbp + 0x58]
jmp 0x18007e885
mov ebx, dword [rbp + 0x50]
mov r12d, eax
jmp 0x18007e888
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 0x18007f538
test ebx, ebx
je 0x18007f538
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 0x18007f528
call fcn.180082164
jmp 0x18007f52d
call fcn.180081e74
mov r9d, dword [rbp - 0x14]
mov dword [rdi + 0x20], eax
mov dword [r15 + 0x4c], eax
cmp dword [rdi + 8], 0x3f47
je 0x18007f54d
cmp dword [rdi + 8], 0x3f42
mov r8d, esi
jne 0x18007f553
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 0x18007f584
test ebx, ebx
je 0x18007f58a
cmp dword [rbp + 0x48], 4
jne 0x18007f596
test r12d, r12d
mov eax, 0xfffffffb
cmove r12d, eax
mov eax, r12d
jmp 0x18007f5a0
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