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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je case.0x489436.29
mov ebx, dword [edi + 0x1c]
test ebx, ebx
je case.0x489436.29
lea eax, [edi + 0xc]
xor ecx, ecx
cmp dword [eax], ecx
je case.0x489436.29
cmp dword [edi], ecx
jne 0x4893db
cmp dword [edi + 4], ecx
jne case.0x489436.29
lea edx, [edi + 0xc]
jmp 0x4893dd
mov edx, eax
mov ecx, dword [ebx]
mov dword [ebp - 0x34], eax
push 0xc
pop esi
cmp ecx, 0xb
jne 0x4893f1
mov dword [ebx], esi
mov ecx, esi
mov dword [ebp - 0x34], edx
mov eax, dword [eax]
mov edx, dword [ebx + 0x38]
mov esi, dword [ebx + 0x3c]
mov dword [ebp - 0x20], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [edi]
mov dword [ebp - 8], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x28], eax
cmp ecx, 0x1d
ja case.0x489436.29
mov dword [ebp - 0x40], 0x10
mov eax, esi
mov dword [ebp - 0x3c], esi
jmp dword [ecx*4 + 0x48a701]
cmp dword [ebx + 8], 0
jne 0x489475
mov dword [ebx], 0xc
jmp 0x48a5cc
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x48a66f
dec eax
mov ecx, esi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
add esi, 8
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], esi
push 0x10
pop eax
cmp esi, eax
jb 0x48944e
test byte [ebx + 8], 2
je 0x4894cd
cmp edx, 0x8b1f
jne 0x4894cd
push 0
push 0
push 0
call fcn.0048753b
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0xc]
mov byte [ebp - 0x1c], al
shr eax, 8
mov byte [ebp - 0x1b], al
lea eax, [ebp - 0x1c]
push 2
push eax
push dword [ebx + 0x18]
call fcn.0048753b
xor edx, edx
mov dword [ebx + 0x18], eax
add esp, 0x18
mov dword [ebp - 0xc], edx
xor esi, esi
mov dword [ebx], 1
mov dword [ebp - 0x10], esi
jmp 0x48a5cc
and dword [ebx + 0x10], 0
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x4894dc
or dword [eax + 0x30], 0xffffffff
test byte [ebx + 8], 1
je 0x489572
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 - 0xc]
jne 0x489572
mov eax, edx
and al, 0xf
cmp al, 8
je 0x489515
mov dword [edi + 0x18], str.unknown_compression_method
jmp 0x48a5c6
shr edx, 4
sub esi, 4
mov ecx, edx
mov dword [ebp - 0xc], edx
and ecx, 0xf
mov dword [ebp - 0x10], esi
add ecx, 8
cmp ecx, dword [ebx + 0x24]
jbe 0x48953a
mov dword [edi + 0x18], str.invalid_window_size
jmp 0x48a5c6
xor esi, esi
xor eax, eax
push esi
inc eax
shl eax, cl
push esi
push esi
mov dword [ebx + 0x14], eax
call fcn.004872fa
mov edx, dword [ebp - 0xc]
add esp, 0xc
shr edx, 8
not edx
mov dword [ebx + 0x18], eax
and edx, 2
mov dword [edi + 0x30], eax
or edx, 9
mov dword [ebx], edx
mov edx, esi
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], esi
jmp 0x48a5cc
mov dword [edi + 0x18], str.incorrect_header_check
jmp 0x48a5c6
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x48a66f
dec eax
mov ecx, esi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
add esi, 8
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], esi
push 0x10
pop eax
cmp esi, eax
jb 0x48957e
mov dword [ebx + 0x10], edx
cmp dl, 8
jne 0x489509
test edx, 0xe000
je 0x4895cc
mov dword [edi + 0x18], str.unknown_header_flags_set
jmp 0x48a5c6
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x4895dd
mov eax, edx
shr eax, 8
and eax, 1
mov dword [ecx], eax
test dword [ebx + 0x10], 0x200
je 0x489603
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.0048753b
add esp, 0xc
mov dword [ebx + 0x18], eax
mov esi, dword [ebp - 0x14]
xor edx, edx
mov dword [ebp - 0xc], edx
xor ecx, ecx
mov dword [ebx], 2
jmp 0x48962f
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 8]
mov esi, dword [ebp - 0x14]
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x30], edx
mov dword [ebp - 0xc], edx
cmp ecx, 0x20
jae 0x489657
mov eax, dword [ebp - 8]
test esi, esi
je 0x48a614
movzx eax, byte [eax]
dec esi
shl eax, cl
add ecx, 8
add edx, eax
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
cmp ecx, 0x20
jb 0x489632
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x489661
mov dword [eax + 4], edx
test dword [ebx + 0x10], 0x200
je 0x489697
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.0048753b
add esp, 0xc
mov dword [ebx + 0x18], eax
xor edx, edx
mov dword [ebx], 3
mov dword [ebp - 0xc], edx
xor ecx, ecx
jmp 0x4896bf
mov ecx, dword [ebp - 8]
mov esi, dword [ebp - 0x14]
mov dword [ebp - 8], ecx
mov ecx, eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x30], edx
mov dword [ebp - 0xc], edx
cmp eax, 0x10
jae 0x4896e7
mov eax, dword [ebp - 8]
test esi, esi
je 0x48a614
movzx eax, byte [eax]
dec esi
shl eax, cl
add ecx, 8
add edx, eax
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
cmp ecx, 0x10
jb 0x4896c2
mov esi, dword [ebx + 0x20]
mov ecx, edx
shr ecx, 8
test esi, esi
je 0x4896ff
movzx eax, dl
mov dword [esi + 8], eax
mov eax, dword [ebx + 0x20]
mov dword [eax + 0xc], ecx
test dword [ebx + 0x10], 0x200
je 0x489722
push 2
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x1c], dl
push eax
mov byte [ebp - 0x1b], cl
push dword [ebx + 0x18]
call fcn.0048753b
add esp, 0xc
mov dword [ebx + 0x18], eax
xor edx, edx
mov dword [ebx], 4
xor esi, esi
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], esi
test dword [ebx + 0x10], 0x400
jne 0x4897d3
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x48974a
and dword [eax + 0x10], 0
mov dword [ebx], 5
test dword [ebx + 0x10], 0x400
je 0x489865
mov eax, dword [ebx + 0x40]
mov ecx, dword [ebp - 0x14]
cmp eax, ecx
cmovbe ecx, eax
mov dword [ebp - 0x30], ecx
test ecx, ecx
je 0x48985d
mov edx, dword [ebx + 0x20]
test edx, edx
je 0x489831
mov edi, dword [edx + 0x10]
test edi, edi
mov dword [ebp - 0x3c], edi
mov edi, dword [ebp + 8]
je 0x489831
mov edi, dword [edx + 0x14]
mov edx, dword [edx + 0x18]
sub edi, eax
mov eax, edi
mov dword [ebp - 0x2c], edi
mov edi, dword [ebp + 8]
add eax, ecx
cmp eax, edx
mov eax, dword [ebp - 0x2c]
jbe 0x48981b
sub edx, eax
jmp 0x48981d
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x48a66f
dec eax
mov ecx, esi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
add esi, 8
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], esi
push 0x10
pop eax
cmp esi, eax
jb 0x4897ac
mov eax, dword [ebx + 0x20]
mov dword [ebx + 0x40], edx
test eax, eax
je 0x4897e7
mov dword [eax + 0x14], edx
test dword [ebx + 0x10], 0x200
je 0x48980d
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.0048753b
add esp, 0xc
mov dword [ebx + 0x18], eax
and dword [ebp - 0xc], 0
xor esi, esi
mov dword [ebp - 0x10], esi
jmp 0x48974a
mov edx, ecx
add eax, dword [ebp - 0x3c]
push edx
mov edx, dword [ebp - 8]
push edx
push eax
call fcn.004960a0
mov ecx, dword [ebp - 0x30]
add esp, 0xc
test dword [ebx + 0x10], 0x200
je 0x48984c
push ecx
push dword [ebp - 8]
push dword [ebx + 0x18]
call fcn.0048753b
add esp, 0xc
mov dword [ebx + 0x18], eax
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebx + 0x40]
sub dword [ebp - 0x14], ecx
add dword [ebp - 8], ecx
sub eax, ecx
mov dword [ebx + 0x40], eax
test eax, eax
jne 0x48a66a
and dword [ebx + 0x40], 0
mov dword [ebx], 6
test dword [ebx + 0x10], 0x800
je 0x4898f7
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x48a66f
mov edi, dword [ebp - 0x14]
xor eax, eax
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 - 0x30], eax
test ecx, ecx
je 0x4898bc
cmp dword [ecx + 0x1c], 0
je 0x4898b9
mov edx, dword [ebx + 0x40]
cmp edx, dword [ecx + 0x20]
jae 0x4898b9
mov ecx, dword [ecx + 0x1c]
mov al, byte [ebp - 1]
mov byte [ecx + edx], al
inc dword [ebx + 0x40]
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 8]
cmp byte [ebp - 1], 0
je 0x4898c6
cmp eax, edi
jb 0x48988b
test dword [ebx + 0x10], 0x200
mov edi, dword [ebp + 8]
je 0x4898e5
push eax
push edx
push dword [ebx + 0x18]
call fcn.0048753b
mov dword [ebx + 0x18], eax
add esp, 0xc
mov eax, dword [ebp - 0x30]
sub dword [ebp - 0x14], eax
add dword [ebp - 8], eax
cmp byte [ebp - 1], 0
jne 0x48a66a
jmp 0x489902
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x489902
and dword [eax + 0x1c], 0
and dword [ebx + 0x40], 0
mov dword [ebx], 7
test dword [ebx + 0x10], 0x1000
je 0x489994
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x48a66f
mov edi, dword [ebp - 0x14]
xor eax, eax
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 - 0x30], eax
test ecx, ecx
je 0x489959
cmp dword [ecx + 0x24], 0
je 0x489956
mov edx, dword [ebx + 0x40]
cmp edx, dword [ecx + 0x28]
jae 0x489956
mov ecx, dword [ecx + 0x24]
mov al, byte [ebp - 1]
mov byte [ecx + edx], al
inc dword [ebx + 0x40]
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 8]
cmp byte [ebp - 1], 0
je 0x489963
cmp eax, edi
jb 0x489928
test dword [ebx + 0x10], 0x200
mov edi, dword [ebp + 8]
je 0x489982
push eax
push edx
push dword [ebx + 0x18]
call fcn.0048753b
mov dword [ebx + 0x18], eax
add esp, 0xc
mov eax, dword [ebp - 0x30]
sub dword [ebp - 0x14], eax
add dword [ebp - 8], eax
cmp byte [ebp - 1], 0
jne 0x48a66a
jmp 0x48999f
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x48999f
and dword [eax + 0x24], 0
mov edx, dword [ebp - 0xc]
mov dword [ebx], 8
test dword [ebx + 0x10], 0x200
je 0x4899fe
jmp 0x4899da
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x48a66f
dec eax
mov ecx, esi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
add esi, 8
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], esi
push 0x10
pop eax
cmp esi, eax
jb 0x4899b3
movzx eax, word [ebx + 0x18]
cmp edx, eax
je 0x4899f5
mov dword [edi + 0x18], str.header_crc_mismatch
jmp 0x48a5c6
and dword [ebp - 0xc], 0
xor esi, esi
mov dword [ebp - 0x10], esi
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x489a19
mov eax, dword [ebx + 0x10]
xor edx, edx
sar eax, 9
inc edx
and eax, edx
mov dword [ecx + 0x2c], eax
mov eax, dword [ebx + 0x20]
mov dword [eax + 0x30], edx
push 0
push 0
push 0
call fcn.0048753b
mov dword [ebx + 0x18], eax
add esp, 0xc
mov dword [edi + 0x30], eax
mov dword [ebx], 0xb
mov edx, dword [ebp - 0xc]
jmp 0x48a5cc
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x48a66f
dec eax
mov ecx, esi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
add esi, 8
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], esi
cmp esi, 0x20
jb 0x489a3b
bswap edx
mov dword [ebx + 0x18], edx
mov dword [edi + 0x30], edx
xor edx, edx
xor esi, esi
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], esi
mov dword [ebx], 0xa
cmp dword [ebx + 0xc], 0
je 0x48a5df
push 0
push 0
push 0
call fcn.004872fa
mov edx, dword [ebp - 0xc]
add esp, 0xc
mov dword [ebx + 0x18], eax
mov dword [edi + 0x30], eax
mov dword [ebx], 0xb
cmp dword [ebp + 0xc], 5
je 0x48a66a
cmp dword [ebx + 4], 0
je 0x489af7
mov ecx, esi
mov dword [ebx], 0x18
and ecx, 7
shr edx, cl
sub esi, ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], esi
jmp 0x48a5cc
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x48a66f
dec eax
mov ecx, esi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
add esi, 8
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], esi
cmp esi, 3
jb 0x489ad0
mov eax, edx
shr edx, 1
and eax, 1
mov dword [ebx + 4], eax
mov eax, edx
and eax, 3
sub eax, 0
je 0x489b5a
sub eax, 1
je 0x489b36
sub eax, 1
je 0x489b2e
sub eax, 1
jne 0x489b60
mov dword [edi + 0x18], str.invalid_block_type
mov dword [ebx], 0x1b
jmp 0x489b60
mov dword [ebx], 0xf
jmp 0x489b60
mov dword [ebx + 0x4c], 0x4db010
mov dword [ebx + 0x54], 9
mov dword [ebx + 0x50], 0x4db810
mov dword [ebx + 0x58], 5
mov dword [ebx], 0x12
jmp 0x489b60
mov dword [ebx], 0xd
shr edx, 2
sub esi, 3
jmp 0x489567
mov ecx, esi
and ecx, 7
shr edx, cl
sub esi, ecx
jmp 0x489b97
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x48a66f
dec eax
mov ecx, esi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
add esi, 8
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], edx
cmp esi, 0x20
jb 0x489b76
mov eax, edx
movzx ecx, dx
not eax
shr eax, 0x10
cmp ecx, eax
je 0x489bbc
mov dword [edi + 0x18], str.invalid_stored_block_lengths
jmp 0x48a5c6
xor edx, edx
mov dword [ebx + 0x40], ecx
xor esi, esi
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], esi
mov dword [ebx], 0xe
mov ecx, dword [ebx + 0x40]
test ecx, ecx
je 0x489c16
mov eax, dword [ebp - 0x14]
cmp ecx, eax
cmovbe eax, ecx
cmp eax, dword [ebp - 0x18]
cmova eax, dword [ebp - 0x18]
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x48a66a
push eax
push dword [ebp - 8]
push dword [ebp - 0x20]
call fcn.004960a0
mov eax, dword [ebp - 0x3c]
add esp, 0xc
sub dword [ebp - 0x14], eax
add dword [ebp - 8], eax
sub dword [ebp - 0x18], eax
add dword [ebp - 0x20], eax
sub dword [ebx + 0x40], eax
jmp 0x489a33
mov dword [ebx], 0xb
jmp 0x48a5cc
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x48a66f
dec eax
mov ecx, esi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
add esi, 8
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], esi
cmp esi, 0xe
jb 0x489c21
mov eax, edx
sub esi, 0xe
shr edx, 5
push 0x1f
pop ecx
and ecx, eax
mov dword [ebp - 0x10], esi
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 - 0xc], edx
mov dword [ebx + 0x5c], eax
cmp ecx, 0x11e
ja 0x489ca2
cmp dword [ebp - 0x3c], 0x1e
ja 0x489ca2
and dword [ebx + 0x68], 0
push 0x10
pop eax
mov dword [ebx], eax
mov eax, dword [ebx + 0x68]
jmp 0x489d02
mov dword [edi + 0x18], str.too_many_length_or_distance_symbols
jmp 0x48a5c6
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x48a66f
dec eax
mov ecx, esi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
add esi, 8
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], esi
cmp esi, 3
jb 0x489cae
mov eax, dword [ebx + 0x68]
mov ecx, edx
and ecx, 7
shr edx, 3
mov dword [ebp - 0xc], edx
movzx eax, word [eax*2 + 0x4db890]
mov word [ebx + eax*2 + 0x70], cx
mov eax, dword [ebx + 0x68]
inc eax
sub esi, 3
mov dword [ebx + 0x68], eax
mov dword [ebp - 0x10], esi
cmp eax, dword [ebx + 0x5c]
jb 0x489cd5
jmp 0x489d1f
movzx eax, word [eax*2 + 0x4db890]
xor ecx, ecx
mov word [ebx + eax*2 + 0x70], cx
mov eax, dword [ebx + 0x68]
inc eax
mov dword [ebx + 0x68], eax
cmp eax, 0x13
jb 0x489d09
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.0048a9bf
mov edx, dword [ebp - 0xc]
add esp, 0x18
mov dword [ebp - 0x28], eax
test eax, eax
je 0x489d6a
mov dword [edi + 0x18], str.invalid_code_lengths_set
jmp 0x48a5c6
and dword [ebx + 0x68], 0
push 0x11
pop eax
mov dword [ebx], eax
mov eax, dword [ebx + 0x64]
add eax, dword [ebx + 0x60]
cmp dword [ebx + 0x68], eax
jae 0x489fc8
jmp 0x489dab
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x48a66f
dec eax
mov ecx, esi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
add esi, 8
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], esi
mov ecx, dword [ebx + 0x54]
xor eax, eax
inc eax
shl eax, cl
mov ecx, dword [ebx + 0x4c]
dec eax
and eax, edx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0x2c], eax
cmp ecx, esi
ja 0x489d84
mov ecx, eax
shr ecx, 0x10
cmp cx, word [ebp - 0x40]
jae 0x489e36
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0x3c], ecx
cmp esi, ecx
jae 0x489e12
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x48a66a
mov edx, dword [ebp - 8]
dec ecx
mov dword [ebp - 0x14], ecx
mov ecx, esi
add esi, 8
mov dword [ebp - 0x10], esi
movzx edx, byte [edx]
shl edx, cl
add dword [ebp - 0xc], edx
inc dword [ebp - 8]
cmp esi, dword [ebp - 0x3c]
jb 0x489de5
mov edx, dword [ebp - 0xc]
movzx ecx, ah
mov ax, word [ebp - 0x2a]
sub esi, ecx
shr edx, cl
mov ecx, dword [ebx + 0x68]
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], esi
mov word [ebx + ecx*2 + 0x70], ax
inc dword [ebx + 0x68]
mov ecx, dword [ebx + 0x68]
jmp 0x489f9f
push 0x10
pop ecx
cmp word [ebp - 0x2a], cx
jne 0x489eb1
movzx ecx, ah
add ecx, 2
mov dword [ebp - 0x3c], ecx
cmp esi, ecx
jae 0x489e79
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x48a66a
mov edx, dword [ebp - 8]
dec ecx
mov dword [ebp - 0x14], ecx
mov ecx, esi
add esi, 8
mov dword [ebp - 0x10], esi
movzx edx, byte [edx]
shl edx, cl
add dword [ebp - 0xc], edx
inc dword [ebp - 8]
cmp esi, dword [ebp - 0x3c]
jb 0x489e4c
mov edx, dword [ebp - 0xc]
mov cl, ah
movzx eax, ah
sub esi, eax
shr edx, cl
mov eax, dword [ebx + 0x68]
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], esi
test eax, eax
je 0x489faf
movzx eax, word [ebx + eax*2 + 0x6e]
mov ecx, edx
and ecx, 3
shr edx, 2
add ecx, 3
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
sub esi, 2
jmp 0x489f5e
push 0x11
pop ecx
cmp word [ebp - 0x2a], cx
movzx ecx, ah
jne 0x489f07
add ecx, 3
mov dword [ebp - 0x3c], ecx
cmp esi, ecx
jae 0x489ef4
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x48a66a
mov edx, dword [ebp - 8]
dec ecx
mov dword [ebp - 0x14], ecx
mov ecx, esi
add esi, 8
mov dword [ebp - 0x10], esi
movzx edx, byte [edx]
shl edx, cl
add dword [ebp - 0xc], edx
inc dword [ebp - 8]
cmp esi, dword [ebp - 0x3c]
jb 0x489ec7
mov edx, dword [ebp - 0xc]
mov cl, ah
shr edx, cl
mov ecx, edx
and ecx, 7
add ecx, 3
shr edx, 3
push 0xfffffffffffffffd
jmp 0x489f4f
add ecx, 7
mov dword [ebp - 0x3c], ecx
cmp esi, ecx
jae 0x489f3e
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x48a66a
mov edx, dword [ebp - 8]
dec ecx
mov dword [ebp - 0x14], ecx
mov ecx, esi
add esi, 8
mov dword [ebp - 0x10], esi
movzx edx, byte [edx]
shl edx, cl
add dword [ebp - 0xc], edx
inc dword [ebp - 8]
cmp esi, dword [ebp - 0x3c]
jb 0x489f11
mov edx, dword [ebp - 0xc]
mov cl, ah
shr edx, cl
mov ecx, edx
and ecx, 0x7f
add ecx, 0xb
shr edx, 7
push 0xfffffffffffffff9
mov dword [ebp - 0x2c], ecx
movzx eax, ah
pop ecx
sub ecx, eax
add esi, ecx
and dword [ebp - 0x30], 0
mov eax, dword [ebx + 0x68]
mov ecx, dword [ebx + 0x64]
add ecx, dword [ebx + 0x60]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x3c]
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], esi
cmp eax, ecx
ja 0x489fbb
mov edi, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x30]
mov word [ebx + ecx*2 + 0x70], dx
mov ecx, dword [ebx + 0x68]
lea ecx, [ecx + 1]
mov dword [ebx + 0x68], ecx
sub edi, 1
jne 0x489f86
mov edx, dword [ebp - 0xc]
mov edi, dword [ebp + 8]
mov eax, dword [ebx + 0x64]
add eax, dword [ebx + 0x60]
cmp ecx, eax
jb 0x489dab
jmp 0x489fc8
mov dword [edi + 0x18], str.invalid_bit_length_repeat
jmp 0x48a5c6
mov dword [edi + 0x18], str.invalid_bit_length_repeat
mov dword [ebx], 0x1b
cmp dword [ebx], 0x1b
je 0x48a5cc
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.0048a9bf
add esp, 0x18
mov dword [ebp - 0x28], eax
test eax, eax
je 0x48a018
mov edx, dword [ebp - 0xc]
mov dword [edi + 0x18], str.invalid_literal_lengths_set
jmp 0x48a5c6
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.0048a9bf
mov edx, dword [ebp - 0xc]
add esp, 0x18
mov dword [ebp - 0x28], eax
test eax, eax
je 0x48a05f
mov dword [edi + 0x18], str.invalid_distances_set
jmp 0x48a5c6
mov dword [ebx], 0x12
cmp dword [ebp - 0x14], 6
jb 0x48a0c4
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x102
jb 0x48a0c4
mov eax, dword [ebp - 0x34]
mov edi, dword [ebp - 0x20]
push dword [ebp - 0x24]
mov dword [eax], edi
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 0x14]
push edi
mov dword [edi + 0x10], ecx
mov ecx, dword [ebp - 8]
mov dword [edi], ecx
mov dword [edi + 4], eax
mov dword [ebx + 0x38], edx
mov dword [ebx + 0x3c], esi
call fcn.00488fcd
mov eax, dword [ebp - 0x34]
mov edx, dword [ebx + 0x38]
mov esi, dword [ebx + 0x3c]
pop ecx
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [edi]
mov dword [ebp - 8], eax
mov eax, dword [edi + 4]
pop ecx
mov dword [ebp - 0x14], eax
jmp 0x489567
mov eax, dword [ebx + 0x4c]
mov ecx, dword [ebx + 0x54]
mov dword [ebp - 0x2c], eax
xor eax, eax
inc eax
shl eax, cl
mov ecx, dword [ebx + 0x4c]
dec eax
and eax, edx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
jbe 0x48a131
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x48a66f
dec eax
mov ecx, esi
mov dword [ebp - 0x14], eax
add esi, 8
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], esi
movzx eax, byte [eax]
shl eax, cl
mov ecx, dword [ebx + 0x54]
add edx, eax
inc dword [ebp - 8]
xor eax, eax
inc eax
mov dword [ebp - 0xc], edx
shl eax, cl
mov ecx, dword [ebp - 0x2c]
dec eax
and eax, edx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
ja 0x48a0ed
test al, al
je 0x48a1d2
test al, 0xf0
jne 0x48a1d2
mov ecx, eax
xor esi, esi
shr ecx, 8
inc esi
movzx edi, cl
mov edx, eax
movzx ecx, al
add ecx, edi
shr eax, 0x10
shl esi, cl
mov ecx, edi
dec esi
mov dword [ebp - 0x30], edx
and esi, dword [ebp - 0xc]
shr esi, cl
mov ecx, dword [ebp - 0x2c]
add esi, eax
mov eax, dword [ecx + esi*4]
jmp 0x48a1b4
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x48a66f
mov edi, dword [ebp - 8]
dec eax
mov ecx, esi
mov dword [ebp - 0x14], eax
add esi, 8
mov dword [ebp - 0x10], esi
xor esi, esi
movzx eax, byte [edi]
inc esi
shl eax, cl
add dword [ebp - 0xc], eax
inc edi
movzx eax, word [ebp - 0x2e]
mov dword [ebp - 8], edi
movzx edi, dh
movzx ecx, dl
add ecx, edi
shl esi, cl
mov ecx, edi
dec esi
and esi, dword [ebp - 0xc]
shr esi, cl
add esi, eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + esi*4]
mov esi, dword [ebp - 0x10]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, edi
cmp ecx, esi
ja 0x48a16d
mov edi, dword [ebp + 8]
movzx ecx, dh
mov edx, dword [ebp - 0xc]
shr edx, cl
sub esi, ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
shr edx, cl
sub esi, ecx
mov ecx, eax
mov dword [ebp - 0xc], edx
shr ecx, 0x10
mov dword [ebp - 0x10], esi
mov dword [ebx + 0x40], ecx
test al, al
jne 0x48a1fb
mov dword [ebx], 0x17
jmp 0x48a5cc
test al, 0x20
jne 0x489c16
test al, 0x40
je 0x48a213
mov dword [edi + 0x18], str.invalid_literal_length_code
jmp 0x48a5c6
movzx eax, al
and eax, 0xf
mov dword [ebx], 0x13
mov dword [ebx + 0x48], eax
mov edi, dword [ebx + 0x48]
test edi, edi
je 0x48a26d
jmp 0x48a252
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x48a66f
dec eax
mov ecx, esi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
add esi, 8
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], esi
cmp esi, edi
jb 0x48a22b
xor eax, eax
mov ecx, edi
inc eax
shl eax, cl
dec eax
and eax, edx
shr edx, cl
add dword [ebx + 0x40], eax
sub esi, edi
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], esi
mov dword [ebx], 0x14
mov ecx, dword [ebx + 0x58]
xor eax, eax
mov edi, dword [ebx + 0x50]
inc eax
shl eax, cl
dec eax
mov dword [ebp - 0x2c], edi
and eax, edx
mov eax, dword [edi + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
jbe 0x48a2d7
mov dword [ebp - 0x2c], edi
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x48a66f
dec eax
mov ecx, esi
mov dword [ebp - 0x14], eax
add esi, 8
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], esi
movzx eax, byte [eax]
shl eax, cl
mov ecx, dword [ebx + 0x58]
add edx, eax
inc dword [ebp - 8]
xor eax, eax
inc eax
mov dword [ebp - 0xc], edx
shl eax, cl
dec eax
and eax, edx
mov eax, dword [edi + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
ja 0x48a296
test al, 0xf0
jne 0x48a36d
mov ecx, eax
xor esi, esi
shr ecx, 8
inc esi
movzx edi, cl
mov edx, eax
movzx ecx, al
add ecx, edi
shr eax, 0x10
shl esi, cl
mov ecx, edi
dec esi
mov dword [ebp - 0x30], edx
and esi, dword [ebp - 0xc]
shr esi, cl
mov ecx, dword [ebp - 0x2c]
add esi, eax
mov eax, dword [ecx + esi*4]
jmp 0x48a352
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x48a66f
mov edi, dword [ebp - 8]
dec eax
mov ecx, esi
mov dword [ebp - 0x14], eax
add esi, 8
mov dword [ebp - 0x10], esi
xor esi, esi
movzx eax, byte [edi]
inc esi
shl eax, cl
add dword [ebp - 0xc], eax
inc edi
movzx eax, word [ebp - 0x2e]
mov dword [ebp - 8], edi
movzx edi, dh
movzx ecx, dl
add ecx, edi
shl esi, cl
mov ecx, edi
dec esi
and esi, dword [ebp - 0xc]
shr esi, cl
add esi, eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + esi*4]
mov esi, dword [ebp - 0x10]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, edi
cmp ecx, esi
ja 0x48a30b
movzx ecx, dh
mov edx, dword [ebp - 0xc]
shr edx, cl
sub esi, ecx
mov edi, dword [ebp + 8]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
shr edx, cl
sub esi, ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], esi
test al, 0x40
je 0x48a392
mov dword [edi + 0x18], str.invalid_distance_code
jmp 0x48a5c6
mov ecx, eax
mov dword [ebx], 0x15
shr ecx, 0x10
movzx eax, al
and eax, 0xf
mov dword [ebx + 0x44], ecx
mov dword [ebx + 0x48], eax
mov ecx, dword [ebx + 0x48]
test ecx, ecx
je 0x48a3fa
cmp esi, ecx
jae 0x48a3e5
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x48a66f
dec eax
mov ecx, esi
mov dword [ebp - 0x14], eax
add esi, 8
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], esi
movzx eax, byte [eax]
shl eax, cl
mov ecx, dword [ebp - 0x3c]
add edx, eax
inc dword [ebp - 8]
mov dword [ebp - 0xc], edx
cmp esi, ecx
jb 0x48a3b7
xor eax, eax
inc eax
shl eax, cl
dec eax
and eax, edx
shr edx, cl
add dword [ebx + 0x44], eax
sub esi, ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], esi
mov eax, dword [ebx + 0x2c]
sub eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
add eax, ecx
cmp dword [ebx + 0x44], eax
jbe 0x48a416
mov dword [edi + 0x18], str.invalid_distance_too_far_back
jmp 0x48a5c6
mov dword [ebx], 0x16
jmp 0x48a421
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x48a66a
sub ecx, eax
mov eax, dword [ebx + 0x44]
cmp eax, ecx
jbe 0x48a460
sub eax, ecx
mov ecx, dword [ebx + 0x30]
cmp eax, ecx
jbe 0x48a443
sub eax, ecx
mov ecx, dword [ebx + 0x28]
mov edx, dword [ebx + 0x40]
sub ecx, eax
add ecx, dword [ebx + 0x34]
cmp eax, edx
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x3c], edx
cmovbe edx, eax
mov dword [ebp - 0x30], edx
mov eax, edx
mov edx, dword [ebp - 0x3c]
jmp 0x48a46c
mov edi, dword [ebp - 0x20]
mov ecx, edi
mov edx, dword [ebx + 0x40]
sub ecx, eax
mov eax, edx
cmp eax, dword [ebp - 0x18]
cmova eax, dword [ebp - 0x18]
sub dword [ebp - 0x18], eax
sub edx, eax
mov dword [ebx + 0x40], edx
sub ecx, edi
mov dword [ebp - 0x30], eax
mov edx, eax
mov al, byte [ecx + edi]
mov byte [edi], al
inc edi
sub edx, 1
jne 0x48a482
cmp dword [ebx + 0x40], 0
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x20], edi
mov edi, dword [ebp + 8]
jne 0x48a5cc
mov dword [ebx], 0x12
jmp 0x48a5cc
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x48a66a
mov edi, dword [ebp - 0x20]
mov al, byte [ebx + 0x40]
inc dword [ebp - 0x20]
dec ecx
mov dword [ebp - 0x18], ecx
mov byte [edi], al
mov edi, dword [ebp + 8]
mov dword [ebx], 0x12
jmp 0x48a5cc
cmp dword [ebx + 8], 0
je 0x48a56e
jmp 0x48a506
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x48a66f
dec eax
mov ecx, esi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
add esi, 8
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], esi
cmp esi, 0x20
jb 0x48a4df
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x18]
sub ecx, eax
add dword [edi + 0x14], ecx
add dword [ebx + 0x1c], ecx
test ecx, ecx
je 0x48a548
mov eax, dword [ebp - 0x20]
sub eax, ecx
cmp dword [ebx + 0x10], 0
push ecx
push eax
push dword [ebx + 0x18]
je 0x48a534
call fcn.0048753b
jmp 0x48a539
call fcn.004872fa
mov edx, dword [ebp - 0xc]
add esp, 0xc
mov dword [ebx + 0x18], eax
mov dword [edi + 0x30], eax
mov eax, dword [ebp - 0x18]
cmp dword [ebx + 0x10], 0
mov dword [ebp - 0x24], eax
mov eax, edx
bswap eax
cmovne eax, edx
cmp eax, dword [ebx + 0x18]
je 0x48a564
mov dword [edi + 0x18], str.incorrect_data_check
jmp 0x48a5c6
xor edx, edx
xor esi, esi
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], esi
mov dword [ebx], 0x19
cmp dword [ebx + 8], 0
je 0x48a580
cmp dword [ebx + 0x10], 0
jne 0x48a5b5
mov ecx, dword [ebp - 0x10]
mov dword [ebx], 0x1a
jmp 0x48a60e
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x48a66f
dec eax
mov ecx, esi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
add esi, 8
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], esi
cmp esi, 0x20
jb 0x48a58e
cmp edx, dword [ebx + 0x1c]
je 0x48a600
mov dword [edi + 0x18], str.incorrect_length_check
mov dword [ebx], 0x1b
mov ecx, dword [ebx]
cmp ecx, 0x1d
jbe 0x489431
push 0xfffffffffffffffe
pop eax
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [ebp - 0x20]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 8]
mov dword [edi], eax
mov eax, dword [ebp - 0x14]
mov dword [edi + 4], eax
mov dword [ebx + 0x38], edx
mov dword [ebx + 0x3c], esi
push 2
jmp 0x48a5d9
and dword [ebp - 0xc], 0
xor ecx, ecx
jmp 0x48a583
mov ecx, dword [ebp - 0x10]
xor eax, eax
inc eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x24]
mov dword [esi + 0xc], edx
mov edx, dword [ebp - 0x18]
mov dword [esi + 0x10], edx
mov edx, dword [ebp - 8]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esi], edx
cmp dword [ebx + 0x28], 0
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], ecx
jne 0x48a64a
cmp dword [ebx], 0x18
jge 0x48a674
cmp edi, dword [esi + 0x10]
je 0x48a674
push edi
push esi
call fcn.0048a8e5
pop ecx
pop ecx
test eax, eax
je 0x48a674
mov dword [ebx], 0x1c
push 0xfffffffffffffffc
jmp 0x48a5d9
push 0xfffffffffffffffd
pop eax
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x10]
jmp 0x48a614
mov ecx, dword [ebp - 0x10]
jmp 0x48a617
mov eax, dword [ebp - 0x38]
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
cmp dword [ebx + 8], 0
mov dword [ebp - 0x38], eax
je 0x48a6b8
test edi, edi
je 0x48a6b8
mov eax, dword [esi + 0xc]
push edi
sub eax, edi
cmp dword [ebx + 0x10], 0
push eax
push dword [ebx + 0x18]
je 0x48a6aa
call fcn.0048753b
jmp 0x48a6af
call fcn.004872fa
mov dword [ebx + 0x18], eax
add esp, 0xc
mov dword [esi + 0x30], eax
mov ecx, dword [ebx + 4]
mov edx, 0x80
neg ecx
sbb ecx, ecx
xor eax, eax
and ecx, 0x40
cmp dword [ebx], 0xb
cmove eax, edx
add ecx, eax
add ecx, dword [ebx + 0x3c]
cmp dword [ebp - 0x38], 0
mov dword [esi + 0x2c], ecx
jne 0x48a6e1
test edi, edi
je 0x48a6e7
cmp dword [ebp + 0xc], 4
jne 0x48a6f7
mov eax, dword [ebp - 0x28]
test eax, eax
push 0xfffffffffffffffb
pop ecx
cmove eax, ecx
jmp 0x48a5da
mov eax, dword [ebp - 0x28]
jmp 0x48a5da