Function at 0x100bf155
Capabilities:
Compress data via zlib inflate or deflate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je case.default.0x100bf1e1
mov ebx, dword [esi + 0x1c]
mov dword [ebp - 0x2c], ebx
test ebx, ebx
je case.default.0x100bf1e1
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x20], eax
test eax, eax
je case.default.0x100bf1e1
mov eax, dword [esi]
mov dword [ebp - 8], eax
test eax, eax
jne 0x100bf197
cmp dword [esi + 4], eax
jne case.default.0x100bf1e1
mov eax, dword [ebx]
push 0xc
pop ecx
cmp eax, 0xb
jne 0x100bf1b0
mov dword [ebx], ecx
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [esi]
mov dword [ebp - 8], eax
mov eax, ecx
mov ecx, dword [esi + 0x10]
mov edx, dword [ebx + 0x38]
mov edi, dword [ebx + 0x3c]
mov dword [ebp - 0x18], ecx
mov ecx, dword [esi + 4]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x24], ecx
xor ecx, ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x28], ecx
cmp eax, 0x1e
ja case.default.0x100bf1e1
mov ecx, eax
jmp dword [eax*4 + 0x100c0601]
mov ecx, dword [ebx + 8]
test ecx, ecx
jne 0x100bf1fa
mov dword [ebx], 0xc
jmp 0x100c0507
push 0x10
pop eax
cmp edi, eax
jae 0x100bf234
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x100bf986
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], eax
cmp edi, 0x10
jb 0x100bf204
mov ecx, dword [ebx + 8]
test cl, 2
je 0x100bf27f
cmp edx, 0x8b1f
jne 0x100bf27f
xor edi, edi
push edi
push edi
push edi
call fcn.100c092f
mov dword [ebx + 0x18], eax
push 0x1f
pop eax
mov byte [ebp - 0x1c], al
lea eax, [ebp - 0x1c]
push 2
push eax
mov byte [ebp - 0x1b], 0x8b
push dword [ebx + 0x18]
call fcn.100c092f
mov edx, edi
mov dword [ebx + 0x18], eax
add esp, 0x18
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edi
mov dword [ebx], 1
jmp 0x100c0507
and dword [ebx + 0x10], 0
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x100bf291
or dword [eax + 0x30], 0xffffffff
mov ecx, dword [ebx + 8]
test cl, 1
je 0x100bf32f
movzx ecx, dl
mov eax, edx
shl ecx, 8
xor edx, edx
shr eax, 8
add eax, ecx
push 0x1f
pop ecx
div ecx
test edx, edx
mov edx, dword [ebp - 0x10]
jne 0x100bf32f
mov eax, edx
and al, 0xf
cmp al, 8
je 0x100bf2c9
mov dword [esi + 0x18], str.unknown_compression_method
jmp 0x100c0501
shr edx, 4
sub edi, 4
mov ecx, edx
mov dword [ebp - 0x10], edx
and ecx, 0xf
mov dword [ebp - 0x14], edi
add ecx, 8
cmp dword [ebx + 0x24], 0
jne 0x100bf31e
mov dword [ebx + 0x24], ecx
xor edi, edi
xor eax, eax
push edi
inc eax
shl eax, cl
push edi
push edi
mov dword [ebx + 0x14], eax
call fcn.100c2446
mov edx, dword [ebp - 0x10]
add esp, 0xc
shr edx, 8
not edx
mov dword [ebx + 0x18], eax
and edx, 2
mov dword [esi + 0x30], eax
or edx, 9
mov dword [ebx], edx
mov edx, edi
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edi
jmp 0x100c0507
cmp ecx, dword [ebx + 0x24]
jbe 0x100bf2e6
mov dword [esi + 0x18], str.invalid_window_size
jmp 0x100c0501
mov dword [esi + 0x18], str.incorrect_header_check
jmp 0x100c0501
push 0x10
pop eax
cmp edi, eax
jae 0x100bf372
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x100bf986
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], eax
cmp edi, 0x10
jb 0x100bf345
mov dword [ebx + 0x10], edx
cmp dl, 8
jne 0x100bf2bd
test edx, 0xe000
je 0x100bf392
mov dword [esi + 0x18], str.unknown_header_flags_set
jmp 0x100c0501
mov edi, dword [ebx + 0x20]
mov ecx, edx
shr ecx, 8
mov eax, edx
test edi, edi
je 0x100bf3aa
mov eax, ecx
and eax, 1
mov dword [edi], eax
mov eax, dword [ebx + 0x10]
test eax, 0x200
je 0x100bf3cb
push 2
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x1c], dl
push eax
mov byte [ebp - 0x1b], cl
push dword [ebx + 0x18]
call fcn.100c092f
add esp, 0xc
mov dword [ebx + 0x18], eax
xor eax, eax
mov dword [ebx], 2
mov edx, eax
mov edi, eax
mov dword [ebp - 0x10], edx
cmp edi, 0x20
jae 0x100bf40c
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x100bf986
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], eax
cmp edi, 0x20
jb 0x100bf3e2
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x100bf416
mov dword [eax + 4], edx
test dword [ebx + 0x10], 0x200
je 0x100bf44c
mov eax, edx
mov byte [ebp - 0x1c], dl
shr eax, 8
mov byte [ebp - 0x1b], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 0x1a], al
lea eax, [ebp - 0x1c]
push 4
shr edx, 0x18
push eax
mov byte [ebp - 0x19], dl
push dword [ebx + 0x18]
call fcn.100c092f
add esp, 0xc
mov dword [ebx + 0x18], eax
xor eax, eax
mov dword [ebx], 3
mov edx, eax
mov edi, eax
mov dword [ebp - 0x10], edx
push 0x10
pop eax
cmp edi, eax
jae 0x100bf48f
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x100bf986
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], eax
cmp edi, 0x10
jb 0x100bf465
mov edi, dword [ebx + 0x20]
mov ecx, edx
shr ecx, 8
test edi, edi
je 0x100bf4a7
movzx eax, dl
mov dword [edi + 8], eax
mov eax, dword [ebx + 0x20]
mov dword [eax + 0xc], ecx
test dword [ebx + 0x10], 0x200
je 0x100bf4ca
push 2
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x1c], dl
push eax
mov byte [ebp - 0x1b], cl
push dword [ebx + 0x18]
call fcn.100c092f
add esp, 0xc
mov dword [ebx + 0x18], eax
xor ecx, ecx
mov dword [ebx], 4
mov edx, ecx
mov edi, ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edi
jmp 0x100bf4e0
xor ecx, ecx
test dword [ebx + 0x10], 0x400
je 0x100bf55c
push 0x10
pop eax
cmp edi, eax
jae 0x100bf51d
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x100bf986
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], eax
cmp edi, 0x10
jb 0x100bf4f3
mov eax, dword [ebx + 0x20]
mov dword [ebx + 0x40], edx
test eax, eax
je 0x100bf52a
mov dword [eax + 0x14], edx
test dword [ebx + 0x10], 0x200
je 0x100bf550
mov byte [ebp - 0x1c], dl
lea eax, [ebp - 0x1c]
push 2
shr edx, 8
push eax
mov byte [ebp - 0x1b], dl
push dword [ebx + 0x18]
call fcn.100c092f
add esp, 0xc
mov dword [ebx + 0x18], eax
xor eax, eax
mov edi, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], edi
jmp 0x100bf566
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x100bf566
mov dword [eax + 0x10], ecx
mov dword [ebx], 5
mov eax, dword [ebx + 0x10]
test eax, 0x400
je 0x100bf61c
mov edx, dword [ebx + 0x40]
mov ecx, dword [ebp - 0xc]
cmp edx, ecx
cmovbe ecx, edx
mov dword [ebp - 0x38], ecx
test ecx, ecx
je 0x100bf611
cmp dword [ebx + 0x20], 0
mov esi, dword [ebp + 8]
je 0x100bf5e2
mov esi, dword [ebx + 0x20]
mov esi, dword [esi + 0x10]
test esi, esi
mov dword [ebp - 0x3c], esi
mov esi, dword [ebp + 8]
je 0x100bf5e2
mov eax, dword [ebx + 0x20]
mov esi, dword [eax + 0x14]
sub esi, edx
mov edx, dword [eax + 0x18]
mov eax, esi
mov dword [ebp - 0x30], esi
mov esi, dword [ebp + 8]
add eax, ecx
cmp eax, edx
mov eax, dword [ebp - 0x30]
jbe 0x100bf5c9
sub edx, eax
jmp 0x100bf5cb
mov edx, ecx
mov ecx, dword [ebp - 8]
add eax, dword [ebp - 0x3c]
push edx
push ecx
push eax
call fcn.10086230
mov eax, dword [ebx + 0x10]
add esp, 0xc
mov ecx, dword [ebp - 0x38]
test eax, 0x200
je 0x100bf5fb
push ecx
push dword [ebp - 8]
push dword [ebx + 0x18]
call fcn.100c092f
add esp, 0xc
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
add dword [ebp - 8], eax
sub ecx, eax
sub dword [ebx + 0x40], eax
mov edx, dword [ebx + 0x40]
mov dword [ebp - 0xc], ecx
jmp 0x100bf614
mov ecx, dword [ebp - 0xc]
test edx, edx
jne 0x100bf986
xor edx, edx
mov dword [ebx], 6
mov dword [ebx + 0x40], edx
jmp 0x100bf62b
xor edx, edx
test dword [ebx + 0x10], 0x800
je 0x100bf6bb
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x100bf986
mov eax, edx
mov esi, ecx
mov edx, dword [ebp - 8]
mov cl, byte [eax + edx]
inc eax
mov byte [ebp - 1], cl
mov ecx, dword [ebx + 0x20]
mov dword [ebp - 0x38], eax
test ecx, ecx
je 0x100bf67b
cmp dword [ecx + 0x1c], 0
je 0x100bf678
mov edx, dword [ebx + 0x40]
cmp edx, dword [ecx + 0x20]
jae 0x100bf678
mov ecx, dword [ecx + 0x1c]
mov al, byte [ebp - 1]
mov byte [ecx + edx], al
inc dword [ebx + 0x40]
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 8]
cmp byte [ebp - 1], 0
je 0x100bf685
cmp eax, esi
jb 0x100bf64a
test dword [ebx + 0x10], 0x200
mov esi, dword [ebp + 8]
je 0x100bf6a4
push eax
push edx
push dword [ebx + 0x18]
call fcn.100c092f
mov dword [ebx + 0x18], eax
add esp, 0xc
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
add dword [ebp - 8], eax
sub ecx, eax
cmp byte [ebp - 1], 0
mov dword [ebp - 0xc], ecx
jne 0x100bf986
jmp 0x100bf6c5
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x100bf6c5
mov dword [eax + 0x1c], edx
xor edx, edx
mov dword [ebx], 7
mov dword [ebx + 0x40], edx
jmp 0x100bf6d4
xor edx, edx
test dword [ebx + 0x10], 0x1000
je 0x100bf764
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x100bf986
mov eax, edx
mov esi, ecx
mov edx, dword [ebp - 8]
mov cl, byte [eax + edx]
inc eax
mov byte [ebp - 1], cl
mov ecx, dword [ebx + 0x20]
mov dword [ebp - 0x38], eax
test ecx, ecx
je 0x100bf724
cmp dword [ecx + 0x24], 0
je 0x100bf721
mov edx, dword [ebx + 0x40]
cmp edx, dword [ecx + 0x28]
jae 0x100bf721
mov ecx, dword [ecx + 0x24]
mov al, byte [ebp - 1]
mov byte [edx + ecx], al
inc dword [ebx + 0x40]
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 8]
cmp byte [ebp - 1], 0
je 0x100bf72e
cmp eax, esi
jb 0x100bf6f3
test dword [ebx + 0x10], 0x200
mov esi, dword [ebp + 8]
je 0x100bf74d
push eax
push edx
push dword [ebx + 0x18]
call fcn.100c092f
mov dword [ebx + 0x18], eax
add esp, 0xc
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
add dword [ebp - 8], eax
sub ecx, eax
cmp byte [ebp - 1], 0
mov dword [ebp - 0xc], ecx
jne 0x100bf986
jmp 0x100bf76e
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x100bf76e
mov dword [eax + 0x24], edx
mov edx, dword [ebp - 0x10]
mov dword [ebx], 8
mov eax, dword [ebx + 0x10]
test eax, 0x200
je 0x100bf7db
push 0x10
pop eax
cmp edi, eax
jae 0x100bf7b8
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x100bf986
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], eax
cmp edi, 0x10
jb 0x100bf78b
movzx eax, word [ebx + 0x18]
cmp edx, eax
je 0x100bf7cc
mov dword [esi + 0x18], str.header_crc_mismatch
jmp 0x100c0501
mov eax, dword [ebx + 0x10]
xor edx, edx
mov edi, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edi
jmp 0x100bf7dd
xor edx, edx
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x100bf7f7
sar eax, 9
and eax, 1
mov dword [ecx + 0x2c], eax
mov eax, dword [ebx + 0x20]
mov dword [eax + 0x30], 1
push edx
push edx
push edx
call fcn.100c092f
mov edx, dword [ebp - 0x10]
add esp, 0xc
mov dword [ebx + 0x18], eax
mov dword [esi + 0x30], eax
mov dword [ebx], 0xb
jmp 0x100c0507
cmp edi, 0x20
jae 0x100bf848
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x100bf986
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], eax
cmp edi, 0x20
jb 0x100bf81e
mov ecx, edx
mov edi, 0xff00
mov eax, edx
and ecx, edi
shl eax, 0x10
add ecx, eax
mov eax, edx
shr eax, 8
and eax, edi
shl ecx, 8
shr edx, 0x18
add eax, ecx
add eax, edx
mov dword [ebx + 0x18], eax
mov dword [esi + 0x30], eax
xor eax, eax
mov edx, eax
mov dword [ebx], 0xa
mov dword [ebp - 0x10], edx
mov edi, eax
jmp 0x100bf882
xor eax, eax
cmp dword [ebx + 0xc], eax
je 0x100c051c
push eax
push eax
push eax
call fcn.100c2446
mov edx, dword [ebp - 0x10]
add esp, 0xc
mov dword [ebx + 0x18], eax
mov dword [esi + 0x30], eax
mov dword [ebx], 0xb
cmp dword [ebp + 0xc], 5
je 0x100bf983
cmp dword [ebp + 0xc], 6
je 0x100bf983
cmp dword [ebx + 4], 0
je 0x100bf8d9
mov ecx, edi
mov dword [ebx], 0x1a
and ecx, 7
shr edx, cl
sub edi, ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edi
jmp 0x100c0507
cmp edi, 3
jae 0x100bf90b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x100bf986
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], eax
cmp edi, 3
jb 0x100bf8e1
mov eax, edx
shr edx, 1
and eax, 1
mov dword [ebx + 4], eax
mov eax, edx
and eax, 3
sub eax, 0
je 0x100bf9e0
sub eax, 1
je 0x100bf952
sub eax, 1
je 0x100bf948
sub eax, 1
jne 0x100bf9e6
mov dword [esi + 0x18], str.invalid_block_type
mov dword [ebx], 0x1d
jmp 0x100bf9e6
push 0x10
pop eax
mov dword [ebx], eax
jmp 0x100bf9e6
cmp dword [ebp + 0xc], 6
mov dword [ebx + 0x4c], 0x100ea8d0
mov dword [ebx + 0x54], 9
mov dword [ebx + 0x50], 0x100eb0d0
mov dword [ebx + 0x58], 5
mov dword [ebx], 0x13
jne 0x100bf9e6
shr edx, 2
sub edi, 3
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp - 0xc]
mov esi, dword [ebp + 8]
xor edx, edx
mov eax, dword [ebp - 0x20]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 8]
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0x10]
mov dword [esi], eax
mov dword [ebx + 0x3c], edi
mov edi, dword [ebp - 0x24]
mov dword [ebx + 0x38], ecx
cmp dword [ebx + 0x28], edx
jne 0x100bf9c2
cmp dword [ebx], 0x1a
jge 0x100c0562
cmp edi, dword [esi + 0x10]
je 0x100c0562
push edi
push esi
call fcn.100c0850
pop ecx
pop ecx
test eax, eax
je 0x100c0560
mov dword [ebx], 0x1e
push 0xfffffffffffffffc
jmp 0x100c0516
mov dword [ebx], 0xd
shr edx, 2
sub edi, 3
jmp 0x100bf313
mov ecx, edi
and ecx, 7
sub edi, ecx
shr edx, cl
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edi
cmp edi, 0x20
jae 0x100bfa35
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x100bf986
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], eax
cmp edi, 0x20
jb 0x100bfa08
mov eax, edx
movzx ecx, dx
not eax
shr eax, 0x10
cmp ecx, eax
je 0x100bfa4f
mov dword [esi + 0x18], str.invalid_stored_block_lengths
jmp 0x100c0501
xor eax, eax
mov dword [ebx + 0x40], ecx
cmp dword [ebp + 0xc], 6
mov edx, eax
mov edi, eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edi
mov dword [ebx], 0xe
je 0x100bf983
mov dword [ebx], 0xf
mov ecx, dword [ebx + 0x40]
test ecx, ecx
je 0x100bfabd
mov eax, dword [ebp - 0xc]
cmp ecx, eax
mov esi, dword [ebp - 0x18]
cmovbe eax, ecx
cmp eax, esi
cmovbe esi, eax
test esi, esi
je 0x100bf983
mov ecx, dword [ebp - 0x20]
push esi
push dword [ebp - 8]
push ecx
call fcn.10086230
sub dword [ebp - 0xc], esi
add esp, 0xc
add dword [ebp - 8], esi
sub dword [ebp - 0x18], esi
add dword [ebp - 0x20], esi
sub dword [ebx + 0x40], esi
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp + 8]
jmp 0x100c0507
mov dword [ebx], 0xb
jmp 0x100c0507
cmp edi, 0xe
jae 0x100bfafa
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x100bf986
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], eax
cmp edi, 0xe
jb 0x100bfad0
mov eax, edx
sub edi, 0xe
shr edx, 5
push 0x1f
pop ecx
and ecx, eax
mov dword [ebp - 0x14], edi
mov eax, edx
add ecx, 0x101
and eax, 0x1f
shr edx, 5
inc eax
mov dword [ebx + 0x60], ecx
mov dword [ebp - 0x3c], eax
mov dword [ebx + 0x64], eax
mov eax, edx
and eax, 0xf
shr edx, 4
add eax, 4
mov dword [ebp - 0x10], edx
mov dword [ebx + 0x5c], eax
cmp ecx, 0x11e
ja 0x100bfb4c
cmp dword [ebp - 0x3c], 0x1e
ja 0x100bfb4c
and dword [ebx + 0x68], 0
push 0x11
pop eax
mov dword [ebx], eax
jmp case.0x100bf1e1.17
mov dword [esi + 0x18], str.too_many_length_or_distance_symbols
jmp 0x100c0501
cmp edi, 3
jae 0x100bfb8a
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x100bf986
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], eax
cmp edi, 3
jb 0x100bfb60
mov eax, dword [ebx + 0x68]
mov ecx, edx
and ecx, 7
shr edx, 3
mov dword [ebp - 0x10], edx
movzx eax, word [eax*2 + 0x100eb150]
mov word [ebx + eax*2 + 0x70], cx
inc dword [ebx + 0x68]
sub edi, 3
mov dword [ebp - 0x14], edi
mov eax, dword [ebx + 0x68]
cmp eax, dword [ebx + 0x5c]
jb 0x100bfb58
cmp eax, 0x13
jae 0x100bfbd6
mov eax, dword [ebx + 0x68]
xor ecx, ecx
movzx eax, word [eax*2 + 0x100eb150]
mov word [ebx + eax*2 + 0x70], cx
inc dword [ebx + 0x68]
cmp dword [ebx + 0x68], 0x13
jb 0x100bfbbb
lea eax, [ebx + 0x530]
lea edx, [ebx + 0x6c]
mov dword [ebx + 0x4c], eax
mov dword [edx], eax
lea ecx, [ebx + 0x54]
lea eax, [ebx + 0x2f0]
mov dword [ecx], 7
push eax
push ecx
push edx
push 0x13
lea eax, [ebx + 0x70]
push eax
push 0
call fcn.100c26a8
mov edx, dword [ebp - 0x10]
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x28], ecx
test ecx, ecx
je 0x100bfc1e
mov dword [esi + 0x18], str.invalid_code_lengths_set
jmp 0x100c0501
and dword [ebx + 0x68], 0
push 0x12
pop eax
mov dword [ebx], eax
mov ecx, eax
mov eax, dword [ebx + 0x64]
add eax, dword [ebx + 0x60]
cmp dword [ebx + 0x68], eax
jae 0x100bfe5b
mov ecx, dword [ebx + 0x54]
xor eax, eax
lea esi, [eax + 1]
shl esi, cl
jmp 0x100bfc68
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x100bf986
mov eax, dword [ebp - 8]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
mov dword [ebp - 0x10], edx
add edi, 8
mov ecx, dword [ebx + 0x4c]
lea eax, [esi - 1]
and eax, edx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0x30], eax
cmp ecx, edi
ja 0x100bfc44
mov ecx, eax
push 0x10
shr ecx, 0x10
pop esi
cmp cx, si
jae 0x100bfce8
mov ecx, eax
shr ecx, 8
movzx esi, cl
cmp edi, esi
jae 0x100bfcc4
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x100bf986
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx]
mov ecx, edi
shl edx, cl
add edi, 8
add dword [ebp - 0x10], edx
inc dword [ebp - 8]
cmp edi, esi
jb 0x100bfc9b
mov edx, dword [ebp - 0x10]
movzx ecx, ah
mov ax, word [ebp - 0x2e]
sub edi, ecx
shr edx, cl
mov ecx, dword [ebx + 0x68]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edi
mov word [ebx + ecx*2 + 0x70], ax
inc dword [ebx + 0x68]
mov ecx, dword [ebx + 0x68]
jmp 0x100bfe28
cmp word [ebp - 0x2e], si
jne 0x100bfd50
movzx esi, ah
jmp 0x100bfd17
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x100bf986
mov eax, dword [ebp - 8]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
mov dword [ebp - 0x10], edx
add edi, 8
lea eax, [esi + 2]
cmp edi, eax
jb 0x100bfcf3
mov eax, dword [ebx + 0x68]
mov ecx, esi
shr edx, cl
sub edi, esi
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edi
test eax, eax
je 0x100bfe3d
movzx eax, word [ebx + eax*2 + 0x6e]
mov esi, edx
and esi, 3
shr edx, 2
add esi, 3
mov dword [ebp - 0x30], eax
sub edi, 2
jmp 0x100bfdf7
push 0x11
pop ecx
cmp word [ebp - 0x2e], cx
movzx ecx, ah
jne 0x100bfda6
lea esi, [ecx + 3]
mov dword [ebp - 0x3c], ecx
cmp edi, esi
jae 0x100bfd95
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x100bf986
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], eax
cmp edi, esi
jb 0x100bfd69
mov ecx, dword [ebp - 0x3c]
shr edx, cl
mov esi, edx
and esi, 7
add esi, 3
shr edx, 3
push 0xfffffffffffffffd
jmp 0x100bfdee
lea esi, [ecx + 7]
mov dword [ebp - 0x3c], ecx
cmp edi, esi
jae 0x100bfddf
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x100bf986
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], eax
cmp edi, esi
jb 0x100bfdb3
mov ecx, dword [ebp - 0x3c]
shr edx, cl
mov esi, edx
and esi, 0x7f
add esi, 0xb
shr edx, 7
push 0xfffffffffffffff9
pop eax
sub eax, ecx
add edi, eax
and dword [ebp - 0x30], 0
mov ecx, dword [ebx + 0x68]
mov eax, dword [ebx + 0x64]
add ecx, esi
add eax, dword [ebx + 0x60]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edi
cmp ecx, eax
ja 0x100bfe4c
mov edx, dword [ebp - 0x30]
mov eax, dword [ebx + 0x68]
mov word [ebx + eax*2 + 0x70], dx
mov ecx, dword [ebx + 0x68]
lea ecx, [ecx + 1]
mov dword [ebx + 0x68], ecx
sub esi, 1
jne 0x100bfe0f
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x64]
add eax, dword [ebx + 0x60]
cmp ecx, eax
jb 0x100bfc38
mov ecx, dword [ebx]
mov esi, dword [ebp + 8]
jmp 0x100bfe5b
mov esi, dword [ebp + 8]
mov dword [esi + 0x18], str.invalid_bit_length_repeat
jmp 0x100c0501
mov esi, dword [ebp + 8]
push 0x1d
pop ecx
mov dword [esi + 0x18], str.invalid_bit_length_repeat
mov dword [ebx], ecx
cmp ecx, 0x1d
je 0x100c0507
xor eax, eax
cmp word [ebx + 0x270], ax
jne 0x100bfe7b
mov dword [esi + 0x18], str.invalid_code____missing_end_of_block
jmp 0x100c0501
lea eax, [ebx + 0x530]
lea ecx, [ebx + 0x6c]
mov dword [ebx + 0x4c], eax
mov dword [ecx], eax
lea edx, [ebx + 0x2f0]
push edx
lea eax, [ebx + 0x54]
push eax
push ecx
push dword [ebx + 0x60]
mov dword [eax], 9
lea eax, [ebx + 0x70]
push eax
push 1
call fcn.100c26a8
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x28], ecx
test ecx, ecx
je 0x100bfec4
mov dword [esi + 0x18], str.invalid_literal_lengths_set
mov edx, dword [ebp - 0x10]
jmp 0x100c0501
lea ecx, [ebx + 0x6c]
mov eax, dword [ecx]
lea edx, [ebx + 0x2f0]
mov dword [ebx + 0x50], eax
lea eax, [ebx + 0x58]
push edx
push eax
mov dword [eax], 6
mov eax, dword [ebx + 0x60]
push ecx
push dword [ebx + 0x64]
add eax, 0x38
lea eax, [ebx + eax*2]
push eax
push 2
call fcn.100c26a8
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x28], ecx
test ecx, ecx
je 0x100bff07
mov dword [esi + 0x18], str.invalid_distances_set
jmp 0x100bfebc
cmp dword [ebp + 0xc], 6
mov dword [ebx], 0x13
je 0x100bf983
mov edx, dword [ebp - 0x10]
mov dword [ebx], 0x14
mov eax, dword [ebp - 0xc]
cmp eax, 6
jb 0x100bff8e
cmp dword [ebp - 0x18], 0x102
jb 0x100bff8e
mov ecx, dword [ebp - 0x20]
push dword [ebp - 0x24]
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp - 0x18]
mov dword [esi + 0x10], ecx
mov ecx, dword [ebp - 8]
mov dword [esi], ecx
mov dword [esi + 4], eax
push esi
mov dword [ebx + 0x38], edx
mov dword [ebx + 0x3c], edi
call fcn.100c2afa
cmp dword [ebx], 0xb
mov eax, dword [esi + 0xc]
mov edx, dword [ebx + 0x38]
mov edi, dword [ebx + 0x3c]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
pop ecx
mov dword [ebp - 8], eax
mov eax, dword [esi + 4]
pop ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edi
jne 0x100c0507
or dword [ebx + 0x1bc4], 0xffffffff
jmp 0x100c0507
mov ecx, dword [ebx + 0x54]
xor eax, eax
and dword [ebx + 0x1bc4], 0
lea esi, [eax + 1]
shl esi, cl
mov ecx, dword [ebx + 0x4c]
mov dword [ebp - 0x38], ecx
jmp 0x100bffd1
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x100bf986
mov eax, dword [ebp - 8]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
movzx eax, byte [eax]
shl eax, cl
mov ecx, dword [ebx + 0x4c]
add edx, eax
inc dword [ebp - 8]
add edi, 8
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edi
lea eax, [esi - 1]
and eax, edx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
ja 0x100bffa7
test al, al
je 0x100c00a2
test al, 0xf0
jne 0x100c00a2
xor edi, edi
movzx ecx, al
mov ebx, eax
inc edi
shr ebx, 8
mov edx, eax
movzx esi, bl
add ecx, esi
shr eax, 0x10
shl edi, cl
mov ecx, esi
dec edi
mov dword [ebp - 0x30], edx
and edi, dword [ebp - 0x10]
shr edi, cl
mov ecx, dword [ebp - 0x38]
add edi, eax
mov eax, dword [ecx + edi*4]
mov ecx, eax
mov edi, dword [ebp - 0x14]
shr ecx, 8
movzx esi, cl
movzx ecx, bl
add esi, ecx
cmp esi, edi
jbe 0x100c008f
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x100c0558
mov esi, dword [ebp - 8]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
add edi, 8
mov dword [ebp - 0x14], edi
movzx eax, byte [esi]
shl eax, cl
add ebx, eax
movzx edi, dh
movzx eax, word [ebp - 0x2e]
inc esi
mov dword [ebp - 8], esi
xor esi, esi
inc esi
movzx ecx, dl
add ecx, edi
mov dword [ebp - 0x10], ebx
shl esi, cl
mov ecx, edi
dec esi
and esi, ebx
shr esi, cl
add esi, eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + esi*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, edi
mov edi, dword [ebp - 0x14]
cmp ecx, edi
ja 0x100c0036
mov ebx, dword [ebp - 0x2c]
movzx ecx, dh
mov edx, dword [ebp - 0x10]
shr edx, cl
sub edi, ecx
mov dword [ebx + 0x1bc4], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [ebx + 0x1bc4], ecx
sub edi, ecx
shr edx, cl
mov ecx, eax
shr ecx, 0x10
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edi
mov dword [ebx + 0x40], ecx
test al, al
jne 0x100c00d1
mov dword [ebx], 0x19
jmp 0x100bfab5
test al, 0x20
je 0x100c00e7
or dword [ebx + 0x1bc4], 0xffffffff
mov dword [ebx], 0xb
jmp 0x100bfab5
test al, 0x40
je 0x100c00fa
mov esi, dword [ebp + 8]
mov dword [esi + 0x18], str.invalid_literal_length_code
jmp 0x100c0501
movzx eax, al
and eax, 0xf
mov dword [ebx], 0x15
mov dword [ebx + 0x48], eax
mov esi, dword [ebx + 0x48]
test esi, esi
je 0x100c015d
cmp edi, esi
jae 0x100c0140
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x100bf986
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], eax
cmp edi, esi
jb 0x100c0117
xor eax, eax
mov ecx, esi
inc eax
sub edi, esi
shl eax, cl
dec eax
mov dword [ebp - 0x14], edi
and eax, edx
shr edx, cl
add dword [ebx + 0x40], eax
add dword [ebx + 0x1bc4], esi
mov dword [ebp - 0x10], edx
mov eax, dword [ebx + 0x40]
mov dword [ebx + 0x1bc8], eax
mov dword [ebx], 0x16
mov ecx, dword [ebx + 0x58]
xor eax, eax
lea esi, [eax + 1]
shl esi, cl
mov ecx, dword [ebx + 0x50]
mov dword [ebp - 0x38], ecx
jmp 0x100c01a8
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x100bf986
mov eax, dword [ebp - 8]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
movzx eax, byte [eax]
shl eax, cl
mov ecx, dword [ebx + 0x50]
add edx, eax
inc dword [ebp - 8]
add edi, 8
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edi
lea eax, [esi - 1]
and eax, edx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
ja 0x100c017e
test al, 0xf0
jne 0x100c0271
xor edi, edi
movzx ecx, al
mov ebx, eax
inc edi
shr ebx, 8
mov edx, eax
movzx esi, bl
add ecx, esi
shr eax, 0x10
shl edi, cl
mov ecx, esi
dec edi
mov dword [ebp - 0x30], edx
and edi, dword [ebp - 0x10]
shr edi, cl
mov ecx, dword [ebp - 0x38]
add edi, eax
mov eax, dword [ecx + edi*4]
mov ecx, eax
mov edi, dword [ebp - 0x14]
shr ecx, 8
movzx esi, cl
movzx ecx, bl
add esi, ecx
cmp esi, edi
jbe 0x100c025e
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x100c0558
mov esi, dword [ebp - 8]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
add edi, 8
mov dword [ebp - 0x14], edi
movzx eax, byte [esi]
shl eax, cl
add ebx, eax
movzx edi, dh
movzx eax, word [ebp - 0x2e]
inc esi
mov dword [ebp - 8], esi
xor esi, esi
inc esi
movzx ecx, dl
add ecx, edi
mov dword [ebp - 0x10], ebx
shl esi, cl
mov ecx, edi
dec esi
and esi, ebx
shr esi, cl
add esi, eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + esi*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, edi
mov edi, dword [ebp - 0x14]
cmp ecx, edi
ja 0x100c0205
mov ebx, dword [ebp - 0x2c]
movzx ecx, dh
mov edx, dword [ebp - 0x10]
sub edi, ecx
shr edx, cl
add dword [ebx + 0x1bc4], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [ebx + 0x1bc4], ecx
sub edi, ecx
shr edx, cl
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edi
test al, 0x40
je 0x100c029c
mov esi, dword [ebp + 8]
mov dword [esi + 0x18], str.invalid_distance_code
jmp 0x100c0501
mov ecx, eax
mov dword [ebx], 0x17
shr ecx, 0x10
movzx eax, al
and eax, 0xf
mov dword [ebx + 0x44], ecx
mov dword [ebx + 0x48], eax
mov esi, dword [ebx + 0x48]
test esi, esi
je 0x100c0307
cmp edi, esi
jae 0x100c02ea
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x100bf986
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], eax
cmp edi, esi
jb 0x100c02c1
xor eax, eax
mov ecx, esi
inc eax
sub edi, esi
shl eax, cl
dec eax
mov dword [ebp - 0x14], edi
and eax, edx
shr edx, cl
add dword [ebx + 0x44], eax
add dword [ebx + 0x1bc4], esi
mov dword [ebp - 0x10], edx
mov esi, dword [ebp + 8]
mov dword [ebx], 0x18
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x100bf983
mov ecx, dword [ebp - 0x24]
sub ecx, eax
mov eax, dword [ebx + 0x44]
cmp eax, ecx
jbe 0x100c0373
sub eax, ecx
cmp eax, dword [ebx + 0x2c]
jbe 0x100c0343
cmp dword [ebx + 0x1bc0], 0
je 0x100c0343
mov dword [esi + 0x18], str.invalid_distance_too_far_back
jmp 0x100c0501
cmp eax, dword [ebx + 0x30]
jbe 0x100c0355
sub eax, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x28]
sub ecx, eax
add ecx, dword [ebx + 0x34]
jmp 0x100c035d
mov ecx, dword [ebx + 0x34]
sub ecx, eax
add ecx, dword [ebx + 0x30]
mov esi, dword [ebx + 0x40]
cmp eax, esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x30], esi
cmovbe esi, eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x30], esi
jmp 0x100c037e
mov ecx, dword [ebp - 0x20]
sub ecx, eax
mov eax, dword [ebx + 0x40]
mov dword [ebp - 0x30], eax
mov esi, dword [ebp - 0x18]
mov ebx, esi
cmp dword [ebp - 0x30], ebx
cmovbe esi, dword [ebp - 0x30]
sub ebx, esi
sub eax, esi
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x2c]
mov dword [ebx + 0x40], eax
mov ebx, dword [ebp - 0x20]
sub ecx, ebx
mov al, byte [ecx + ebx]
mov byte [ebx], al
inc ebx
sub esi, 1
jne 0x100c039c
mov esi, dword [ebp + 8]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x2c]
cmp dword [ebx + 0x40], 0
jne 0x100c0507
mov dword [ebx], 0x14
jmp 0x100c0507
cmp dword [ebp - 0x18], 0
je 0x100bf983
mov ecx, dword [ebp - 0x20]
mov al, byte [ebx + 0x40]
mov byte [ecx], al
inc ecx
dec dword [ebp - 0x18]
mov dword [ebp - 0x20], ecx
jmp 0x100c03ba
cmp dword [ebx + 8], 0
je 0x100c04a4
cmp edi, 0x20
jae 0x100c041f
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x100bf986
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], eax
cmp edi, 0x20
jb 0x100c03f2
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x18]
sub ecx, eax
add dword [esi + 0x14], ecx
add dword [ebx + 0x1c], ecx
test ecx, ecx
je 0x100c045c
mov eax, dword [ebp - 0x20]
sub eax, ecx
cmp dword [ebx + 0x10], 0
push ecx
push eax
push dword [ebx + 0x18]
je 0x100c0448
call fcn.100c092f
jmp 0x100c044d
call fcn.100c2446
mov edx, dword [ebp - 0x10]
add esp, 0xc
mov dword [ebx + 0x18], eax
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov ecx, edx
and ecx, 0xff00
mov eax, edx
shl eax, 0x10
add ecx, eax
mov eax, edx
shr eax, 8
and eax, 0xff00
shl ecx, 8
add ecx, eax
mov eax, edx
shr eax, 0x18
add ecx, eax
xor eax, eax
cmp dword [ebx + 0x10], eax
cmovne ecx, edx
cmp ecx, dword [ebx + 0x18]
je 0x100c049a
mov dword [esi + 0x18], str.incorrect_data_check
jmp 0x100c0501
mov edx, eax
mov edi, eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edi
mov dword [ebx], 0x1b
xor eax, eax
cmp dword [ebx + 8], eax
je 0x100c0542
cmp dword [ebx + 0x10], eax
je 0x100c0542
cmp edi, 0x20
jae 0x100c04f5
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x100bf986
movzx eax, byte [eax]
dec ecx
mov dword [ebp - 0xc], ecx
mov ecx, edi
shl eax, cl
add edi, 8
add edx, eax
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], eax
cmp edi, 0x20
jb 0x100c04c6
xor eax, eax
cmp edx, dword [ebx + 0x1c]
je 0x100c053d
mov dword [esi + 0x18], str.incorrect_length_check
mov dword [ebx], 0x1d
mov ecx, dword [ebx]
mov eax, ecx
cmp eax, 0x1e
jbe switch.0x100bf1e1
push 0xfffffffffffffffe
pop eax
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [ebp - 0x20]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 8]
mov dword [esi], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 4], eax
mov dword [ebx + 0x38], edx
mov dword [ebx + 0x3c], edi
push 2
jmp 0x100c0516
mov dword [ebp - 0x10], eax
mov edi, eax
mov dword [ebx], 0x1c
xor ecx, ecx
inc ecx
mov dword [ebp - 0x28], ecx
jmp 0x100bf983
push 0xfffffffffffffffd
pop ecx
jmp 0x100c054b
mov ebx, dword [ebp - 0x2c]
jmp 0x100bf986
xor edx, edx
mov eax, dword [ebp - 0x34]
sub eax, dword [esi + 4]
sub edi, dword [esi + 0x10]
add dword [esi + 8], eax
add dword [esi + 0x14], edi
add dword [ebx + 0x1c], edi
mov dword [ebp - 0x34], eax
cmp dword [ebx + 8], edx
je 0x100c05a6
test edi, edi
je 0x100c05a6
mov eax, dword [esi + 0xc]
sub eax, edi
push edi
push eax
push dword [ebx + 0x18]
cmp dword [ebx + 0x10], edx
je 0x100c0596
call fcn.100c092f
jmp 0x100c059b
call fcn.100c2446
add esp, 0xc
mov dword [ebx + 0x18], eax
mov dword [esi + 0x30], eax
xor edx, edx
cmp dword [ebx], 0x13
je 0x100c05b0
cmp dword [ebx], 0xe
jne 0x100c05b5
mov edx, 0x100
mov ecx, dword [ebx + 4]
neg ecx
mov dword [ebp + 8], 0x80
sbb ecx, ecx
xor eax, eax
and ecx, 0x40
cmp dword [ebx], 0xb
cmove eax, dword [ebp + 8]
add ecx, eax
add ecx, dword [ebx + 0x3c]
add ecx, edx
cmp dword [ebp - 0x34], 0
mov dword [esi + 0x2c], ecx
jne 0x100c05e3
test edi, edi
je 0x100c05e9
cmp dword [ebp + 0xc], 4
jne 0x100c05f9
mov eax, dword [ebp - 0x28]
test eax, eax
push 0xfffffffffffffffb
pop ecx
cmove eax, ecx
jmp 0x100c0517
mov eax, dword [ebp - 0x28]
jmp 0x100c0517