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

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x58
mov r14d, edx
mov r13, rcx
test rcx, rcx
je case.default.0x1800cae07
mov r12, qword [rcx + 0x28]
test r12, r12
je case.default.0x1800cae07
mov r9, qword [rcx + 0x10]
mov qword [rsp + 0x40], r9
test r9, r9
je case.default.0x1800cae07
mov rsi, qword [rcx]
test rsi, rsi
jne 0x1800cad93
cmp dword [rcx + 8], esi
jne case.default.0x1800cae07
mov eax, dword [r12]
cmp eax, 0xb
jne 0x1800cadb5
mov dword [r12], listen
mov eax, listen
mov r9, qword [rcx + 0x10]
mov rsi, qword [rcx]
mov qword [rsp + 0x40], r9
mov r10d, dword [rcx + 0x18]
xor r15d, r15d
mov edi, dword [rcx + 8]
mov r8d, r10d
mov ebp, dword [r12 + 0x40]
mov ebx, dword [r12 + 0x44]
mov dword [rsp + 0xb8], r10d
mov dword [rsp + 0x38], edi
mov dword [rsp + 0xa0], r10d
mov dword [rsp + 0xb0], r15d
cmp eax, 0x1e
ja case.default.0x1800cae07
mov edx, eax
lea r11, [0x180000000]
cdqe
invalid
invalid
invalid
invalid
mov esp, es
lea r11, [0x180000000]
mov edx, dword [r12 + 8]
test edx, edx
jne 0x1800cae1f
mov dword [r12], listen
jmp 0x1800cb47c
cmp ebx, 0x10
jae 0x1800cae42
test edi, edi
je 0x1800cb61c
movzx eax, byte [rsi]
mov ecx, ebx
shl eax, cl
dec edi
add ebp, eax
inc rsi
add ebx, 8
cmp ebx, 0x10
jb 0x1800cae24
test dl, 2
je 0x1800cae92
cmp ebp, 0x8b1f
jne 0x1800cae92
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.1800ccc70
mov dword [r12 + 0x18], eax
lea rdx, [rsp + 0x30]
mov word [rsp + 0x30], bp
mov r8d, 2
mov ecx, dword [r12 + 0x18]
call fcn.1800ccc70
mov dword [r12 + 0x18], eax
mov ebp, r15d
mov ebx, r15d
mov dword [r12], 1
jmp 0x1800cb46f
mov rax, qword [r12 + 0x20]
mov dword [r12 + 0x10], r15d
test rax, rax
je 0x1800caead
mov dword [rax + 0x40], 0xffffffff
mov edx, dword [r12 + 8]
test dl, 1
je 0x1800caf74
movzx ecx, bpl
mov eax, ebp
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 0x1800caf74
mov eax, ebp
and al, 0xf
cmp al, 8
je 0x1800caf01
lea rax, str.unknown_compression_method
mov qword [r13 + 0x20], rax
mov dword [r12], Ordinal_35
jmp 0x1800cb47c
mov eax, dword [r12 + 0x28]
add ebx, 0xfffffffc
shr ebp, 4
mov ecx, ebp
and ecx, 0xf
add ecx, 8
test eax, eax
jne 0x1800caf58
mov dword [r12 + 0x28], ecx
mov eax, 1
xor r8d, r8d
shl eax, cl
xor edx, edx
xor ecx, ecx
mov dword [r12 + 0x14], eax
call fcn.1800cc990
shr ebp, 8
mov ebx, r15d
not ebp
mov dword [r12 + 0x18], eax
and ebp, 2
mov dword [r13 + 0x4c], eax
or ebp, 9
mov dword [r12], ebp
mov ebp, r15d
jmp 0x1800cb46f
cmp ecx, eax
jbe 0x1800caf1d
lea rax, str.invalid_window_size
mov qword [r13 + 0x20], rax
mov dword [r12], Ordinal_35
jmp 0x1800cb47c
lea rax, str.incorrect_header_check
mov qword [r13 + 0x20], rax
mov dword [r12], Ordinal_35
jmp 0x1800cb47c
cmp ebx, 0x10
jae 0x1800cafaf
test edi, edi
je 0x1800cb61c
movzx eax, byte [rsi]
mov ecx, ebx
shl eax, cl
dec edi
add ebp, eax
inc rsi
add ebx, 8
cmp ebx, 0x10
jb 0x1800caf91
mov dword [r12 + 0x10], ebp
cmp bpl, 8
jne 0x1800caee9
test ebp, 0xe000
je 0x1800cafde
lea rax, str.unknown_header_flags_set
mov qword [r13 + 0x20], rax
mov dword [r12], Ordinal_35
jmp 0x1800cb47c
mov rdx, qword [r12 + 0x20]
mov ecx, ebp
shr ecx, 8
mov eax, ebp
test rdx, rdx
je 0x1800caffb
mov eax, ecx
and eax, 1
mov dword [rdx], eax
mov eax, dword [r12 + 0x10]
bt eax, 9
jae 0x1800cb024
mov byte [rsp + 0x30], bpl
lea rdx, [rsp + 0x30]
mov byte [rsp + 0x31], cl
mov r8d, 2
mov ecx, dword [r12 + 0x18]
call fcn.1800ccc70
mov dword [r12 + 0x18], eax
mov ebp, r15d
mov dword [r12], 2
mov ebx, r15d
jmp 0x1800cb040
cmp ebx, 0x20
jae 0x1800cb05e
nop dword [rax]
test edi, edi
je 0x1800cb61c
movzx eax, byte [rsi]
mov ecx, ebx
shl eax, cl
dec edi
add ebp, eax
inc rsi
add ebx, 8
cmp ebx, 0x20
jb 0x1800cb040
mov rax, qword [r12 + 0x20]
test rax, rax
je 0x1800cb06b
mov dword [rax + 4], ebp
test dword [r12 + 0x10], 0x200
je 0x1800cb0af
mov eax, ebp
mov byte [rsp + 0x30], bpl
shr eax, 8
lea rdx, [rsp + 0x30]
mov byte [rsp + 0x31], al
mov r8d, 4
mov eax, ebp
shr ebp, 0x18
shr eax, 0x10
mov byte [rsp + 0x32], al
mov byte [rsp + 0x33], bpl
mov ecx, dword [r12 + 0x18]
call fcn.1800ccc70
mov dword [r12 + 0x18], eax
mov ebp, r15d
mov dword [r12], 3
mov ebx, r15d
jmp 0x1800cb0c4
cmp ebx, 0x10
jae 0x1800cb0e2
test edi, edi
je 0x1800cb61c
movzx eax, byte [rsi]
mov ecx, ebx
shl eax, cl
dec edi
add ebp, eax
inc rsi
add ebx, 8
cmp ebx, 0x10
jb 0x1800cb0c4
mov rcx, qword [r12 + 0x20]
test rcx, rcx
je 0x1800cb102
movzx eax, bpl
mov dword [rcx + 8], eax
mov ecx, ebp
mov rax, qword [r12 + 0x20]
shr ecx, 8
mov dword [rax + 0xc], ecx
jmp 0x1800cb107
mov ecx, ebp
shr ecx, 8
test dword [r12 + 0x10], 0x200
je 0x1800cb135
mov byte [rsp + 0x30], bpl
lea rdx, [rsp + 0x30]
mov byte [rsp + 0x31], cl
mov r8d, 2
mov ecx, dword [r12 + 0x18]
call fcn.1800ccc70
mov dword [r12 + 0x18], eax
mov ebp, r15d
mov dword [r12], 4
mov ebx, r15d
test dword [r12 + 0x10], 0x400
je 0x1800cb1bd
cmp ebx, 0x10
jae 0x1800cb171
test edi, edi
je 0x1800cb61c
movzx eax, byte [rsi]
mov ecx, ebx
shl eax, cl
dec edi
add ebp, eax
inc rsi
add ebx, 8
cmp ebx, 0x10
jb 0x1800cb153
mov rax, qword [r12 + 0x20]
mov dword [r12 + 0x48], ebp
test rax, rax
je 0x1800cb183
mov dword [rax + 0x18], ebp
test dword [r12 + 0x10], 0x200
je 0x1800cb1b5
mov byte [rsp + 0x30], bpl
lea rdx, [rsp + 0x30]
shr ebp, 8
mov r8d, 2
mov byte [rsp + 0x31], bpl
mov ecx, dword [r12 + 0x18]
call fcn.1800ccc70
mov dword [r12 + 0x18], eax
mov ebp, r15d
mov ebx, r15d
jmp 0x1800cb1cb
mov rax, qword [r12 + 0x20]
test rax, rax
je 0x1800cb1cb
mov qword [rax + 0x10], r15
mov dword [r12], 5
mov eax, dword [r12 + 0x10]
bt eax, 0xa
jae 0x1800cb272
mov ecx, dword [r12 + 0x48]
mov r14d, edi
cmp ecx, edi
cmovbe r14d, ecx
test r14d, r14d
je 0x1800cb26a
mov rdx, qword [r12 + 0x20]
test rdx, rdx
je 0x1800cb23c
mov r10, qword [rdx + 0x10]
test r10, r10
je 0x1800cb23c
mov r8d, dword [rdx + 0x1c]
mov eax, r14d
mov r9d, dword [rdx + 0x18]
mov edx, r8d
sub r9d, ecx
sub edx, r9d
lea ecx, [r14 + r9]
cmp ecx, r8d
mov ecx, r9d
cmova eax, edx
add rcx, r10
mov r8d, eax
mov rdx, rsi
call fcn.18009d4b0
mov eax, dword [r12 + 0x10]
bt eax, 9
jae 0x1800cb257
mov ecx, dword [r12 + 0x18]
mov r8d, r14d
mov rdx, rsi
call fcn.1800ccc70
mov dword [r12 + 0x18], eax
mov eax, r14d
sub edi, r14d
add rsi, rax
sub dword [r12 + 0x48], r14d
mov ecx, dword [r12 + 0x48]
test ecx, ecx
jne 0x1800cb61c
mov dword [r12 + 0x48], r15d
mov dword [r12], 6
test dword [r12 + 0x10], 0x800
je 0x1800cb312
test edi, edi
je 0x1800cb61c
mov r14d, r15d
nop dword [rax]
mov eax, r14d
inc r14d
movzx r15d, byte [rax + rsi]
mov rax, qword [r12 + 0x20]
test rax, rax
je 0x1800cb2d1
mov rdx, qword [rax + 0x20]
test rdx, rdx
je 0x1800cb2d1
mov ecx, dword [r12 + 0x48]
cmp ecx, dword [rax + 0x28]
jae 0x1800cb2d1
mov byte [rcx + rdx], r15b
inc dword [r12 + 0x48]
test r15b, r15b
je 0x1800cb2db
cmp r14d, edi
jb 0x1800cb2a0
test dword [r12 + 0x10], 0x200
je 0x1800cb2fb
mov ecx, dword [r12 + 0x18]
mov r8d, r14d
mov rdx, rsi
call fcn.1800ccc70
mov dword [r12 + 0x18], eax
mov eax, r14d
sub edi, r14d
add rsi, rax
test r15b, r15b
jne 0x1800cb61c
xor r15d, r15d
jmp 0x1800cb320
mov rax, qword [r12 + 0x20]
test rax, rax
je 0x1800cb320
mov qword [rax + 0x20], r15
mov dword [r12 + 0x48], r15d
mov dword [r12], 7
test dword [r12 + 0x10], 0x1000
je 0x1800cb3c2
test edi, edi
je 0x1800cb61c
mov r14d, r15d
nop word [rax + rax]
mov eax, r14d
inc r14d
movzx r15d, byte [rax + rsi]
mov rax, qword [r12 + 0x20]
test rax, rax
je 0x1800cb381
mov rdx, qword [rax + 0x30]
test rdx, rdx
je 0x1800cb381
mov ecx, dword [r12 + 0x48]
cmp ecx, dword [rax + 0x38]
jae 0x1800cb381
mov byte [rcx + rdx], r15b
inc dword [r12 + 0x48]
test r15b, r15b
je 0x1800cb38b
cmp r14d, edi
jb 0x1800cb350
test dword [r12 + 0x10], 0x200
je 0x1800cb3ab
mov ecx, dword [r12 + 0x18]
mov r8d, r14d
mov rdx, rsi
call fcn.1800ccc70
mov dword [r12 + 0x18], eax
mov eax, r14d
sub edi, r14d
add rsi, rax
test r15b, r15b
jne 0x1800cb61c
xor r15d, r15d
jmp 0x1800cb3d0
mov rax, qword [r12 + 0x20]
test rax, rax
je 0x1800cb3d0
mov qword [rax + 0x30], r15
mov r10d, dword [rsp + 0xb8]
mov dword [r12], 8
mov edx, dword [r12 + 0x10]
bt edx, 9
jae 0x1800cb433
cmp ebx, 0x10
jae 0x1800cb40e
test edi, edi
je 0x1800cb61c
movzx eax, byte [rsi]
mov ecx, ebx
shl eax, cl
dec edi
add ebp, eax
inc rsi
add ebx, 8
cmp ebx, 0x10
jb 0x1800cb3f0
movzx eax, word [r12 + 0x18]
cmp ebp, eax
je 0x1800cb42d
lea rax, str.header_crc_mismatch
mov qword [r13 + 0x20], rax
mov dword [r12], Ordinal_35
jmp 0x1800cb477
mov ebp, r15d
mov ebx, r15d
mov rax, qword [r12 + 0x20]
test rax, rax
je 0x1800cb452
sar edx, 9
and edx, 1
mov dword [rax + 0x3c], edx
mov rax, qword [r12 + 0x20]
mov dword [rax + 0x40], 1
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.1800ccc70
mov dword [r12 + 0x18], eax
mov dword [r13 + 0x4c], eax
mov dword [r12], listen
mov r10d, dword [rsp + 0xb8]
mov r9, qword [rsp + 0x40]
mov edx, dword [r12]
mov eax, edx
cmp edx, 0x1e
ja case.default.0x1800cae07
mov r8d, dword [rsp + 0xa0]
xor r15d, r15d
mov r14d, dword [rsp + 0xa8]
jmp 0x1800cadf3
cmp ebx, 0x20
jae 0x1800cb4c6
test edi, edi
je 0x1800cb61c
movzx eax, byte [rsi]
mov ecx, ebx
shl eax, cl
dec edi
add ebp, eax
inc rsi
add ebx, 8
cmp ebx, 0x20
jb 0x1800cb4a8
mov ecx, ebp
mov eax, ebp
shl eax, 0x10
and ecx, 0xff00
add ecx, eax
mov ebx, r15d
mov eax, ebp
shl ecx, 8
shr eax, 8
and eax, 0xff00
shr ebp, 0x18
add eax, ecx
add eax, ebp
mov ebp, r15d
mov dword [r12 + 0x18], eax
mov dword [r13 + 0x4c], eax
mov dword [r12], 0xa
cmp dword [r12 + 0xc], 0
je 0x1800cc345
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.1800cc990
mov r10d, dword [rsp + 0xb8]
mov dword [r12 + 0x18], eax
mov dword [r13 + 0x4c], eax
mov dword [r12], listen
lea eax, [r14 - 5]
cmp eax, 1
jbe 0x1800cb61c
cmp dword [r12 + 4], 0
je 0x1800cb55c
mov ecx, ebx
mov dword [r12], reloc.WLDAP32.dll_Ordinal_26
and ecx, 7
shr ebp, cl
sub ebx, ecx
jmp 0x1800cb477
cmp ebx, 3
jae 0x1800cb57f
test edi, edi
je 0x1800cb61c
movzx eax, byte [rsi]
mov ecx, ebx
shl eax, cl
dec edi
add ebp, eax
inc rsi
add ebx, 8
cmp ebx, 3
jb 0x1800cb561
mov eax, ebp
shr ebp, 1
and eax, 1
mov dword [r12 + 4], eax
mov eax, ebp
and eax, 3
je 0x1800cb694
sub eax, 1
je 0x1800cb5da
sub eax, 1
je 0x1800cb5c7
cmp eax, 1
jne 0x1800cb69c
lea rax, str.invalid_block_type
shr ebp, 2
mov qword [r13 + 0x20], rax
add ebx, 0xfffffffd
mov dword [r12], Ordinal_35
jmp 0x1800cb477
shr ebp, 2
add ebx, 0xfffffffd
mov dword [r12], reloc.WS2_32.dll_recv
jmp 0x1800cb477
mov dword [r12 + 0x68], 9
lea rax, [0x1800f4580]
mov qword [r12 + 0x58], rax
lea rax, [0x1800f4d80]
mov qword [r12 + 0x60], rax
mov dword [r12 + 0x6c], 5
mov dword [r12], reloc.WS2_32.dll_send
cmp r14d, 6
jne 0x1800cb69c
shr ebp, 2
add ebx, 0xfffffffd
mov r14d, dword [rsp + 0xa0]
mov r15d, dword [rsp + 0xb0]
mov rcx, qword [rsp + 0x40]
mov eax, dword [rsp + 0xb8]
mov qword [r13 + 0x10], rcx
mov dword [r13 + 0x18], eax
mov qword [r13], rsi
mov dword [r13 + 8], edi
cmp dword [r12 + 0x2c], 0
mov dword [r12 + 0x40], ebp
mov dword [r12 + 0x44], ebx
jne 0x1800cb66f
cmp dword [r12], 0x1a
jge 0x1800cc3a8
cmp r14d, dword [r13 + 0x18]
je 0x1800cc3a8
mov edx, r14d
mov rcx, r13
call fcn.1800cc870
test eax, eax
je 0x1800cc3a8
mov dword [r12], reloc.WLDAP32.dll_Ordinal_30
mov eax, 0xfffffffc
jmp 0x1800cc479
mov dword [r12], reloc.WS2_32.dll_listen
shr ebp, 2
add ebx, 0xfffffffd
jmp 0x1800cb477
mov ecx, ebx
and ecx, 7
shr ebp, cl
sub ebx, ecx
cmp ebx, 0x20
jae 0x1800cb6d3
test edi, edi
je 0x1800cb61c
movzx eax, byte [rsi]
mov ecx, ebx
shl eax, cl
dec edi
add ebp, eax
inc rsi
add ebx, 8
cmp ebx, 0x20
jb 0x1800cb6b5
mov eax, ebp
movzx ecx, bp
not eax
shr eax, 0x10
cmp ecx, eax
je 0x1800cb6f9
lea rax, str.invalid_stored_block_lengths
mov qword [r13 + 0x20], rax
mov dword [r12], Ordinal_35
jmp 0x1800cb47c
mov dword [r12 + 0x48], ecx
mov ebp, r15d
mov dword [r12], reloc.WS2_32.dll_ntohl
mov ebx, r15d
cmp r14d, 6
je 0x1800cb61c
mov dword [r12], reloc.WS2_32.dll_ntohs
mov ecx, dword [r12 + 0x48]
test ecx, ecx
je 0x1800cb782
cmp ecx, edi
mov eax, edi
mov r14d, r10d
cmovbe eax, ecx
cmp eax, r10d
cmovbe r14d, eax
test r14d, r14d
je 0x1800cb61c
mov r8d, r14d
mov rdx, rsi
mov rcx, r9
call fcn.18009d4b0
mov r10d, dword [rsp + 0xb8]
sub edi, r14d
mov r9, qword [rsp + 0x40]
sub r10d, r14d
mov eax, r14d
add r9, rax
mov dword [rsp + 0xb8], r10d
add rsi, rax
mov qword [rsp + 0x40], r9
sub dword [r12 + 0x48], r14d
jmp 0x1800cb47c
mov dword [r12], listen
jmp 0x1800cb47c
cmp ebx, 0xe
jae 0x1800cb7b2
test edi, edi
je 0x1800cb61c
movzx eax, byte [rsi]
mov ecx, ebx
shl eax, cl
dec edi
add ebp, eax
inc rsi
add ebx, 8
cmp ebx, 0xe
jb 0x1800cb794
mov ecx, ebp
add ebx, 0xfffffff2
shr ebp, 5
and ecx, 0x1f
mov edx, ebp
add ecx, 0x101
shr ebp, 5
and edx, 0x1f
mov eax, ebp
mov dword [r12 + 0x74], ecx
and eax, 0xf
shr ebp, 4
add eax, 4
inc edx
mov dword [r12 + 0x78], edx
mov dword [r12 + 0x70], eax
cmp ecx, 0x11e
ja 0x1800cb90f
cmp edx, 0x1e
ja 0x1800cb90f
mov dword [r12 + 0x7c], r15d
mov dword [r12], reloc.WS2_32.dll_recvfrom
mov eax, dword [r12 + 0x7c]
cmp eax, dword [r12 + 0x70]
jae 0x1800cb873
cmp ebx, 3
jae 0x1800cb83e
nop word [rax + rax]
test edi, edi
je 0x1800cb61c
movzx eax, byte [rsi]
mov ecx, ebx
shl eax, cl
dec edi
add ebp, eax
inc rsi
add ebx, 8
cmp ebx, 3
jb 0x1800cb820
mov eax, dword [r12 + 0x7c]
movzx ecx, bp
and cx, 7
shr ebp, 3
add ebx, 0xfffffffd
movzx eax, word [r11 + rax*2 + 0xf4e00]
mov word [r12 + rax*2 + 0x88], cx
inc dword [r12 + 0x7c]
mov eax, dword [r12 + 0x7c]
cmp eax, dword [r12 + 0x70]
jb 0x1800cb815
cmp eax, 0x13
jae 0x1800cb8a4
nop dword [rax + rax]
mov eax, dword [r12 + 0x7c]
movzx eax, word [r11 + rax*2 + 0xf4e00]
mov word [r12 + rax*2 + 0x88], r15w
inc dword [r12 + 0x7c]
cmp dword [r12 + 0x7c], 0x13
jb 0x1800cb880
lea rcx, [r12 + 0x68]
lea rax, [r12 + 0x548]
mov dword [rcx], 7
lea r9, [r12 + 0x80]
mov qword [r12 + 0x58], rax
mov qword [r9], rax
lea rdx, [r12 + 0x88]
lea rax, [r12 + 0x308]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
xor ecx, ecx
lea r8d, [rcx + 0x13]
call fcn.1800ccf80
mov dword [rsp + 0xb0], eax
test eax, eax
je 0x1800cb927
lea rax, str.invalid_code_lengths_set
mov qword [r13 + 0x20], rax
mov dword [r12], Ordinal_35
jmp 0x1800cb46f
lea rax, str.too_many_length_or_distance_symbols
mov qword [r13 + 0x20], rax
mov dword [r12], Ordinal_35
jmp 0x1800cb47c
mov dword [r12 + 0x7c], r15d
mov edx, reloc.WS2_32.dll_select
mov dword [r12], reloc.WS2_32.dll_select
mov ecx, dword [r12 + 0x78]
mov r10d, dword [r12 + 0x74]
add ecx, r10d
cmp dword [r12 + 0x7c], ecx
jae 0x1800cbb6b
nop dword [rax]
nop word [rax + rax]
mov ecx, dword [r12 + 0x68]
mov r8d, 1
mov r9, qword [r12 + 0x58]
shl r8d, cl
dec r8d
mov eax, ebp
mov ecx, r8d
and rcx, rax
mov edx, dword [r9 + rcx*4]
mov ecx, edx
shr ecx, 8
mov dword [rsp + 0x34], edx
movzx eax, cl
shr edx, 0x10
cmp eax, ebx
jbe 0x1800cb9cd
test edi, edi
je 0x1800cb61c
movzx eax, byte [rsi]
mov ecx, ebx
shl eax, cl
dec edi
add ebp, eax
inc rsi
mov eax, r8d
add ebx, 8
mov ecx, ebp
and rcx, rax
mov edx, dword [r9 + rcx*4]
mov ecx, edx
shr ecx, 8
mov dword [rsp + 0x34], edx
movzx eax, cl
shr edx, 0x10
cmp eax, ebx
ja 0x1800cb995
cmp dx, 0x10
jae 0x1800cba28
movzx edx, cl
cmp ebx, edx
jae 0x1800cb9fd
nop word [rax + rax]
test edi, edi
je 0x1800cb61c
movzx eax, byte [rsi]
mov ecx, ebx
shl eax, cl
dec edi
add ebp, eax
inc rsi
add ebx, 8
cmp ebx, edx
jb 0x1800cb9e0
movzx ecx, byte [rsp + 0x35]
movzx eax, word [rsp + 0x36]
sub ebx, ecx
shr ebp, cl
mov ecx, dword [r12 + 0x7c]
mov word [r12 + rcx*2 + 0x88], ax
inc dword [r12 + 0x7c]
mov r8d, dword [r12 + 0x7c]
jmp 0x1800cbb51
jne 0x1800cba85
movzx edx, cl
add edx, 2
cmp ebx, edx
jae 0x1800cba51
test edi, edi
je 0x1800cb61c
movzx eax, byte [rsi]
mov ecx, ebx
shl eax, cl
dec edi
add ebp, eax
inc rsi
add ebx, 8
cmp ebx, edx
jb 0x1800cba34
movzx ecx, byte [rsp + 0x35]
mov eax, dword [r12 + 0x7c]
sub ebx, ecx
shr ebp, cl
test eax, eax
je 0x1800cbb98
mov edx, ebp
add ebx, 0xfffffffe
and edx, 3
shr ebp, 2
add edx, 3
dec eax
movzx r9d, word [r12 + rax*2 + 0x88]
jmp 0x1800cbb11
cmp dx, 0x11
movzx edx, cl
jne 0x1800cbace
add edx, 3
cmp ebx, edx
jae 0x1800cbab2
test edi, edi
je 0x1800cb61c
movzx eax, byte [rsi]
mov ecx, ebx
shl eax, cl
dec edi
add ebp, eax
inc rsi
add ebx, 8
cmp ebx, edx
jb 0x1800cba95
movzx ecx, byte [rsp + 0x35]
mov eax, 0xfffffffd
shr ebp, cl
mov r9d, r15d
mov edx, ebp
and edx, 7
add edx, 3
shr ebp, 3
jmp 0x1800cbb0d
add edx, 7
cmp ebx, edx
jae 0x1800cbaf2
test edi, edi
je 0x1800cb61c
movzx eax, byte [rsi]
mov ecx, ebx
shl eax, cl
dec edi
add ebp, eax
inc rsi
add ebx, 8
cmp ebx, edx
jb 0x1800cbad5
movzx ecx, byte [rsp + 0x35]
mov eax, 0xfffffff9
shr ebp, cl
movzx r9d, r15w
mov edx, ebp
and edx, 0x7f
add edx, 0xb
shr ebp, 7
sub eax, ecx
add ebx, eax
mov ecx, dword [r12 + 0x7c]
mov eax, dword [r12 + 0x78]
add ecx, edx
add eax, dword [r12 + 0x74]
cmp ecx, eax
ja 0x1800cbb98
nop word [rax + rax]
mov eax, dword [r12 + 0x7c]
mov word [r12 + rax*2 + 0x88], r9w
mov r8d, dword [r12 + 0x7c]
lea r8d, [r8 + 1]
mov dword [r12 + 0x7c], r8d
add edx, 0xffffffff
jne 0x1800cbb30
mov ecx, dword [r12 + 0x78]
mov r10d, dword [r12 + 0x74]
add ecx, r10d
cmp r8d, ecx
jb 0x1800cb960
mov edx, dword [r12]
cmp edx, 0x1d
je 0x1800cb46f
cmp word [r12 + 0x288], 0
jne 0x1800cbbb0
lea rax, str.invalid_code____missing_end_of_block
mov qword [r13 + 0x20], rax
mov dword [r12], Ordinal_35
jmp 0x1800cb46f
lea rax, str.invalid_bit_length_repeat
mov qword [r13 + 0x20], rax
mov dword [r12], Ordinal_35
jmp 0x1800cb46f
lea rax, [r12 + 0x548]
mov dword [r12 + 0x68], 9
mov qword [r12 + 0x80], rax
lea r15, [r12 + 0x308]
mov qword [r12 + 0x58], rax
lea rdx, [r12 + 0x88]
lea rax, [r12 + 0x68]
mov qword [rsp + 0x28], r15
lea r9, [r12 + 0x80]
mov qword [rsp + 0x20], rax
mov r8d, r10d
mov ecx, 1
call fcn.1800ccf80
mov dword [rsp + 0xb0], eax
test eax, eax
je 0x1800cbc25
lea rax, str.invalid_literal_lengths_set
mov qword [r13 + 0x20], rax
mov dword [r12], Ordinal_35
jmp 0x1800cb46f
mov rax, qword [r12 + 0x80]
lea rcx, [r12 + 0x6c]
mov r8d, dword [r12 + 0x78]
lea r9, [r12 + 0x80]
mov qword [r12 + 0x60], rax
mov eax, dword [r12 + 0x74]
add rax, 0x44
mov dword [rcx], 6
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rcx
mov ecx, 2
lea rdx, [r12 + rax*2]
call fcn.1800ccf80
mov dword [rsp + 0xb0], eax
mov r15d, eax
test eax, eax
je 0x1800cbc91
lea rax, str.invalid_distances_set
mov qword [r13 + 0x20], rax
mov dword [r12], Ordinal_35
jmp 0x1800cb46f
cmp dword [rsp + 0xa8], 6
mov dword [r12], reloc.WS2_32.dll_send
je 0x1800cc39b
mov r8d, dword [rsp + 0xa0]
xor r15d, r15d
mov r10d, dword [rsp + 0xb8]
mov dword [r12], reloc.WS2_32.dll_sendto
cmp edi, 6
jb 0x1800cbd3d
cmp r10d, 0x102
jb 0x1800cbd3d
mov rcx, qword [rsp + 0x40]
mov edx, r8d
mov qword [r13 + 0x10], rcx
mov rcx, r13
mov dword [r13 + 0x18], r10d
mov qword [r13], rsi
mov dword [r13 + 8], edi
mov dword [r12 + 0x40], ebp
mov dword [r12 + 0x44], ebx
call fcn.1800cd5b0
cmp dword [r12], 0xb
mov r9, qword [r13 + 0x10]
mov r10d, dword [r13 + 0x18]
mov rsi, qword [r13]
mov edi, dword [r13 + 8]
mov ebp, dword [r12 + 0x40]
mov ebx, dword [r12 + 0x44]
mov qword [rsp + 0x40], r9
mov dword [rsp + 0xb8], r10d
jne 0x1800cb47c
mov dword [r12 + 0x1bdc], 0xffffffff
jmp 0x1800cb47c
mov ecx, dword [r12 + 0x68]
mov edx, 1
mov r10, qword [r12 + 0x58]
shl edx, cl
dec edx
mov eax, ebp
mov ecx, edx
and rcx, rax
mov dword [r12 + 0x1bdc], r15d
mov eax, dword [r10 + rcx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, ebx
jbe 0x1800cbda0
nop
test edi, edi
je 0x1800cb61c
movzx eax, byte [rsi]
mov ecx, ebx
shl eax, cl
dec edi
add ebp, eax
inc rsi
mov eax, edx
add ebx, 8
mov ecx, ebp
and rcx, rax
mov eax, dword [r10 + rcx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, ebx
ja 0x1800cbd70
test al, al
je 0x1800cbe5d
test al, 0xf0
jne 0x1800cbe5d
mov ecx, eax
mov dword [rsp + 0x34], eax
movzx r14d, byte [rsp + 0x35]
mov r8d, 1
shr ecx, 8
mov edx, eax
movzx r9d, cl
movzx ecx, al
add ecx, r9d
shr eax, 0x10
shl r8d, cl
mov ecx, r9d
dec r8d
and r8d, ebp
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, ebx
jbe 0x1800cbe4d
movzx r11d, word [rsp + 0x36]
test edi, edi
je 0x1800cb61c
movzx eax, byte [rsi]
mov ecx, ebx
shl eax, cl
mov r8d, 1
add ebp, eax
movzx ecx, dl
add ecx, r14d
dec edi
shl r8d, cl
inc rsi
dec r8d
mov ecx, r14d
and r8d, ebp
add ebx, 8
shr r8d, cl
add r8d, r11d
mov eax, dword [r10 + r8*4]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
add r8d, r14d
cmp r8d, ebx
ja 0x1800cbe01
mov ecx, r14d
shr ebp, cl
sub ebx, r14d
mov dword [r12 + 0x1bdc], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [r12 + 0x1bdc], ecx
sub ebx, ecx
shr ebp, cl
mov ecx, eax
shr ecx, 0x10
mov dword [r12 + 0x48], ecx
test al, al
jne 0x1800cbe8c
mov dword [r12], Ordinal_27
jmp 0x1800cb46f
test al, 0x20
je 0x1800cbea1
mov dword [r12 + 0x1bdc], 0xffffffff
jmp 0x1800cb467
test al, 0x40
je 0x1800cbebd
lea rax, str.invalid_literal_length_code
mov qword [r13 + 0x20], rax
mov dword [r12], Ordinal_35
jmp 0x1800cb46f
movzx ecx, al
and ecx, 0xf
mov dword [r12], reloc.WS2_32.dll_setsockopt
mov dword [r12 + 0x50], ecx
mov edx, dword [r12 + 0x50]
test edx, edx
je 0x1800cbf1b
cmp ebx, edx
jae 0x1800cbefd
nop dword [rax]
test edi, edi
je 0x1800cb61c
movzx eax, byte [rsi]
mov ecx, ebx
shl eax, cl
dec edi
add ebp, eax
inc rsi
add ebx, 8
cmp ebx, edx
jb 0x1800cbee0
mov ecx, edx
mov eax, 1
shl eax, cl
sub ebx, edx
dec eax
and eax, ebp
shr ebp, cl
add dword [r12 + 0x48], eax
add dword [r12 + 0x1bdc], edx
mov eax, dword [r12 + 0x48]
mov dword [r12 + 0x1be0], eax
mov dword [r12], reloc.WLDAP32.dll_Ordinal_22
mov ecx, dword [r12 + 0x6c]
mov edx, 1
mov r10, qword [r12 + 0x60]
shl edx, cl
dec edx
mov eax, ebp
mov ecx, edx
and rcx, rax
mov eax, dword [r10 + rcx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, ebx
jbe 0x1800cbf90
nop word [rax + rax]
test edi, edi
je 0x1800cb61c
movzx eax, byte [rsi]
mov ecx, ebx
shl eax, cl
dec edi
add ebp, eax
inc rsi
mov eax, edx
add ebx, 8
mov ecx, ebp
and rcx, rax
mov eax, dword [r10 + rcx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, ebx
ja 0x1800cbf60
test al, 0xf0
jne 0x1800cc04c
mov ecx, eax
mov dword [rsp + 0x34], eax
movzx r14d, byte [rsp + 0x35]
mov r8d, 1
shr ecx, 8
mov edx, eax
movzx r9d, cl
movzx ecx, al
add ecx, r9d
shr eax, 0x10
shl r8d, cl
mov ecx, r9d
dec r8d
and r8d, ebp
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, ebx
jbe 0x1800cc03c
movzx r11d, word [rsp + 0x36]
nop dword [rax]
test edi, edi
je 0x1800cb61c
movzx eax, byte [rsi]
mov ecx, ebx
shl eax, cl
mov r8d, 1
add ebp, eax
movzx ecx, dl
add ecx, r14d
dec edi
shl r8d, cl
inc rsi
dec r8d
mov ecx, r14d
and r8d, ebp
add ebx, 8
shr r8d, cl
add r8d, r11d
mov eax, dword [r10 + r8*4]
mov ecx, eax
shr ecx, 8
movzx r8d, cl
add r8d, r14d
cmp r8d, ebx
ja 0x1800cbff0
mov ecx, r14d
sub ebx, r14d
shr ebp, cl
add dword [r12 + 0x1bdc], ecx
mov r10d, dword [rsp + 0xb8]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [r12 + 0x1bdc], ecx
sub ebx, ecx
shr ebp, cl
test al, 0x40
je 0x1800cc084
lea rax, str.invalid_distance_code
mov qword [r13 + 0x20], rax
mov dword [r12], Ordinal_35
jmp 0x1800cb477
mov r8d, dword [rsp + 0xa0]
mov ecx, eax
shr ecx, 0x10
mov dword [r12 + 0x4c], ecx
movzx ecx, al
and ecx, 0xf
mov dword [r12], reloc.WS2_32.dll_socket
mov dword [r12 + 0x50], ecx
mov edx, dword [r12 + 0x50]
test edx, edx
je 0x1800cc0f1
cmp ebx, edx
jae 0x1800cc0d3
test edi, edi
je 0x1800cb61c
movzx eax, byte [rsi]
mov ecx, ebx
shl eax, cl
dec edi
add ebp, eax
inc rsi
add ebx, 8
cmp ebx, edx
jb 0x1800cc0b6
mov ecx, edx
mov eax, 1
shl eax, cl
sub ebx, edx
dec eax
and eax, ebp
shr ebp, cl
add dword [r12 + 0x4c], eax
add dword [r12 + 0x1bdc], edx
mov dword [r12], Ordinal_27
test r10d, r10d
je 0x1800cb61c
mov eax, dword [r12 + 0x4c]
mov ecx, r8d
sub ecx, r10d
cmp eax, ecx
jbe 0x1800cc167
sub eax, ecx
cmp eax, dword [r12 + 0x30]
jbe 0x1800cc13d
cmp dword [r12 + 0x1bd8], 0
je 0x1800cc13d
lea rax, str.invalid_distance_too_far_back
mov qword [r13 + 0x20], rax
mov dword [r12], Ordinal_35
jmp 0x1800cb477
mov ecx, dword [r12 + 0x34]
cmp eax, ecx
jbe 0x1800cc14d
sub eax, ecx
mov ecx, dword [r12 + 0x2c]
mov r8d, dword [r12 + 0x48]
sub ecx, eax
mov edx, ecx
mov r9d, r8d
add rdx, qword [r12 + 0x38]
cmp eax, r8d
cmovbe r9d, eax
jmp 0x1800cc177
mov rdx, qword [rsp + 0x40]
mov r8d, dword [r12 + 0x48]
sub rdx, rax
mov r9d, r8d
cmp r9d, r10d
mov ecx, r10d
cmovbe ecx, r9d
mov r9, qword [rsp + 0x40]
sub r10d, ecx
sub r8d, ecx
mov dword [rsp + 0xb8], r10d
sub rdx, r9
mov dword [r12 + 0x48], r8d
nop dword [rax]
movzx eax, byte [rdx + r9]
mov byte [r9], al
inc r9
add ecx, 0xffffffff
jne 0x1800cc1a0
mov qword [rsp + 0x40], r9
cmp dword [r12 + 0x48], ecx
jne 0x1800cb47c
mov dword [r12], reloc.WS2_32.dll_sendto
jmp 0x1800cb47c
test r10d, r10d
je 0x1800cb61c
movzx eax, byte [r12 + 0x48]
mov byte [r9], al
inc r9
dec r10d
mov qword [rsp + 0x40], r9
mov dword [rsp + 0xb8], r10d
mov dword [r12], reloc.WS2_32.dll_sendto
jmp 0x1800cb47c
cmp dword [r12 + 8], 0
je 0x1800cc2d9
cmp ebx, 0x20
jae 0x1800cc22e
test edi, edi
je 0x1800cb61c
movzx eax, byte [rsi]
mov ecx, ebx
shl eax, cl
dec edi
add ebp, eax
inc rsi
add ebx, 8
cmp ebx, 0x20
jb 0x1800cc210
sub r8d, r10d
add dword [r13 + 0x1c], r8d
add dword [r12 + 0x1c], r8d
test r8d, r8d
je 0x1800cc272
mov ecx, dword [r12 + 0x18]
mov rdx, r9
mov eax, r8d
sub rdx, rax
cmp dword [r12 + 0x10], 0
je 0x1800cc25c
call fcn.1800ccc70
jmp 0x1800cc261
call fcn.1800cc990
mov r10d, dword [rsp + 0xb8]
mov dword [r12 + 0x18], eax
mov dword [r13 + 0x4c], eax
cmp dword [r12 + 0x10], 0
mov r14d, r10d
mov dword [rsp + 0xa0], r10d
mov ecx, ebp
jne 0x1800cc2aa
and ecx, 0xff00
mov eax, ebp
shl eax, 0x10
add ecx, eax
mov eax, ebp
shr eax, 8
and eax, 0xff00
shl ecx, 8
add ecx, eax
mov eax, ebp
shr eax, 0x18
add ecx, eax
cmp ecx, dword [r12 + 0x18]
je 0x1800cc2c9
lea rax, str.incorrect_data_check
mov qword [r13 + 0x20], rax
mov dword [r12], Ordinal_35
jmp 0x1800cb477
mov ebp, r15d
mov dword [r12], reloc.WLDAP32.dll_Ordinal_27
mov ebx, r15d
jmp 0x1800cc2f3
mov r14d, dword [rsp + 0xa0]
mov dword [r12], reloc.WLDAP32.dll_Ordinal_27
jmp 0x1800cc2f3
mov r14d, dword [rsp + 0xa0]
cmp dword [r12 + 8], 0
je 0x1800cc36f
cmp dword [r12 + 0x10], 0
je 0x1800cc36f
cmp ebx, 0x20
jae 0x1800cc326
test edi, edi
je 0x1800cb624
movzx eax, byte [rsi]
mov ecx, ebx
shl eax, cl
dec edi
add ebp, eax
inc rsi
add ebx, 8
cmp ebx, 0x20
jb 0x1800cc308
cmp ebp, dword [r12 + 0x1c]
je 0x1800cc369
lea rax, str.incorrect_length_check
mov qword [r13 + 0x20], rax
mov dword [r12], Ordinal_35
jmp 0x1800cb477
mov qword [r13 + 0x10], r9
mov eax, 2
mov dword [r13 + 0x18], r10d
mov qword [r13], rsi
mov dword [r13 + 8], edi
mov dword [r12 + 0x40], ebp
mov dword [r12 + 0x44], ebx
jmp 0x1800cc479
mov ebp, r15d
mov ebx, r15d
mov dword [r12], Ordinal_35
mov r15d, 1
jmp 0x1800cb62c
mov r14d, dword [rsp + 0xa0]
mov r15d, 1
jmp 0x1800cb62c
mov r15d, 0xfffffffd
mov r14d, dword [rsp + 0xa0]
jmp 0x1800cb62c
sub r14d, dword [r13 + 0x18]
mov r10d, dword [rsp + 0x38]
sub r10d, dword [r13 + 8]
add dword [r13 + 0xc], r10d
add dword [r13 + 0x1c], r14d
add dword [r12 + 0x1c], r14d
cmp dword [r12 + 8], 0
mov dword [rsp + 0x38], r10d
je 0x1800cc408
test r14d, r14d
je 0x1800cc408
mov rdx, qword [r13 + 0x10]
mov r8d, r14d
mov ecx, dword [r12 + 0x18]
mov eax, r14d
sub rdx, rax
cmp dword [r12 + 0x10], 0
je 0x1800cc3f5
call fcn.1800ccc70
jmp 0x1800cc3fa
call fcn.1800cc990
mov r10d, dword [rsp + 0x38]
mov dword [r12 + 0x18], eax
mov dword [r13 + 0x4c], eax
mov edx, dword [r12]
cmp edx, 0x13
je 0x1800cc41e
cmp edx, 0xe
je 0x1800cc41e
xor r9d, r9d
mov r8d, r9d
jmp 0x1800cc427
mov r8d, 0x100
xor r9d, r9d
mov eax, dword [r12 + 4]
neg eax
mov eax, 0x80
sbb ecx, ecx
and ecx, 0x40
cmp edx, 0xb
cmove r9d, eax
lea eax, [r8 + rcx]
add r9d, eax
add r9d, dword [r12 + 0x44]
mov dword [r13 + 0x48], r9d
test r10d, r10d
jne 0x1800cc459
test r14d, r14d
je 0x1800cc463
cmp dword [rsp + 0xa8], 4
jne 0x1800cc46f
test r15d, r15d
mov eax, 0xfffffffb
cmove r15d, eax
mov eax, r15d
jmp 0x1800cc479
mov eax, 0xfffffffe
add rsp, 0x58
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret