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

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x34
push edi
test ecx, ecx
je 0x4c0b89
mov edi, dword [ecx + 0x1c]
mov dword [esp + 0x28], edi
test edi, edi
je 0x4c0b89
cmp dword [ecx + 0xc], 0
je 0x4c0b89
cmp dword [ecx], 0
jne 0x4bf598
cmp dword [ecx + 4], 0
jne 0x4c0b89
cmp dword [edi], 0xb
jne 0x4bf5a3
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 + 0x20], eax
xor eax, eax
push ebp
mov ebp, dword [ecx + 4]
mov dword [esp + 0x28], eax
mov eax, dword [edi]
push esi
mov esi, dword [edi + 0x3c]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x40], ebp
cmp eax, 0x1e
ja case.default.0x4bf5e4
jmp dword [eax*4 + 0x4c0b94]
mov eax, dword [edi + 8]
test eax, eax
jne 0x4bf5fd
mov dword [edi], 0xc
jmp 0x4bf67c
cmp esi, 0x10
jae 0x4bf630
test ebp, ebp
je 0x4bfae6
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
add esi, 8
inc ebx
dec ebp
add edx, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], esi
cmp esi, 0x10
jb 0x4bf602
mov eax, dword [edi + 8]
mov ecx, dword [esp + 0x48]
test al, 2
je 0x4bf694
cmp edx, 0x8b1f
jne 0x4bf694
push 0
push 0
push 0
call fcn.004c1220
mov dword [edi + 0x18], eax
push 2
lea eax, [esp + 0x2c]
push eax
mov word [esp + 0x30], 0x8b1f
push dword [edi + 0x18]
call fcn.004c1220
xor edx, edx
add esp, 0x18
xor esi, esi
mov dword [edi + 0x18], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
mov dword [edi], 1
mov ecx, dword [esp + 0x48]
mov eax, dword [edi]
cmp eax, 0x1e
jbe switch.0x004bf5e4
pop esi
pop ebp
pop ebx
mov eax, 0xfffffffe
pop edi
add esp, 0x34
ret
mov eax, dword [edi + 0x20]
mov dword [edi + 0x10], 0
test eax, eax
je 0x4bf6a9
mov dword [eax + 0x30], 0xffffffff
test byte [edi + 8], 1
je 0x4bf772
movzx ecx, dl
mov eax, edx
shl ecx, 8
shr eax, 8
add eax, ecx
xor edx, edx
mov ecx, 0x1f
div ecx
test edx, edx
mov edx, dword [esp + 0x10]
jne 0x4bf76e
mov eax, edx
and al, 0xf
cmp al, 8
je 0x4bf6f0
mov ecx, dword [esp + 0x48]
mov dword [ecx + 0x18], str.unknown_compression_method
mov dword [edi], 0x1d
jmp 0x4bf67c
mov eax, dword [edi + 0x24]
shr edx, 4
mov ecx, edx
and ecx, 0xf
sub esi, 4
add ecx, 8
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
test eax, eax
jne 0x4bf754
mov dword [edi + 0x24], ecx
mov eax, 1
shl eax, cl
push 0
push 0
push 0
mov dword [edi + 0x14], eax
call fcn.004c0fb0
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x54]
shr edx, 8
not edx
and edx, 2
or edx, 9
mov dword [edi + 0x18], eax
mov dword [ecx + 0x30], eax
mov dword [edi], edx
xor edx, edx
add esp, 0xc
xor esi, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
jmp 0x4bf67c
cmp ecx, eax
jbe 0x4bf710
mov ecx, dword [esp + 0x48]
mov dword [ecx + 0x18], str.invalid_window_size
mov dword [edi], 0x1d
jmp 0x4bf67c
mov ecx, dword [esp + 0x48]
mov dword [ecx + 0x18], str.incorrect_header_check
mov dword [edi], 0x1d
jmp 0x4bf67c
cmp esi, 0x10
jae 0x4bf7bb
lea esp, [esp]
test ebp, ebp
je 0x4bfae6
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
add esi, 8
inc ebx
dec ebp
add edx, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], esi
cmp esi, 0x10
jb 0x4bf790
mov ecx, dword [esp + 0x48]
mov dword [edi + 0x10], edx
cmp dl, 8
je 0x4bf7d5
mov dword [ecx + 0x18], str.unknown_compression_method
mov dword [edi], 0x1d
jmp 0x4bf67c
test edx, 0xe000
je 0x4bf7ef
mov dword [ecx + 0x18], str.unknown_header_flags_set
mov dword [edi], 0x1d
jmp 0x4bf67c
mov ecx, dword [edi + 0x20]
test ecx, ecx
je 0x4bf800
mov eax, edx
shr eax, 8
and eax, 1
mov dword [ecx], eax
test dword [edi + 0x10], 0x200
je 0x4bf829
mov byte [esp + 0x1c], dl
push 2
lea eax, [esp + 0x20]
shr edx, 8
push eax
mov byte [esp + 0x25], dl
push dword [edi + 0x18]
call fcn.004c1220
add esp, 0xc
mov dword [edi + 0x18], eax
xor edx, edx
mov dword [esp + 0x10], edx
xor esi, esi
mov dword [edi], 2
jmp 0x4bf840
cmp esi, 0x20
jae 0x4bf863
mov edi, edi
test ebp, ebp
je 0x4bfae6
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add esi, 8
dec ebp
add edx, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
cmp esi, 0x20
jb 0x4bf840
mov eax, dword [edi + 0x20]
test eax, eax
je 0x4bf86d
mov dword [eax + 4], edx
test dword [edi + 0x10], 0x200
je 0x4bf8a8
mov eax, edx
shr eax, 8
mov byte [esp + 0x1d], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x1e], al
mov byte [esp + 0x1c], dl
push 4
lea eax, [esp + 0x20]
shr edx, 0x18
push eax
mov byte [esp + 0x27], dl
push dword [edi + 0x18]
call fcn.004c1220
add esp, 0xc
mov dword [edi + 0x18], eax
xor edx, edx
mov dword [esp + 0x10], edx
xor esi, esi
mov dword [edi], 3
jmp 0x4bf8c0
cmp esi, 0x10
jae 0x4bf8e3
lea ecx, [ecx]
test ebp, ebp
je 0x4bfae6
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add esi, 8
dec ebp
add edx, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
cmp esi, 0x10
jb 0x4bf8c0
mov ecx, dword [edi + 0x20]
test ecx, ecx
je 0x4bf8fb
movzx eax, dl
mov dword [ecx + 8], eax
mov eax, dword [edi + 0x20]
mov ecx, edx
shr ecx, 8
mov dword [eax + 0xc], ecx
test dword [edi + 0x10], 0x200
je 0x4bf924
mov byte [esp + 0x1c], dl
push 2
lea eax, [esp + 0x20]
shr edx, 8
push eax
mov byte [esp + 0x25], dl
push dword [edi + 0x18]
call fcn.004c1220
add esp, 0xc
mov dword [edi + 0x18], eax
xor edx, edx
xor esi, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
mov dword [edi], 4
test dword [edi + 0x10], 0x400
je 0x4bf9ad
cmp esi, 0x10
jae 0x4bf967
test ebp, ebp
je 0x4bfae6
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add esi, 8
dec ebp
add edx, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
cmp esi, 0x10
jb 0x4bf944
mov eax, dword [edi + 0x20]
mov dword [edi + 0x40], edx
test eax, eax
je 0x4bf974
mov dword [eax + 0x14], edx
test dword [edi + 0x10], 0x200
je 0x4bf99d
mov byte [esp + 0x1c], dl
push 2
lea eax, [esp + 0x20]
shr edx, 8
push eax
mov byte [esp + 0x25], dl
push dword [edi + 0x18]
call fcn.004c1220
add esp, 0xc
mov dword [edi + 0x18], eax
xor esi, esi
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], esi
jmp 0x4bf9bb
mov eax, dword [edi + 0x20]
test eax, eax
je 0x4bf9bb
mov dword [eax + 0x10], 0
mov dword [edi], 5
test dword [edi + 0x10], 0x400
je 0x4bfa52
mov ecx, dword [edi + 0x40]
cmp ecx, ebp
cmova ecx, ebp
mov dword [esp + 0x38], ecx
test ecx, ecx
je 0x4bfa48
mov edx, dword [edi + 0x20]
test edx, edx
je 0x4bfa20
mov eax, dword [edx + 0x10]
mov dword [esp + 0x30], eax
test eax, eax
je 0x4bfa20
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 0x4bfa0b
sub edx, eax
jmp 0x4bfa0d
mov edx, ecx
add eax, dword [esp + 0x30]
push edx
push ebx
push eax
call fcn.004c3f80
mov ecx, dword [esp + 0x44]
add esp, 0xc
test dword [edi + 0x10], 0x200
je 0x4bfa39
push ecx
push ebx
push dword [edi + 0x18]
call fcn.004c1220
add esp, 0xc
mov dword [edi + 0x18], eax
mov eax, dword [esp + 0x38]
add ebx, eax
sub ebp, eax
sub dword [edi + 0x40], eax
mov dword [esp + 0x14], ebx
cmp dword [edi + 0x40], 0
jne 0x4bfae6
mov dword [edi + 0x40], 0
mov dword [edi], 6
test dword [edi + 0x10], 0x800
je 0x4bfb68
test ebp, ebp
je 0x4bfae6
xor ecx, ecx
movzx eax, byte [ecx + ebx]
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0x20]
inc ecx
test eax, eax
je 0x4bfaa1
mov edx, dword [eax + 0x1c]
test edx, edx
je 0x4bfaa1
mov esi, dword [edi + 0x40]
cmp esi, dword [eax + 0x20]
jae 0x4bfaa1
mov ebx, dword [esp + 0x38]
mov eax, esi
mov byte [edx + eax], bl
inc dword [edi + 0x40]
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4bfaad
cmp ecx, ebp
jb 0x4bfa72
test dword [edi + 0x10], 0x200
mov esi, dword [esp + 0x18]
mov dword [esp + 0x3c], ecx
je 0x4bfad6
push ecx
push ebx
push dword [edi + 0x18]
call fcn.004c1220
mov ecx, dword [esp + 0x48]
mov dword [edi + 0x18], eax
mov eax, dword [esp + 0x44]
add esp, 0xc
add ebx, ecx
sub ebp, ecx
mov dword [esp + 0x14], ebx
test eax, eax
je 0x4bfb76
mov ecx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x48]
mov eax, dword [esp + 0x24]
mov dword [ebx + 0xc], eax
mov eax, dword [esp + 0x20]
mov dword [ebx + 0x10], eax
mov eax, dword [esp + 0x14]
mov dword [ebx], eax
mov eax, dword [esp + 0x10]
mov dword [ebx + 4], ebp
cmp dword [edi + 0x28], 0
mov ebp, dword [esp + 0x28]
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], esi
jne 0x4bfb3b
cmp ebp, dword [ebx + 0x10]
je 0x4c0ad4
mov eax, dword [edi]
cmp eax, 0x1d
jge 0x4c0ad4
cmp eax, 0x1a
jl 0x4bfb3b
cmp ecx, 4
je 0x4c0ad4
mov eax, ebp
sub eax, dword [ebx + 0x10]
push eax
push dword [ebx + 0xc]
push ebx
call fcn.004c0ec0
add esp, 0xc
test eax, eax
je 0x4c0ad4
mov dword [edi], 0x1e
pop esi
pop ebp
pop ebx
mov eax, 0xfffffffc
pop edi
add esp, 0x34
ret
mov eax, dword [edi + 0x20]
test eax, eax
je 0x4bfb76
mov dword [eax + 0x1c], 0
mov dword [edi + 0x40], 0
mov dword [edi], 7
test dword [edi + 0x10], 0x1000
je 0x4bfc16
test ebp, ebp
je 0x4bfae6
xor ecx, ecx
lea ebx, [ebx]
movzx eax, byte [ecx + ebx]
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0x20]
inc ecx
test eax, eax
je 0x4bfbcf
mov edx, dword [eax + 0x24]
test edx, edx
je 0x4bfbcf
mov esi, dword [edi + 0x40]
cmp esi, dword [eax + 0x28]
jae 0x4bfbcf
mov ebx, dword [esp + 0x38]
mov eax, esi
mov byte [edx + eax], bl
inc dword [edi + 0x40]
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4bfbdb
cmp ecx, ebp
jb 0x4bfba0
test dword [edi + 0x10], 0x200
mov esi, dword [esp + 0x18]
mov dword [esp + 0x3c], ecx
je 0x4bfc04
push ecx
push ebx
push dword [edi + 0x18]
call fcn.004c1220
mov ecx, dword [esp + 0x48]
mov dword [edi + 0x18], eax
mov eax, dword [esp + 0x44]
add esp, 0xc
add ebx, ecx
sub ebp, ecx
mov dword [esp + 0x14], ebx
test eax, eax
jne 0x4bfae6
jmp 0x4bfc24
mov eax, dword [edi + 0x20]
test eax, eax
je 0x4bfc24
mov dword [eax + 0x24], 0
mov edx, dword [esp + 0x10]
mov dword [edi], 8
test dword [edi + 0x10], 0x200
je 0x4bfc93
cmp esi, 0x10
jae 0x4bfc67
lea esp, [esp]
test ebp, ebp
je 0x4bfae6
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
add esi, 8
inc ebx
dec ebp
add edx, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], esi
cmp esi, 0x10
jb 0x4bfc40
movzx eax, word [edi + 0x18]
cmp edx, eax
je 0x4bfc85
mov ecx, dword [esp + 0x48]
mov dword [ecx + 0x18], str.header_crc_mismatch
mov dword [edi], 0x1d
jmp 0x4bf67c
xor esi, esi
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], esi
mov ecx, dword [edi + 0x20]
test ecx, ecx
je 0x4bfcb0
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
push 0
push 0
call fcn.004c1220
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x1c]
mov dword [edi + 0x18], eax
mov dword [ecx + 0x30], eax
add esp, 0xc
mov dword [edi], 0xb
jmp 0x4bf67c
cmp esi, 0x20
jae 0x4bfd03
lea esp, [esp]
test ebp, ebp
je 0x4bfae6
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add esi, 8
dec ebp
add edx, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
cmp esi, 0x20
jb 0x4bfce0
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
mov ecx, dword [esp + 0x48]
shr edx, 0x18
add eax, edx
xor edx, edx
mov dword [edi + 0x18], eax
mov dword [ecx + 0x30], eax
mov dword [esp + 0x10], edx
xor esi, esi
mov dword [edi], 0xa
cmp dword [edi + 0xc], 0
je 0x4c0a74
push 0
push 0
push 0
call fcn.004c0fb0
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x1c]
mov dword [edi + 0x18], eax
mov dword [ecx + 0x30], eax
add esp, 0xc
mov dword [edi], 0xb
mov eax, dword [esp + 0x4c]
cmp eax, 5
je 0x4c0acd
cmp eax, 6
je 0x4c0acd
cmp dword [edi + 4], 0
je 0x4bfda2
mov ecx, esi
and ecx, 7
shr edx, cl
sub esi, ecx
mov dword [esp + 0x18], esi
mov dword [edi], 0x1a
mov dword [esp + 0x10], edx
jmp 0x4bf678
cmp esi, 3
jae 0x4bfdca
test ebp, ebp
je 0x4bfae6
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add esi, 8
dec ebp
add edx, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
cmp esi, 3
jb 0x4bfda7
mov eax, edx
and eax, 1
shr edx, 1
mov dword [edi + 4], eax
mov eax, edx
and eax, 3
cmp eax, 3
ja case.default.0x4bfdde
jmp dword [eax*4 + 0x4c0c10]
mov dword [edi], 0xd
mov ecx, dword [esp + 0x48]
shr edx, 2
sub esi, 3
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
jmp 0x4bf67c
mov ecx, dword [esp + 0x4c]
mov dword [edi + 0x4c], 0x514180
mov dword [edi + 0x54], 9
mov dword [edi + 0x50], 0x514980
mov dword [edi + 0x58], 5
mov dword [edi], 0x13
cmp ecx, 6
jne case.default.0x4bfdde
shr edx, 2
mov dword [esp + 0x10], edx
sub esi, 3
jmp 0x4bfaea
mov ecx, dword [esp + 0x48]
shr edx, 2
sub esi, 3
mov dword [edi], 0x10
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
jmp 0x4bf67c
mov ecx, dword [esp + 0x48]
shr edx, 2
sub esi, 3
mov dword [ecx + 0x18], str.invalid_block_type
mov dword [edi], 0x1d
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
jmp 0x4bf67c
mov ecx, esi
and ecx, 7
shr edx, cl
sub esi, ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], edx
cmp esi, 0x20
jae 0x4bfeba
test ebp, ebp
je 0x4bfae6
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
add esi, 8
inc ebx
dec ebp
add edx, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], esi
cmp esi, 0x20
jb 0x4bfe93
mov eax, edx
mov ecx, edx
not eax
and ecx, 0xffff
shr eax, 0x10
cmp ecx, eax
je 0x4bfee3
mov ecx, dword [esp + 0x48]
mov dword [ecx + 0x18], str.invalid_stored_block_lengths
mov dword [edi], 0x1d
jmp 0x4bf67c
mov dword [edi + 0x40], ecx
mov ecx, dword [esp + 0x4c]
xor edx, edx
xor esi, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
mov dword [edi], 0xe
cmp ecx, 6
je 0x4bfaea
mov ecx, dword [esp + 0x48]
mov dword [edi], 0xf
mov eax, dword [edi + 0x40]
test eax, eax
je 0x4bff5e
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 0x4bfae6
push eax
push ebx
push dword [esp + 0x2c]
call fcn.004c3f80
mov eax, dword [esp + 0x48]
sub dword [esp + 0x2c], eax
add dword [esp + 0x30], eax
mov edx, dword [esp + 0x1c]
add ebx, eax
add esp, 0xc
sub ebp, eax
sub dword [edi + 0x40], eax
mov dword [esp + 0x14], ebx
jmp 0x4bf678
mov dword [edi], 0xb
jmp 0x4bf67c
cmp esi, 0xe
jae 0x4bff97
mov edi, edi
test ebp, ebp
je 0x4bfae6
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add esi, 8
dec ebp
add edx, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
cmp esi, 0xe
jb 0x4bff70
mov ecx, dword [esp + 0x48]
mov eax, edx
and eax, 0x1f
add eax, 0x101
mov dword [edi + 0x60], eax
shr edx, 5
mov eax, edx
and eax, 0x1f
inc eax
shr edx, 5
mov dword [edi + 0x64], eax
mov eax, edx
and eax, 0xf
add eax, 4
shr edx, 4
sub esi, 0xe
cmp dword [edi + 0x60], 0x11e
mov dword [edi + 0x5c], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
ja 0x4c00cd
cmp dword [edi + 0x64], 0x1e
ja 0x4c00cd
mov dword [edi + 0x68], 0
mov dword [edi], 0x11
mov eax, dword [edi + 0x68]
cmp eax, dword [edi + 0x5c]
jae 0x4c0051
cmp esi, 3
jae 0x4c0023
lea ecx, [ecx]
test ebp, ebp
je 0x4bfae6
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
add esi, 8
dec ebp
add edx, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
cmp esi, 3
jb 0x4c0000
mov eax, dword [edi + 0x68]
mov ecx, edx
movzx eax, word [eax*2 + 0x514a00]
and ecx, 7
mov word [edi + eax*2 + 0x70], cx
inc dword [edi + 0x68]
mov eax, dword [edi + 0x68]
shr edx, 3
sub esi, 3
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
cmp eax, dword [edi + 0x5c]
jb 0x4bfff8
cmp dword [edi + 0x68], 0x13
jae 0x4c007b
jmp 0x4c0060
mov eax, dword [edi + 0x68]
xor ecx, ecx
movzx eax, word [eax*2 + 0x514a00]
mov word [edi + eax*2 + 0x70], cx
inc dword [edi + 0x68]
cmp dword [edi + 0x68], 0x13
jb 0x4c0060
lea edx, [edi + 0x6c]
lea eax, [edi + 0x530]
mov dword [edx], eax
mov dword [edi + 0x4c], eax
lea eax, [edi + 0x2f0]
push eax
lea ecx, [edi + 0x54]
push ecx
push edx
push 0x13
lea eax, [edi + 0x70]
push eax
push 0
mov dword [ecx], 7
call fcn.004c1500
mov edx, dword [esp + 0x28]
add esp, 0x18
mov dword [esp + 0x2c], eax
test eax, eax
je 0x4c00df
mov ecx, dword [esp + 0x48]
mov dword [ecx + 0x18], str.invalid_code_lengths_set
mov dword [edi], 0x1d
jmp 0x4bf67c
mov dword [ecx + 0x18], str.too_many_length_or_distance_symbols
mov dword [edi], 0x1d
jmp 0x4bf67c
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 0x4c0317
mov ecx, dword [edi + 0x54]
mov eax, 1
shl eax, cl
mov ecx, dword [edi + 0x4c]
dec eax
mov dword [esp + 0x30], eax
and eax, edx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [esp + 0x3c], eax
cmp ecx, esi
jbe 0x4c0162
test ebp, ebp
je 0x4bfae6
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
mov ecx, dword [edi + 0x4c]
inc ebx
add esi, 8
add edx, eax
mov eax, dword [esp + 0x30]
and eax, edx
dec ebp
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x3c], eax
cmp ecx, esi
ja 0x4c0128
mov ecx, eax
shr ecx, 0x10
mov dword [esp + 0x30], ecx
cmp cx, 0x10
jae 0x4c0198
shr eax, 8
movzx ecx, al
mov eax, dword [esp + 0x30]
shr edx, cl
sub esi, ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x18], esi
mov word [edi + ecx*2 + 0x70], ax
inc dword [edi + 0x68]
mov dword [esp + 0x10], edx
jmp 0x4c0302
jne 0x4c0211
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, 2
mov dword [esp + 0x3c], ecx
cmp esi, ecx
jae 0x4c01d6
lea ecx, [ecx]
test ebp, ebp
je 0x4bfae6
movzx edx, byte [ebx]
mov ecx, esi
shl edx, cl
inc ebx
add esi, 8
dec ebp
add dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
cmp esi, dword [esp + 0x3c]
jb 0x4c01b0
mov edx, dword [esp + 0x10]
movzx ecx, ah
mov eax, dword [esp + 0x38]
shr edx, cl
sub esi, ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], edx
test eax, eax
je 0x4c0340
movzx eax, word [edi + eax*2 + 0x6e]
mov dword [esp + 0x3c], eax
mov eax, edx
and eax, 3
add eax, 3
shr edx, 2
mov dword [esp + 0x30], eax
sub esi, 2
jmp 0x4c02c2
cmp word [esp + 0x3e], 0x11
movzx ecx, ah
jne 0x4c0268
lea eax, [ecx + 3]
mov dword [esp + 0x3c], ecx
cmp esi, eax
jae 0x4c0250
test ebp, ebp
je 0x4bfae6
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
mov ecx, dword [esp + 0x3c]
inc ebx
add esi, 8
add edx, eax
lea eax, [ecx + 3]
dec ebp
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
cmp esi, eax
jb 0x4c0227
shr edx, cl
mov eax, edx
and eax, 7
add eax, 3
mov dword [esp + 0x30], eax
shr edx, 3
mov eax, 0xfffffffd
jmp 0x4c02b2
lea eax, [ecx + 7]
mov dword [esp + 0x3c], ecx
cmp esi, eax
jae 0x4c029c
test ebp, ebp
je 0x4bfae6
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
mov ecx, dword [esp + 0x3c]
inc ebx
add esi, 8
add edx, eax
lea eax, [ecx + 7]
dec ebp
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
cmp esi, eax
jb 0x4c0273
shr edx, cl
mov eax, edx
and eax, 0x7f
add eax, 0xb
mov dword [esp + 0x30], eax
shr edx, 7
mov eax, 0xfffffff9
sub eax, ecx
add esi, eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x3c], 0
mov ecx, dword [edi + 0x64]
add ecx, dword [edi + 0x60]
add eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
cmp eax, ecx
ja 0x4c0340
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x4c0302
mov ebx, dword [esp + 0x3c]
jmp 0x4c02f0
mov eax, dword [edi + 0x68]
mov word [edi + eax*2 + 0x70], bx
inc dword [edi + 0x68]
dec ecx
jne 0x4c02f0
mov ebx, dword [esp + 0x14]
mov eax, dword [edi + 0x64]
mov ecx, dword [edi + 0x68]
add eax, dword [edi + 0x60]
mov dword [esp + 0x38], ecx
cmp ecx, eax
jb 0x4c0101
cmp dword [edi], 0x1d
je 0x4bf678
cmp word [edi + 0x270], 0
jne 0x4c0356
mov ecx, dword [esp + 0x48]
mov dword [ecx + 0x18], str.invalid_code____missing_end_of_block
mov dword [edi], 0x1d
jmp 0x4bf67c
mov ecx, dword [esp + 0x48]
mov dword [ecx + 0x18], str.invalid_bit_length_repeat
mov dword [edi], 0x1d
jmp 0x4bf67c
lea ecx, [edi + 0x6c]
lea eax, [edi + 0x530]
mov dword [ecx], eax
mov dword [edi + 0x4c], eax
lea edx, [edi + 0x2f0]
push edx
lea eax, [edi + 0x54]
push eax
push ecx
push dword [edi + 0x60]
mov dword [eax], 9
lea eax, [edi + 0x70]
push eax
push 1
call fcn.004c1500
add esp, 0x18
mov dword [esp + 0x2c], eax
test eax, eax
je 0x4c03a9
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x10]
mov dword [ecx + 0x18], str.invalid_literal_lengths_set
mov dword [edi], 0x1d
jmp 0x4bf67c
mov eax, dword [edi + 0x6c]
lea ecx, [edi + 0x6c]
mov dword [edi + 0x50], eax
lea eax, [edi + 0x58]
lea edx, [edi + 0x2f0]
push edx
push eax
mov dword [eax], 6
mov eax, dword [edi + 0x60]
push ecx
push dword [edi + 0x64]
add eax, 0x38
lea eax, [edi + eax*2]
push eax
push 2
call fcn.004c1500
add esp, 0x18
mov dword [esp + 0x2c], eax
test eax, eax
je 0x4c03fd
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x10]
mov dword [ecx + 0x18], str.invalid_distances_set
mov dword [edi], 0x1d
jmp 0x4bf67c
mov ecx, dword [esp + 0x4c]
mov dword [edi], 0x13
cmp ecx, 6
je 0x4bfaea
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x48]
mov dword [edi], 0x14
cmp ebp, 6
jb 0x4c0494
cmp dword [esp + 0x20], 0x102
jb 0x4c0494
mov eax, dword [esp + 0x24]
push dword [esp + 0x28]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x24]
mov dword [ecx + 0x10], eax
mov dword [ecx], ebx
mov dword [ecx + 4], ebp
push ecx
mov dword [edi + 0x38], edx
mov dword [edi + 0x3c], esi
call fcn.004c1a70
mov ecx, dword [esp + 0x50]
mov edx, dword [edi + 0x38]
mov eax, dword [ecx + 0xc]
mov ebx, dword [ecx]
mov esi, dword [edi + 0x3c]
mov ebp, dword [ecx + 4]
mov dword [esp + 0x2c], eax
mov eax, dword [ecx + 0x10]
add esp, 8
cmp dword [edi], 0xb
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
jne 0x4bf67c
mov dword [edi + 0x1bc4], 0xffffffff
jmp 0x4bf67c
mov ecx, dword [edi + 0x54]
mov eax, 1
shl eax, cl
mov ecx, dword [edi + 0x4c]
mov dword [edi + 0x1bc4], 0
mov dword [esp + 0x38], ecx
dec eax
mov dword [esp + 0x3c], eax
and eax, edx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
jbe 0x4c04fb
test ebp, ebp
je 0x4bfae6
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
mov ecx, dword [edi + 0x4c]
inc ebx
add esi, 8
add edx, eax
mov eax, dword [esp + 0x3c]
and eax, edx
dec ebp
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
cmp ecx, esi
ja 0x4c04c5
test al, al
je 0x4c05c0
test al, 0xf0
jne 0x4c05c0
mov ecx, eax
shr ecx, 8
movzx edi, cl
mov dword [esp + 0x30], ecx
movzx ecx, al
add ecx, edi
mov ebx, 1
shl ebx, cl
mov ecx, edi
mov edx, eax
shr eax, 0x10
dec ebx
and ebx, dword [esp + 0x10]
mov dword [esp + 0x3c], edx
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 + 0x30]
movzx ecx, cl
add edi, ecx
cmp edi, esi
jbe 0x4c05a7
test ebp, ebp
je 0x4c0ac4
mov ebx, dword [esp + 0x14]
mov ecx, esi
movzx eax, byte [ebx]
shl eax, cl
inc ebx
mov dword [esp + 0x14], ebx
movzx ebx, dh
add dword [esp + 0x10], eax
movzx eax, word [esp + 0x3e]
movzx ecx, dl
add ecx, ebx
mov edi, 1
shl edi, cl
mov ecx, ebx
add esi, 8
dec ebp
dec edi
and edi, dword [esp + 0x10]
shr edi, cl
add edi, eax
mov eax, dword [esp + 0x38]
mov eax, dword [eax + edi*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, ebx
cmp ecx, esi
ja 0x4c0553
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x14]
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
shr edx, cl
sub esi, ecx
mov ecx, eax
shr ecx, 0x10
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
mov dword [edi + 0x40], ecx
test al, al
jne 0x4c05f1
mov dword [edi], 0x19
jmp 0x4bf678
test al, 0x20
je 0x4c060a
mov dword [edi + 0x1bc4], 0xffffffff
mov dword [edi], 0xb
jmp 0x4bf678
test al, 0x40
je 0x4c0624
mov ecx, dword [esp + 0x48]
mov dword [ecx + 0x18], str.invalid_literal_length_code
mov dword [edi], 0x1d
jmp 0x4bf67c
movzx eax, al
and eax, 0xf
mov dword [edi + 0x48], eax
mov dword [edi], 0x15
mov ecx, dword [edi + 0x48]
test ecx, ecx
je 0x4c0680
cmp esi, ecx
jae 0x4c0665
mov edi, edi
test ebp, ebp
je 0x4bfae6
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
mov ecx, dword [edi + 0x48]
inc ebx
add esi, 8
add edx, eax
dec ebp
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
cmp esi, ecx
jb 0x4c0640
mov eax, 1
shl eax, cl
sub esi, ecx
dec eax
and eax, edx
add dword [edi + 0x40], eax
shr edx, cl
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 ecx, dword [edi + 0x58]
mov eax, 1
shl eax, cl
mov ecx, dword [edi + 0x50]
mov dword [esp + 0x38], ecx
dec eax
mov dword [esp + 0x3c], eax
and eax, edx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
jbe 0x4c06ec
test ebp, ebp
je 0x4bfae6
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
mov ecx, dword [edi + 0x50]
inc ebx
add esi, 8
add edx, eax
mov eax, dword [esp + 0x3c]
and eax, edx
dec ebp
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
cmp ecx, esi
ja 0x4c06b6
test al, 0xf0
jne 0x4c07a9
mov ecx, eax
shr ecx, 8
movzx edi, cl
mov dword [esp + 0x30], ecx
movzx ecx, al
add ecx, edi
mov ebx, 1
shl ebx, cl
mov ecx, edi
mov edx, eax
shr eax, 0x10
dec ebx
and ebx, dword [esp + 0x10]
mov dword [esp + 0x3c], edx
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 + 0x30]
movzx ecx, cl
add edi, ecx
cmp edi, esi
jbe 0x4c0794
lea esp, [esp]
test ebp, ebp
je 0x4c0ac4
mov ebx, dword [esp + 0x14]
mov ecx, esi
movzx eax, byte [ebx]
shl eax, cl
inc ebx
mov dword [esp + 0x14], ebx
movzx ebx, dh
add dword [esp + 0x10], eax
movzx eax, word [esp + 0x3e]
movzx ecx, dl
add ecx, ebx
mov edi, 1
shl edi, cl
mov ecx, ebx
add esi, 8
dec ebp
dec edi
and edi, dword [esp + 0x10]
shr edi, cl
add edi, eax
mov eax, dword [esp + 0x38]
mov eax, dword [eax + edi*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, ebx
cmp ecx, esi
ja 0x4c0740
mov edi, dword [esp + 0x34]
movzx ecx, dh
mov edx, dword [esp + 0x10]
shr edx, cl
sub esi, ecx
add dword [edi + 0x1bc4], ecx
mov ebx, dword [esp + 0x14]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [edi + 0x1bc4], ecx
shr edx, cl
sub esi, ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], edx
test al, 0x40
je 0x4c07e1
mov ecx, dword [esp + 0x48]
mov dword [ecx + 0x18], str.invalid_distance_code
mov dword [edi], 0x1d
jmp 0x4bf67c
mov ecx, eax
movzx eax, al
shr ecx, 0x10
and eax, 0xf
mov dword [edi + 0x44], ecx
mov dword [edi + 0x48], eax
mov dword [edi], 0x17
mov ecx, dword [edi + 0x48]
test ecx, ecx
je 0x4c0847
cmp esi, ecx
jae 0x4c0828
test ebp, ebp
je 0x4bfae6
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
mov ecx, dword [edi + 0x48]
inc ebx
add esi, 8
add edx, eax
dec ebp
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
cmp esi, ecx
jb 0x4c0803
mov eax, 1
shl eax, cl
sub esi, ecx
mov dword [esp + 0x18], esi
dec eax
and eax, edx
add dword [edi + 0x44], eax
shr edx, cl
add dword [edi + 0x1bc4], ecx
mov dword [esp + 0x10], edx
mov dword [edi], 0x18
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x4bfae6
mov eax, dword [esp + 0x28]
sub eax, ecx
mov ecx, dword [edi + 0x44]
cmp ecx, eax
jbe 0x4c08b4
sub ecx, eax
cmp ecx, dword [edi + 0x2c]
jbe 0x4c088c
cmp dword [edi + 0x1bc0], 0
je 0x4c088c
mov ecx, dword [esp + 0x48]
mov dword [ecx + 0x18], str.invalid_distance_too_far_back
mov dword [edi], 0x1d
jmp 0x4bf67c
mov eax, dword [edi + 0x30]
cmp ecx, eax
jbe 0x4c089f
sub ecx, eax
mov eax, dword [edi + 0x34]
add eax, dword [edi + 0x28]
sub eax, ecx
jmp 0x4c08a7
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 0x4c08c3
jmp 0x4c08c1
mov eax, dword [esp + 0x24]
sub eax, ecx
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0x40]
mov ecx, eax
mov ebx, dword [esp + 0x20]
cmp ecx, ebx
cmova ecx, ebx
sub ebx, ecx
sub eax, ecx
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x3c]
mov dword [edi + 0x40], eax
mov edi, dword [esp + 0x24]
sub ebx, edi
mov al, byte [ebx + edi]
mov byte [edi], al
inc edi
dec ecx
jne 0x4c08e1
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x34]
cmp dword [edi + 0x40], 0
jne 0x4bf67c
mov dword [edi], 0x14
jmp 0x4bf67c
cmp dword [esp + 0x20], 0
je 0x4bfae6
mov ebx, dword [esp + 0x24]
mov al, byte [edi + 0x40]
inc dword [esp + 0x24]
dec dword [esp + 0x20]
mov byte [ebx], al
mov ebx, dword [esp + 0x14]
mov dword [edi], 0x14
jmp 0x4bf67c
cmp dword [edi + 8], 0
je 0x4c0a1b
cmp esi, 0x20
jae 0x4c097b
lea esp, [esp]
test ebp, ebp
je 0x4bfae6
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
add esi, 8
inc ebx
dec ebp
add edx, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], esi
cmp esi, 0x20
jb 0x4c0950
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
add dword [ecx + 0x14], eax
add dword [edi + 0x1c], eax
mov dword [esp + 0x28], eax
test eax, eax
je 0x4c09c1
push eax
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x2c]
cmp dword [edi + 0x10], 0
push eax
push dword [edi + 0x18]
je 0x4c09ab
call fcn.004c1220
jmp 0x4c09b0
call fcn.004c0fb0
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x1c]
mov dword [edi + 0x18], eax
add esp, 0xc
mov dword [ecx + 0x30], eax
cmp dword [edi + 0x10], 0
mov eax, dword [esp + 0x20]
mov dword [esp + 0x28], eax
mov ecx, edx
jne 0x4c09f4
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 0x4c0a0f
mov ecx, dword [esp + 0x48]
mov dword [ecx + 0x18], str.incorrect_data_check
mov dword [edi], 0x1d
jmp 0x4bf67c
xor edx, edx
xor esi, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
mov dword [edi], 0x1b
cmp dword [edi + 8], 0
je 0x4c0aa4
cmp dword [edi + 0x10], 0
je 0x4c0aa4
cmp esi, 0x20
jae 0x4c0a59
test ebp, ebp
je 0x4bfae6
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
add esi, 8
inc ebx
dec ebp
add edx, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], esi
cmp esi, 0x20
jb 0x4c0a32
cmp edx, dword [edi + 0x1c]
je 0x4c0a9a
mov ecx, dword [esp + 0x48]
mov dword [ecx + 0x18], str.incorrect_length_check
mov dword [edi], 0x1d
jmp 0x4bf67c
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 + 0x3c], esi
pop esi
pop ebp
pop ebx
mov dword [edi + 0x38], edx
mov eax, 2
pop edi
add esp, 0x34
ret
mov dword [esp + 0x10], 0
xor esi, esi
mov dword [edi], 0x1c
mov dword [esp + 0x2c], 1
jmp 0x4bfae6
mov dword [esp + 0x2c], 0xfffffffd
jmp 0x4bfae6
mov edi, dword [esp + 0x34]
jmp 0x4bfae6
mov ecx, eax
jmp 0x4bfaea
mov eax, dword [esp + 0x40]
sub eax, dword [ebx + 4]
sub ebp, dword [ebx + 0x10]
add dword [ebx + 8], eax
add dword [ebx + 0x14], ebp
add dword [edi + 0x1c], ebp
cmp dword [edi + 8], 0
mov dword [esp + 0x40], eax
je 0x4c0b1a
test ebp, ebp
je 0x4c0b1a
mov eax, dword [ebx + 0xc]
push ebp
sub eax, ebp
cmp dword [edi + 0x10], 0
push eax
push dword [edi + 0x18]
je 0x4c0b0c
call fcn.004c1220
jmp 0x4c0b11
call fcn.004c0fb0
mov dword [edi + 0x18], eax
add esp, 0xc
mov dword [ebx + 0x30], eax
mov edx, dword [edi]
cmp edx, 0x13
je 0x4c0b2a
cmp edx, 0xe
je 0x4c0b2a
xor esi, esi
jmp 0x4c0b2f
mov esi, 0x100
mov ecx, dword [edi + 4]
neg ecx
sbb ecx, ecx
xor eax, eax
and ecx, 0x40
cmp edx, 0xb
mov dword [esp + 0x48], 0x80
cmove eax, dword [esp + 0x48]
add ecx, esi
add eax, ecx
add eax, dword [edi + 0x3c]
cmp dword [esp + 0x40], 0
mov dword [ebx + 0x2c], eax
jne 0x4c0b60
test ebp, ebp
je 0x4c0b67
cmp dword [esp + 0x4c], 4
jne 0x4c0b7d
mov eax, dword [esp + 0x2c]
pop esi
pop ebp
mov ecx, 0xfffffffb
test eax, eax
pop ebx
cmove eax, ecx
pop edi
add esp, 0x34
ret
mov eax, dword [esp + 0x2c]
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x34
ret
mov eax, 0xfffffffe
pop edi
add esp, 0x34
ret