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

Disassembly:
sub esp, 0x3c
mov dword [esp + 0x34], edx
mov dword [esp + 4], ecx
push edi
test ecx, ecx
je 0x1027cdf8
mov edi, dword [ecx + 0x1c]
mov dword [esp + 0x1c], edi
test edi, edi
je 0x1027cdf8
cmp dword [ecx + 0xc], 0
je 0x1027cdf8
cmp dword [ecx], 0
jne 0x1027b84c
cmp dword [ecx + 4], 0
jne 0x1027cdf8
cmp dword [edi], 0xb
jne 0x1027b857
mov dword [edi], 0xc
mov eax, dword [ecx + 0xc]
mov edx, dword [edi + 0x38]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 0x10]
push ebx
mov ebx, dword [ecx]
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], eax
xor eax, eax
push ebp
mov ebp, dword [ecx + 4]
mov dword [esp + 0x2c], eax
mov eax, dword [edi]
mov dword [esp + 0x14], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x44], ebp
push esi
mov esi, dword [edi + 0x3c]
cmp eax, 0x1e
ja case.default.0x1027b8a0
lea ebx, [edi + 0x54]
mov dword [esp + 0x40], ebx
mov ebx, dword [esp + 0x18]
nop
jmp dword [eax*4 + 0x1027ce04]
mov eax, dword [edi + 8]
test eax, eax
jne 0x1027b8b9
mov dword [edi], 0xc
jmp 0x1027c129
cmp esi, 0x10
jae 0x1027b8ea
mov edi, edi
test ebp, ebp
je 0x1027ccc0
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add edx, eax
mov dword [esp + 0x18], ebx
add esi, 8
mov dword [esp + 0x10], edx
dec ebp
cmp esi, 0x10
jb 0x1027b8c0
mov eax, dword [edi + 8]
mov ecx, dword [esp + 0x14]
test al, 2
je 0x1027b931
cmp edx, 0x8b1f
jne 0x1027b931
push 0
xor edx, edx
xor ecx, ecx
call fcn.1021d250
push 2
lea edx, [esp + 0x24]
mov dword [edi + 0x18], eax
mov ecx, eax
mov word [esp + 0x24], 0x8b1f
call fcn.1021d260
xor edx, edx
mov dword [edi + 0x18], eax
add esp, 8
mov dword [esp + 0x10], edx
xor esi, esi
mov dword [edi], 1
jmp 0x1027c125
mov eax, dword [edi + 0x20]
mov dword [edi + 0x10], 0
test eax, eax
je 0x1027b946
mov dword [eax + 0x30], 0xffffffff
test byte [edi + 8], 1
je 0x1027ba0a
movzx ecx, dl
mov eax, edx
shl ecx, 8
xor edx, edx
shr eax, 8
add eax, ecx
mov ecx, 0x1f
div ecx
test edx, edx
mov edx, dword [esp + 0x10]
jne 0x1027ba06
mov eax, edx
and al, 0xf
cmp al, 8
je 0x1027b990
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x18], str.unknown_compression_method
mov dword [edi], 0x1d
jmp 0x1027c129
mov eax, dword [edi + 0x24]
sub esi, 4
shr edx, 4
mov ecx, edx
mov dword [esp + 0x10], edx
and ecx, 0xf
add ecx, 8
test eax, eax
jne 0x1027b9ec
mov dword [edi + 0x24], ecx
mov eax, 1
xor edx, edx
shl eax, cl
xor ecx, ecx
push 0
mov dword [edi + 0x14], eax
call fcn.10268570
mov edx, dword [esp + 0x14]
add esp, 4
mov ecx, dword [esp + 0x14]
shr edx, 8
not edx
mov dword [edi + 0x18], eax
and edx, 2
or edx, 9
mov dword [ecx + 0x30], eax
mov dword [edi], edx
xor edx, edx
mov dword [esp + 0x10], edx
xor esi, esi
jmp 0x1027c129
cmp ecx, eax
jbe 0x1027b9ac
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x18], str.invalid_window_size
mov dword [edi], 0x1d
jmp 0x1027c129
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x18], str.incorrect_header_check
mov dword [edi], 0x1d
jmp 0x1027c129
cmp esi, 0x10
jae 0x1027ba48
test ebp, ebp
je 0x1027ccc0
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add edx, eax
mov dword [esp + 0x18], ebx
add esi, 8
mov dword [esp + 0x10], edx
dec ebp
cmp esi, 0x10
jb 0x1027ba21
mov ecx, dword [esp + 0x14]
mov dword [edi + 0x10], edx
cmp dl, 8
je 0x1027ba62
mov dword [ecx + 0x18], str.unknown_compression_method
mov dword [edi], 0x1d
jmp 0x1027c129
test edx, 0xe000
je 0x1027ba7c
mov dword [ecx + 0x18], str.unknown_header_flags_set
mov dword [edi], 0x1d
jmp 0x1027c129
mov ecx, dword [edi + 0x20]
test ecx, ecx
je 0x1027ba8d
mov eax, edx
shr eax, 8
and eax, 1
mov dword [ecx], eax
test dword [edi + 0x10], 0x200
je 0x1027bab5
mov ecx, dword [edi + 0x18]
mov byte [esp + 0x1c], dl
shr edx, 8
mov byte [esp + 0x1d], dl
lea edx, [esp + 0x1c]
push 2
call fcn.1021d260
add esp, 4
mov dword [edi + 0x18], eax
xor edx, edx
mov dword [edi], 2
mov dword [esp + 0x10], edx
xor esi, esi
jmp 0x1027bad0
cmp esi, 0x20
jae 0x1027baf3
lea ebx, [ebx]
test ebp, ebp
je 0x1027ccc0
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add edx, eax
mov dword [esp + 0x18], ebx
add esi, 8
mov dword [esp + 0x10], edx
dec ebp
cmp esi, 0x20
jb 0x1027bad0
mov eax, dword [edi + 0x20]
test eax, eax
je 0x1027bafd
mov dword [eax + 4], edx
test dword [edi + 0x10], 0x200
je 0x1027bb37
mov ecx, dword [edi + 0x18]
mov eax, edx
shr eax, 8
mov byte [esp + 0x1d], al
mov eax, edx
mov byte [esp + 0x1c], dl
shr edx, 0x18
shr eax, 0x10
mov byte [esp + 0x1f], dl
lea edx, [esp + 0x1c]
push 4
mov byte [esp + 0x22], al
call fcn.1021d260
add esp, 4
mov dword [edi + 0x18], eax
xor edx, edx
mov dword [edi], 3
mov dword [esp + 0x10], edx
xor esi, esi
jmp 0x1027bb50
cmp esi, 0x10
jae 0x1027bb73
lea esp, [esp]
test ebp, ebp
je 0x1027ccc0
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add edx, eax
mov dword [esp + 0x18], ebx
add esi, 8
mov dword [esp + 0x10], edx
dec ebp
cmp esi, 0x10
jb 0x1027bb50
mov ecx, dword [edi + 0x20]
test ecx, ecx
je 0x1027bb8b
movzx eax, dl
mov dword [ecx + 8], eax
mov ecx, edx
mov eax, dword [edi + 0x20]
shr ecx, 8
mov dword [eax + 0xc], ecx
test dword [edi + 0x10], 0x200
je 0x1027bbb3
mov ecx, dword [edi + 0x18]
mov byte [esp + 0x1c], dl
shr edx, 8
mov byte [esp + 0x1d], dl
lea edx, [esp + 0x1c]
push 2
call fcn.1021d260
add esp, 4
mov dword [edi + 0x18], eax
xor edx, edx
mov dword [edi], 4
mov dword [esp + 0x10], edx
xor esi, esi
test dword [edi + 0x10], 0x400
je 0x1027bc32
cmp esi, 0x10
jae 0x1027bbf3
nop
test ebp, ebp
je 0x1027ccc0
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add edx, eax
mov dword [esp + 0x18], ebx
add esi, 8
mov dword [esp + 0x10], edx
dec ebp
cmp esi, 0x10
jb 0x1027bbd0
mov eax, dword [edi + 0x20]
mov dword [edi + 0x40], edx
test eax, eax
je 0x1027bc00
mov dword [eax + 0x14], edx
test dword [edi + 0x10], 0x200
je 0x1027bc28
mov ecx, dword [edi + 0x18]
mov byte [esp + 0x1c], dl
shr edx, 8
mov byte [esp + 0x1d], dl
lea edx, [esp + 0x1c]
push 2
call fcn.1021d260
add esp, 4
mov dword [edi + 0x18], eax
xor ecx, ecx
xor esi, esi
mov dword [esp + 0x10], ecx
jmp 0x1027bc40
mov eax, dword [edi + 0x20]
test eax, eax
je 0x1027bc40
mov dword [eax + 0x10], 0
mov dword [edi], 5
test dword [edi + 0x10], 0x400
je 0x1027bce0
mov ecx, dword [edi + 0x40]
cmp ecx, ebp
cmova ecx, ebp
mov dword [esp + 0x38], ecx
test ecx, ecx
je 0x1027bcd6
mov edx, dword [edi + 0x20]
test edx, edx
je 0x1027bca5
mov eax, dword [edx + 0x10]
mov dword [esp + 0x34], eax
test eax, eax
je 0x1027bca5
mov eax, dword [edx + 0x14]
sub eax, dword [edi + 0x40]
mov edx, dword [edx + 0x18]
mov dword [esp + 0x3c], eax
add eax, ecx
cmp eax, edx
mov eax, dword [esp + 0x3c]
jbe 0x1027bc90
sub edx, eax
jmp 0x1027bc92
mov edx, ecx
add eax, dword [esp + 0x34]
push edx
push ebx
push eax
call sub.MSVCR120.dll_memcpy
mov ecx, dword [esp + 0x44]
add esp, 0xc
test dword [edi + 0x10], 0x200
je 0x1027bcc7
test ebx, ebx
jne 0x1027bcb6
xor eax, eax
jmp 0x1027bcc4
push ecx
mov ecx, dword [edi + 0x18]
mov edx, ebx
call fcn.1021d260
add esp, 4
mov dword [edi + 0x18], eax
mov eax, dword [esp + 0x38]
add ebx, eax
sub ebp, eax
mov dword [esp + 0x18], ebx
sub dword [edi + 0x40], eax
cmp dword [edi + 0x40], 0
jne 0x1027ccc0
mov dword [edi + 0x40], 0
mov dword [edi], 6
test dword [edi + 0x10], 0x800
je 0x1027bd82
test ebp, ebp
je 0x1027ccc0
xor ecx, ecx
movzx eax, byte [ecx + ebx]
inc ecx
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0x20]
test eax, eax
je 0x1027bd34
mov edx, dword [eax + 0x1c]
test edx, edx
je 0x1027bd34
mov edx, dword [edi + 0x40]
cmp edx, dword [eax + 0x20]
jae 0x1027bd34
mov eax, dword [eax + 0x1c]
mov ebx, dword [esp + 0x38]
mov byte [eax + edx], bl
inc dword [edi + 0x40]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x38]
test eax, eax
je 0x1027bd40
cmp ecx, ebp
jb 0x1027bd04
test dword [edi + 0x10], 0x200
mov dword [esp + 0x3c], ecx
je 0x1027bd70
test ebx, ebx
jne 0x1027bd55
xor edx, edx
jmp 0x1027bd6d
push ecx
mov ecx, dword [edi + 0x18]
mov edx, ebx
call fcn.1021d260
mov ecx, dword [esp + 0x40]
mov edx, eax
mov eax, dword [esp + 0x3c]
add esp, 4
mov dword [edi + 0x18], edx
add ebx, ecx
sub ebp, ecx
mov dword [esp + 0x18], ebx
test eax, eax
jne 0x1027ccc0
jmp 0x1027bd90
mov eax, dword [edi + 0x20]
test eax, eax
je 0x1027bd90
mov dword [eax + 0x1c], 0
mov dword [edi + 0x40], 0
mov dword [edi], 7
test dword [edi + 0x10], 0x1000
je 0x1027be32
test ebp, ebp
je 0x1027ccc0
xor ecx, ecx
movzx eax, byte [ecx + ebx]
inc ecx
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0x20]
test eax, eax
je 0x1027bde4
mov edx, dword [eax + 0x24]
test edx, edx
je 0x1027bde4
mov edx, dword [edi + 0x40]
cmp edx, dword [eax + 0x28]
jae 0x1027bde4
mov eax, dword [eax + 0x24]
mov ebx, dword [esp + 0x38]
mov byte [eax + edx], bl
inc dword [edi + 0x40]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x38]
test eax, eax
je 0x1027bdf0
cmp ecx, ebp
jb 0x1027bdb4
test dword [edi + 0x10], 0x200
mov dword [esp + 0x3c], ecx
je 0x1027be20
test ebx, ebx
jne 0x1027be05
xor edx, edx
jmp 0x1027be1d
push ecx
mov ecx, dword [edi + 0x18]
mov edx, ebx
call fcn.1021d260
mov ecx, dword [esp + 0x40]
mov edx, eax
mov eax, dword [esp + 0x3c]
add esp, 4
mov dword [edi + 0x18], edx
add ebx, ecx
sub ebp, ecx
mov dword [esp + 0x18], ebx
test eax, eax
jne 0x1027ccc0
jmp 0x1027be40
mov eax, dword [edi + 0x20]
test eax, eax
je 0x1027be40
mov dword [eax + 0x24], 0
mov edx, dword [esp + 0x10]
mov dword [edi], 8
test dword [edi + 0x10], 0x200
je 0x1027bea1
cmp esi, 0x10
jae 0x1027be7b
test ebp, ebp
je 0x1027ccc0
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add edx, eax
mov dword [esp + 0x18], ebx
add esi, 8
mov dword [esp + 0x10], edx
dec ebp
cmp esi, 0x10
jb 0x1027be58
movzx eax, word [edi + 0x18]
cmp edx, eax
je 0x1027be99
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x18], str.header_crc_mismatch
mov dword [edi], 0x1d
jmp 0x1027c129
xor ecx, ecx
xor esi, esi
mov dword [esp + 0x10], ecx
mov ecx, dword [edi + 0x20]
test ecx, ecx
je 0x1027bebe
mov eax, dword [edi + 0x10]
sar eax, 9
and eax, 1
mov dword [ecx + 0x2c], eax
mov eax, dword [edi + 0x20]
mov dword [eax + 0x30], 1
push 0
xor edx, edx
xor ecx, ecx
call fcn.1021d250
mov ecx, dword [esp + 0x18]
add esp, 4
mov edx, dword [esp + 0x10]
mov dword [edi + 0x18], eax
mov dword [ecx + 0x30], eax
mov dword [edi], 0xb
jmp 0x1027c129
cmp esi, 0x20
jae 0x1027bf13
lea ebx, [ebx]
test ebp, ebp
je 0x1027ccc0
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add edx, eax
mov dword [esp + 0x18], ebx
add esi, 8
mov dword [esp + 0x10], edx
dec ebp
cmp esi, 0x20
jb 0x1027bef0
mov ecx, edx
mov eax, edx
shl eax, 0x10
and ecx, 0xff00
add ecx, eax
mov eax, edx
shr eax, 8
shl ecx, 8
and eax, 0xff00
add eax, ecx
shr edx, 0x18
mov ecx, dword [esp + 0x14]
add eax, edx
xor edx, edx
mov dword [edi + 0x18], eax
mov dword [esp + 0x10], edx
xor esi, esi
mov dword [ecx + 0x30], eax
mov dword [edi], 0xa
cmp dword [edi + 0xc], 0
je 0x1027cc7a
push 0
xor edx, edx
xor ecx, ecx
call fcn.10268570
mov edx, dword [esp + 0x18]
add esp, 4
mov dword [edi + 0x18], eax
mov dword [edx + 0x30], eax
mov edx, dword [esp + 0x10]
mov dword [edi], 0xb
cmp dword [edi + 4], 0
je 0x1027bf98
mov ecx, esi
mov dword [edi], 0x1a
and ecx, 7
shr edx, cl
sub esi, ecx
mov dword [esp + 0x10], edx
jmp 0x1027c125
cmp esi, 3
jae 0x1027bfc3
lea ecx, [ecx]
test ebp, ebp
je 0x1027ccc0
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add edx, eax
mov dword [esp + 0x18], ebx
add esi, 8
mov dword [esp + 0x10], edx
dec ebp
cmp esi, 3
jb 0x1027bfa0
mov eax, edx
shr edx, 1
and eax, 1
mov dword [edi + 4], eax
mov eax, edx
and eax, 3
cmp eax, 3
ja case.default.0x1027bfd7
jmp dword [eax*4 + 0x1027ce80]
mov dword [edi], 0xd
mov ecx, dword [esp + 0x14]
shr edx, 2
sub esi, 3
mov dword [esp + 0x10], edx
jmp 0x1027c129
mov ecx, dword [esp + 0x14]
shr edx, 2
sub esi, 3
mov dword [edi + 0x4c], 0x1038aa70
mov dword [edi + 0x54], 9
mov dword [edi + 0x50], 0x1038a9f0
mov dword [edi + 0x58], 5
mov dword [edi], 0x13
mov dword [esp + 0x10], edx
jmp 0x1027c129
mov ecx, dword [esp + 0x14]
shr edx, 2
sub esi, 3
mov dword [edi], 0x10
mov dword [esp + 0x10], edx
jmp 0x1027c129
mov ecx, dword [esp + 0x14]
shr edx, 2
sub esi, 3
mov dword [esp + 0x10], edx
mov dword [ecx + 0x18], str.invalid_block_type
mov dword [edi], 0x1d
jmp 0x1027c129
mov ecx, esi
and ecx, 7
shr edx, cl
sub esi, ecx
mov dword [esp + 0x10], edx
cmp esi, 0x20
jae 0x1027c09a
test ebp, ebp
je 0x1027ccc0
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add edx, eax
mov dword [esp + 0x18], ebx
add esi, 8
mov dword [esp + 0x10], edx
dec ebp
cmp esi, 0x20
jb 0x1027c077
mov eax, edx
mov ecx, edx
not eax
and ecx, 0xffff
shr eax, 0x10
cmp ecx, eax
je 0x1027c0c0
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x18], str.invalid_stored_block_lengths
mov dword [edi], 0x1d
jmp 0x1027c129
xor edx, edx
mov dword [edi + 0x40], ecx
mov ecx, dword [esp + 0x14]
xor esi, esi
mov dword [esp + 0x10], edx
mov dword [edi], 0xe
mov dword [edi], 0xf
mov eax, dword [edi + 0x40]
test eax, eax
je 0x1027c141
cmp eax, ebp
cmova eax, ebp
cmp eax, dword [esp + 0x20]
cmova eax, dword [esp + 0x20]
mov dword [esp + 0x3c], eax
test eax, eax
je 0x1027ccc0
push eax
push ebx
push dword [esp + 0x2c]
call sub.MSVCR120.dll_memcpy
mov eax, dword [esp + 0x48]
add esp, 0xc
sub dword [esp + 0x20], eax
add ebx, eax
add dword [esp + 0x24], eax
sub ebp, eax
sub dword [edi + 0x40], eax
mov dword [esp + 0x18], ebx
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov eax, dword [edi]
cmp eax, 0x1e
jbe switch.0x1027b8a0
pop esi
pop ebp
pop ebx
mov eax, 0xfffffffe
pop edi
add esp, 0x3c
ret
mov dword [edi], 0xb
jmp 0x1027c129
cmp esi, 0xe
jae 0x1027c177
mov edi, edi
test ebp, ebp
je 0x1027ccc0
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add edx, eax
mov dword [esp + 0x18], ebx
add esi, 8
mov dword [esp + 0x10], edx
dec ebp
cmp esi, 0xe
jb 0x1027c150
mov ecx, dword [esp + 0x14]
mov eax, edx
sub esi, 0xe
and eax, 0x1f
shr edx, 5
add eax, 0x101
mov dword [edi + 0x60], eax
mov eax, edx
and eax, 0x1f
shr edx, 5
inc eax
mov dword [edi + 0x64], eax
mov eax, edx
and eax, 0xf
shr edx, 4
add eax, 4
mov dword [esp + 0x10], edx
cmp dword [edi + 0x60], 0x11e
mov dword [edi + 0x5c], eax
ja 0x1027c2a0
cmp dword [edi + 0x64], 0x1e
ja 0x1027c2a0
mov dword [edi + 0x68], 0
mov dword [edi], 0x11
mov eax, dword [edi + 0x68]
cmp eax, dword [edi + 0x5c]
jae 0x1027c22d
cmp esi, 3
jae 0x1027c203
lea esp, [esp]
test ebp, ebp
je 0x1027ccc0
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add edx, eax
mov dword [esp + 0x18], ebx
add esi, 8
mov dword [esp + 0x10], edx
dec ebp
cmp esi, 3
jb 0x1027c1e0
mov eax, dword [edi + 0x68]
mov ecx, edx
and ecx, 7
shr edx, 3
sub esi, 3
mov dword [esp + 0x10], edx
movzx eax, word [eax*2 + 0x1038b270]
mov word [edi + eax*2 + 0x70], cx
inc dword [edi + 0x68]
mov eax, dword [edi + 0x68]
cmp eax, dword [edi + 0x5c]
jb 0x1027c1d4
cmp dword [edi + 0x68], 0x13
jae 0x1027c24e
mov eax, dword [edi + 0x68]
xor ecx, ecx
movzx eax, word [eax*2 + 0x1038b270]
mov word [edi + eax*2 + 0x70], cx
inc dword [edi + 0x68]
cmp dword [edi + 0x68], 0x13
jb 0x1027c233
lea eax, [edi + 0x530]
mov dword [edi + 0x54], 7
lea ecx, [edi + 0x6c]
mov dword [edi + 0x4c], eax
mov dword [ecx], eax
lea edx, [edi + 0x54]
lea eax, [edi + 0x2f0]
push eax
push edx
push ecx
push 0x13
lea edx, [edi + 0x70]
xor ecx, ecx
call fcn.102b8040
add esp, 0x10
mov dword [esp + 0x30], eax
test eax, eax
je 0x1027c2b2
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [ecx + 0x18], str.invalid_code_lengths_set
mov dword [edi], 0x1d
jmp 0x1027c129
mov dword [ecx + 0x18], str.too_many_length_or_distance_symbols
mov dword [edi], 0x1d
jmp 0x1027c129
mov dword [edi + 0x68], 0
mov dword [edi], 0x12
mov eax, dword [edi + 0x64]
mov ecx, dword [edi + 0x68]
add eax, dword [edi + 0x60]
mov dword [esp + 0x38], ecx
cmp ecx, eax
jae 0x1027c511
mov edi, dword [esp + 0x10]
jmp 0x1027c2e0
mov eax, dword [esp + 0x40]
mov edx, 1
mov ecx, dword [eax]
mov eax, dword [esp + 0x28]
shl edx, cl
dec edx
and edx, edi
mov eax, dword [eax + 0x4c]
mov eax, dword [eax + edx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [esp + 0x3c], eax
cmp ecx, esi
jbe 0x1027c358
lea ebx, [ebx]
test ebp, ebp
je 0x1027ccc4
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
mov edx, 1
add edi, eax
inc ebx
mov eax, dword [esp + 0x40]
add esi, 8
dec ebp
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], ebx
mov ecx, dword [eax]
mov eax, dword [esp + 0x28]
shl edx, cl
dec edx
and edx, edi
mov eax, dword [eax + 0x4c]
mov eax, dword [eax + edx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [esp + 0x3c], eax
cmp ecx, esi
ja 0x1027c310
mov edx, eax
shr edx, 0x10
cmp dx, 0x10
jae 0x1027c386
shr eax, 8
movzx ecx, al
mov eax, dword [esp + 0x38]
sub esi, ecx
shr edi, cl
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x10], edi
mov word [ecx + eax*2 + 0x70], dx
inc dword [ecx + 0x68]
jmp 0x1027c4f8
jne 0x1027c403
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, 2
mov dword [esp + 0x3c], ecx
cmp esi, ecx
jae 0x1027c3c4
jmp 0x1027c3a0
test ebp, ebp
je 0x1027ccc4
movzx edx, byte [ebx]
mov ecx, esi
shl edx, cl
inc ebx
add edi, edx
mov dword [esp + 0x18], ebx
add esi, 8
mov dword [esp + 0x10], edi
dec ebp
cmp esi, dword [esp + 0x3c]
jb 0x1027c3a0
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x28]
movzx ecx, ah
mov eax, dword [esp + 0x38]
sub esi, ecx
shr edx, cl
mov dword [esp + 0x10], edx
test eax, eax
je 0x1027c53e
movzx eax, word [edi + eax*2 + 0x6e]
mov dword [esp + 0x3c], eax
mov eax, edx
and eax, 3
shr edx, 2
add eax, 3
sub esi, 2
mov dword [esp + 0x34], eax
jmp 0x1027c4c0
cmp word [esp + 0x3e], 0x11
mov edx, dword [esp + 0x10]
movzx ecx, ah
jne 0x1027c45e
lea edi, [ecx + 3]
mov dword [esp + 0x3c], ecx
cmp esi, edi
jae 0x1027c446
lea ecx, [ecx]
test ebp, ebp
je 0x1027ccc0
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add edx, eax
mov dword [esp + 0x18], ebx
add esi, 8
mov dword [esp + 0x10], edx
dec ebp
cmp esi, edi
jb 0x1027c420
mov ecx, dword [esp + 0x3c]
shr edx, cl
mov eax, edx
and eax, 7
add eax, 3
shr edx, 3
mov dword [esp + 0x34], eax
mov eax, 0xfffffffd
jmp 0x1027c4ac
lea edi, [ecx + 7]
mov dword [esp + 0x3c], ecx
cmp esi, edi
jae 0x1027c496
lea esp, [esp]
test ebp, ebp
je 0x1027ccc0
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add edx, eax
mov dword [esp + 0x18], ebx
add esi, 8
mov dword [esp + 0x10], edx
dec ebp
cmp esi, edi
jb 0x1027c470
mov ecx, dword [esp + 0x3c]
shr edx, cl
mov eax, edx
and eax, 0x7f
add eax, 0xb
shr edx, 7
mov dword [esp + 0x34], eax
mov eax, 0xfffffff9
mov edi, dword [esp + 0x28]
sub eax, ecx
add esi, eax
mov dword [esp + 0x3c], 0
mov eax, dword [esp + 0x34]
mov ecx, dword [edi + 0x64]
add ecx, dword [edi + 0x60]
add eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x10], edx
cmp eax, ecx
ja 0x1027c53e
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x1027c4f0
mov edx, dword [esp + 0x3c]
mov eax, dword [edi + 0x68]
mov word [edi + eax*2 + 0x70], dx
inc dword [edi + 0x68]
dec ecx
jne 0x1027c4e2
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x10]
mov eax, dword [ecx + 0x64]
mov edx, dword [ecx + 0x68]
add eax, dword [ecx + 0x60]
mov dword [esp + 0x38], edx
cmp edx, eax
jb 0x1027c2e0
mov edi, dword [esp + 0x28]
cmp dword [edi], 0x1d
je 0x1027c121
cmp word [edi + 0x270], 0
jne 0x1027c554
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [ecx + 0x18], str.invalid_code____missing_end_of_block
mov dword [edi], 0x1d
jmp 0x1027c129
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x18], str.invalid_bit_length_repeat
mov dword [edi], 0x1d
jmp 0x1027c129
lea eax, [edi + 0x530]
mov dword [edi + 0x54], 9
lea ecx, [edi + 0x6c]
mov dword [edi + 0x4c], eax
mov dword [ecx], eax
lea edx, [edi + 0x54]
lea eax, [edi + 0x2f0]
push eax
push edx
push ecx
push dword [edi + 0x60]
lea edx, [edi + 0x70]
mov ecx, 1
call fcn.102b8040
add esp, 0x10
mov dword [esp + 0x30], eax
test eax, eax
je 0x1027c5aa
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [ecx + 0x18], str.invalid_literal_lengths_set
mov dword [edi], 0x1d
jmp 0x1027c129
mov eax, dword [edi + 0x6c]
lea ecx, [edi + 0x6c]
mov dword [edi + 0x50], eax
lea edx, [edi + 0x58]
lea eax, [edi + 0x2f0]
mov dword [edx], 6
push eax
mov eax, dword [edi + 0x60]
push edx
add eax, 0x38
push ecx
push dword [edi + 0x64]
mov ecx, 2
lea edx, [edi + eax*2]
call fcn.102b8040
mov ecx, dword [esp + 0x24]
add esp, 0x10
mov edx, dword [esp + 0x10]
mov dword [esp + 0x30], eax
test eax, eax
je 0x1027c600
mov dword [ecx + 0x18], str.invalid_distances_set
mov dword [edi], 0x1d
jmp 0x1027c129
mov dword [edi], 0x13
mov dword [edi], 0x14
cmp ebp, 6
jb 0x1027c67a
cmp dword [esp + 0x20], 0x102
jb 0x1027c67a
mov eax, dword [esp + 0x24]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x20]
mov dword [ecx + 0x10], eax
mov dword [ecx], ebx
mov dword [ecx + 4], ebp
mov dword [edi + 0x38], edx
mov edx, dword [esp + 0x2c]
mov dword [edi + 0x3c], esi
call fcn.102b7c00
cmp dword [edi], 0xb
mov ecx, dword [esp + 0x14]
mov edx, dword [edi + 0x38]
mov esi, dword [edi + 0x3c]
mov dword [esp + 0x10], edx
mov eax, dword [ecx + 0xc]
mov ebx, dword [ecx]
mov ebp, dword [ecx + 4]
mov dword [esp + 0x24], eax
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], ebx
jne 0x1027c129
mov dword [edi + 0x1bc4], 0xffffffff
jmp 0x1027c129
mov eax, dword [edi + 0x4c]
mov ecx, dword [edi + 0x54]
mov dword [esp + 0x38], eax
mov eax, 1
shl eax, cl
mov ecx, dword [edi + 0x4c]
dec eax
and eax, edx
mov dword [edi + 0x1bc4], 0
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
jbe 0x1027c6f3
lea ebx, [ebx]
test ebp, ebp
je 0x1027ccc0
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
mov ecx, dword [edi + 0x54]
add edx, eax
mov eax, dword [edi + 0x4c]
add esi, 8
mov dword [esp + 0x10], edx
dec ebp
mov edx, 1
mov dword [esp + 0x18], ebx
shl edx, cl
dec edx
and edx, dword [esp + 0x10]
mov eax, dword [eax + edx*4]
mov ecx, eax
mov edx, dword [esp + 0x10]
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
ja 0x1027c6b0
test al, al
je 0x1027c7c0
test al, 0xf0
jne 0x1027c7c0
mov ecx, eax
mov ebx, 1
shr ecx, 8
mov edx, eax
movzx edi, cl
mov dword [esp + 0x34], ecx
movzx ecx, al
add ecx, edi
shr eax, 0x10
shl ebx, cl
mov ecx, edi
dec ebx
mov dword [esp + 0x3c], edx
and ebx, dword [esp + 0x10]
shr ebx, cl
mov ecx, dword [esp + 0x38]
add ebx, eax
mov eax, dword [ecx + ebx*4]
mov ecx, eax
shr ecx, 8
movzx edi, cl
mov ecx, dword [esp + 0x34]
movzx ecx, cl
add edi, ecx
cmp edi, esi
jbe 0x1027c7a7
jmp 0x1027c750
test ebp, ebp
je 0x1027ccc0
mov ebx, dword [esp + 0x18]
mov ecx, esi
mov edi, 1
add esi, 8
dec ebp
movzx eax, byte [ebx]
inc ebx
shl eax, cl
add dword [esp + 0x10], eax
movzx eax, word [esp + 0x3e]
mov dword [esp + 0x18], ebx
movzx ebx, dh
movzx ecx, dl
add ecx, ebx
shl edi, cl
mov ecx, ebx
dec edi
and edi, dword [esp + 0x10]
shr edi, cl
add edi, eax
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x4c]
mov eax, dword [eax + edi*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, ebx
cmp ecx, esi
ja 0x1027c750
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x18]
movzx ecx, dh
mov edx, dword [esp + 0x10]
shr edx, cl
sub esi, ecx
mov dword [edi + 0x1bc4], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [edi + 0x1bc4], ecx
sub esi, ecx
shr edx, cl
mov ecx, eax
shr ecx, 0x10
mov dword [esp + 0x10], edx
mov dword [edi + 0x40], ecx
test al, al
jne 0x1027c7ed
mov dword [edi], 0x19
jmp 0x1027c125
test al, 0x20
je 0x1027c806
mov dword [edi + 0x1bc4], 0xffffffff
mov dword [edi], 0xb
jmp 0x1027c125
test al, 0x40
je 0x1027c820
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x18], str.invalid_literal_length_code
mov dword [edi], 0x1d
jmp 0x1027c129
movzx eax, al
and eax, 0xf
mov dword [edi], 0x15
mov dword [edi + 0x48], eax
mov ecx, dword [edi + 0x48]
test ecx, ecx
je 0x1027c880
cmp esi, ecx
jae 0x1027c865
lea ebx, [ebx]
test ebp, ebp
je 0x1027ccc0
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
mov ecx, dword [edi + 0x48]
add edx, eax
add esi, 8
mov dword [esp + 0x10], edx
dec ebp
mov dword [esp + 0x18], ebx
cmp esi, ecx
jb 0x1027c840
mov eax, 1
sub esi, ecx
shl eax, cl
dec eax
and eax, edx
shr edx, cl
add dword [edi + 0x40], eax
add dword [edi + 0x1bc4], ecx
mov dword [esp + 0x10], edx
mov eax, dword [edi + 0x40]
mov dword [edi + 0x1bc8], eax
mov dword [edi], 0x16
mov eax, dword [edi + 0x50]
mov ecx, dword [edi + 0x58]
mov dword [esp + 0x38], eax
mov eax, 1
shl eax, cl
mov ecx, dword [edi + 0x50]
dec eax
and eax, edx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
jbe 0x1027c8f8
test ebp, ebp
je 0x1027ccc0
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
mov ecx, dword [edi + 0x58]
add edx, eax
mov eax, dword [edi + 0x50]
add esi, 8
mov dword [esp + 0x10], edx
dec ebp
mov edx, 1
mov dword [esp + 0x18], ebx
shl edx, cl
dec edx
and edx, dword [esp + 0x10]
mov eax, dword [eax + edx*4]
mov ecx, eax
mov edx, dword [esp + 0x10]
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
ja 0x1027c8b5
test al, 0xf0
jne 0x1027c9b4
mov ecx, eax
mov ebx, 1
shr ecx, 8
mov edx, eax
movzx edi, cl
mov dword [esp + 0x34], ecx
movzx ecx, al
add ecx, edi
shr eax, 0x10
shl ebx, cl
mov ecx, edi
dec ebx
mov dword [esp + 0x3c], edx
and ebx, dword [esp + 0x10]
shr ebx, cl
mov ecx, dword [esp + 0x38]
add ebx, eax
mov eax, dword [ecx + ebx*4]
mov ecx, eax
shr ecx, 8
movzx edi, cl
mov ecx, dword [esp + 0x34]
movzx ecx, cl
add edi, ecx
cmp edi, esi
jbe 0x1027c99f
test ebp, ebp
je 0x1027ccc0
mov ebx, dword [esp + 0x18]
mov ecx, esi
mov edi, 1
add esi, 8
dec ebp
movzx eax, byte [ebx]
inc ebx
shl eax, cl
add dword [esp + 0x10], eax
movzx eax, word [esp + 0x3e]
mov dword [esp + 0x18], ebx
movzx ebx, dh
movzx ecx, dl
add ecx, ebx
shl edi, cl
mov ecx, ebx
dec edi
and edi, dword [esp + 0x10]
shr edi, cl
add edi, eax
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x50]
mov eax, dword [eax + edi*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, ebx
cmp ecx, esi
ja 0x1027c948
mov edi, dword [esp + 0x28]
movzx ecx, dh
mov edx, dword [esp + 0x10]
sub esi, ecx
shr edx, cl
add dword [edi + 0x1bc4], ecx
mov ebx, dword [esp + 0x18]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [edi + 0x1bc4], ecx
sub esi, ecx
shr edx, cl
mov dword [esp + 0x10], edx
test al, 0x40
je 0x1027c9e8
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x18], str.invalid_distance_code
mov dword [edi], 0x1d
jmp 0x1027c129
mov ecx, eax
mov dword [edi], 0x17
shr ecx, 0x10
movzx eax, al
and eax, 0xf
mov dword [edi + 0x44], ecx
mov dword [edi + 0x48], eax
mov ecx, dword [edi + 0x48]
test ecx, ecx
je 0x1027ca50
cmp esi, ecx
jae 0x1027ca35
lea ebx, [ebx]
test ebp, ebp
je 0x1027ccc0
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
mov ecx, dword [edi + 0x48]
add edx, eax
add esi, 8
mov dword [esp + 0x10], edx
dec ebp
mov dword [esp + 0x18], ebx
cmp esi, ecx
jb 0x1027ca10
mov eax, 1
sub esi, ecx
shl eax, cl
dec eax
and eax, edx
shr edx, cl
add dword [edi + 0x44], eax
add dword [edi + 0x1bc4], ecx
mov dword [esp + 0x10], edx
mov dword [edi], 0x18
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x1027ccc0
mov eax, dword [esp + 0x2c]
sub eax, ecx
mov ecx, dword [edi + 0x44]
cmp ecx, eax
jbe 0x1027cabd
sub ecx, eax
cmp ecx, dword [edi + 0x2c]
jbe 0x1027ca95
cmp dword [edi + 0x1bc0], 0
je 0x1027ca95
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x18], str.invalid_distance_too_far_back
mov dword [edi], 0x1d
jmp 0x1027c129
mov eax, dword [edi + 0x30]
cmp ecx, eax
jbe 0x1027caa8
sub ecx, eax
mov eax, dword [edi + 0x34]
add eax, dword [edi + 0x28]
sub eax, ecx
jmp 0x1027cab0
mov eax, dword [edi + 0x34]
sub eax, ecx
add eax, dword [edi + 0x30]
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0x40]
cmp ecx, eax
jbe 0x1027cacc
jmp 0x1027caca
mov eax, dword [esp + 0x24]
sub eax, ecx
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0x40]
mov ecx, eax
mov edx, dword [esp + 0x20]
cmp ecx, edx
mov ebx, dword [esp + 0x3c]
cmova ecx, edx
sub edx, ecx
sub eax, ecx
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x24]
sub ebx, edx
mov dword [edi + 0x40], eax
lea ebx, [ebx]
mov al, byte [ebx + edx]
mov byte [edx], al
inc edx
dec ecx
jne 0x1027caf0
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x10]
cmp dword [edi + 0x40], ecx
jne 0x1027c125
mov dword [edi], 0x14
jmp 0x1027c125
cmp dword [esp + 0x20], 0
je 0x1027ccc0
mov edx, dword [esp + 0x24]
mov al, byte [edi + 0x40]
inc dword [esp + 0x24]
dec dword [esp + 0x20]
mov byte [edx], al
mov edx, dword [esp + 0x10]
mov dword [edi], 0x14
jmp 0x1027c129
cmp dword [edi + 8], 0
je 0x1027cc26
cmp esi, 0x20
jae 0x1027cb7a
test ebp, ebp
je 0x1027ccc0
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add edx, eax
mov dword [esp + 0x18], ebx
add esi, 8
mov dword [esp + 0x10], edx
dec ebp
cmp esi, 0x20
jb 0x1027cb53
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x20]
add dword [ecx + 0x14], eax
add dword [edi + 0x1c], eax
mov dword [esp + 0x2c], eax
test eax, eax
je 0x1027cbd0
cmp dword [edi + 0x10], 0
je 0x1027cbb0
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x2c]
je 0x1027cbca
push dword [esp + 0x2c]
mov ecx, dword [edi + 0x18]
mov edx, eax
call fcn.1021d260
jmp 0x1027cbbf
mov edx, dword [esp + 0x24]
mov ecx, dword [edi + 0x18]
sub edx, eax
push eax
call fcn.10268570
mov ecx, dword [esp + 0x18]
add esp, 4
mov edx, dword [esp + 0x10]
mov dword [edi + 0x18], eax
mov dword [ecx + 0x30], eax
cmp dword [edi + 0x10], 0
mov ecx, edx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x2c], eax
jne 0x1027cc03
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
cmp ecx, dword [edi + 0x18]
je 0x1027cc1e
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x18], str.incorrect_data_check
mov dword [edi], 0x1d
jmp 0x1027c129
xor edx, edx
xor esi, esi
mov dword [esp + 0x10], edx
mov dword [edi], 0x1b
cmp dword [edi + 8], 0
je 0x1027cca8
cmp dword [edi + 0x10], 0
je 0x1027cca8
cmp esi, 0x20
jae 0x1027cc5f
lea ecx, [ecx]
test ebp, ebp
je 0x1027ccc0
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add edx, eax
mov dword [esp + 0x18], ebx
add esi, 8
mov dword [esp + 0x10], edx
dec ebp
cmp esi, 0x20
jb 0x1027cc40
cmp edx, dword [edi + 0x1c]
je 0x1027cca0
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x18], str.incorrect_length_check
mov dword [edi], 0x1d
jmp 0x1027c129
mov eax, dword [esp + 0x24]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x20]
mov dword [ecx + 0x10], eax
mov eax, 2
mov dword [ecx], ebx
mov dword [ecx + 4], ebp
mov dword [edi + 0x3c], esi
pop esi
pop ebp
pop ebx
mov dword [edi + 0x38], edx
pop edi
add esp, 0x3c
ret
xor ecx, ecx
xor esi, esi
mov dword [esp + 0x10], ecx
mov dword [edi], 0x1c
mov dword [esp + 0x30], 1
jmp 0x1027ccc0
mov dword [esp + 0x30], 0xfffffffd
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x20]
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0x18]
mov dword [ecx + 4], ebp
mov ebp, dword [esp + 0x2c]
mov dword [ecx], eax
cmp dword [ebx + 0x28], 0
mov dword [ebx + 0x38], edi
mov dword [ebx + 0x3c], esi
jne 0x1027cd0b
cmp ebp, dword [ecx + 0x10]
je 0x1027cd37
mov eax, dword [ebx]
cmp eax, 0x1d
jge 0x1027cd37
cmp eax, 0x1a
jl 0x1027cd0b
cmp dword [esp + 0x44], 4
je 0x1027cd37
mov edx, dword [ecx + 0xc]
mov eax, ebp
sub eax, dword [ecx + 0x10]
push eax
call fcn.1027b720
add esp, 4
test eax, eax
je 0x1027cd33
mov dword [ebx], 0x1e
pop esi
pop ebp
pop ebx
mov eax, 0xfffffffc
pop edi
add esp, 0x3c
ret
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x48]
sub edi, dword [ecx + 4]
sub ebp, dword [ecx + 0x10]
add dword [ecx + 8], edi
add dword [ecx + 0x14], ebp
add dword [ebx + 0x1c], ebp
cmp dword [ebx + 8], 0
je 0x1027cd88
test ebp, ebp
je 0x1027cd88
cmp dword [ebx + 0x10], 0
mov edx, dword [ecx + 0xc]
je 0x1027cd70
sub edx, ebp
jne 0x1027cd65
xor eax, eax
jmp 0x1027cd82
mov ecx, dword [ebx + 0x18]
push ebp
call fcn.1021d260
jmp 0x1027cd7b
mov ecx, dword [ebx + 0x18]
sub edx, ebp
push ebp
call fcn.10268570
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [ebx + 0x18], eax
mov dword [ecx + 0x30], eax
mov edx, dword [ebx]
cmp edx, 0x13
je 0x1027cd98
cmp edx, 0xe
je 0x1027cd98
xor esi, esi
jmp 0x1027cd9d
mov esi, 0x100
mov ecx, dword [ebx + 4]
neg ecx
mov dword [esp + 0x48], 0x80
sbb ecx, ecx
xor eax, eax
and ecx, 0x40
cmp edx, 0xb
mov edx, dword [esp + 0x14]
cmove eax, dword [esp + 0x48]
add ecx, eax
add ecx, dword [ebx + 0x3c]
add ecx, esi
mov dword [edx + 0x2c], ecx
test edi, edi
jne 0x1027cdcf
test ebp, ebp
je 0x1027cdd6
cmp dword [esp + 0x44], 4
jne 0x1027cdec
mov eax, dword [esp + 0x30]
mov ecx, 0xfffffffb
pop esi
pop ebp
test eax, eax
pop ebx
cmove eax, ecx
pop edi
add esp, 0x3c
ret
mov eax, dword [esp + 0x30]
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x3c
ret
mov eax, 0xfffffffe
pop edi
add esp, 0x3c
ret