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

Disassembly:
sub esp, 0x40
push ebx
push ebp
push esi
mov esi, dword [esp + 0x50]
push edi
test esi, esi
je case.0x4b8ae9.16211
cmp dword [esi + 0x20], 0
je case.0x4b8ae9.16211
cmp dword [esi + 0x24], 0
je case.0x4b8ae9.16211
mov eax, dword [esi + 0x1c]
test eax, eax
je case.0x4b8ae9.16211
cmp dword [eax], esi
jne case.0x4b8ae9.16211
mov eax, dword [eax + 4]
sub eax, 0x3f34
cmp eax, 0x1f
ja case.0x4b8ae9.16211
cmp dword [esi + 0xc], 0
lea eax, [esi + 0xc]
je case.0x4b8ae9.16211
cmp dword [esi], 0
jne 0x4b8a7c
cmp dword [esi + 4], 0
jne case.0x4b8ae9.16211
lea edx, [esi + 0xc]
jmp 0x4b8a7e
mov edx, eax
mov edi, dword [esi + 0x1c]
mov dword [esp + 0x34], edi
mov dword [esp + 0x40], eax
mov ecx, dword [edi + 4]
cmp ecx, 0x3f3f
jne 0x4b8aa4
mov dword [edi + 4], 0x3f40
mov ecx, 0x3f40
mov dword [esp + 0x40], edx
mov eax, dword [eax]
mov ebx, dword [esi]
mov ebp, dword [esi + 4]
mov edx, dword [edi + 0x3c]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x10]
mov esi, dword [edi + 0x40]
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
xor eax, eax
mov dword [esp + 0x30], eax
lea eax, [ecx - 0x3f34]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x44], ebp
cmp eax, 0x1f
ja case.0x4b8ae9.16211
mov ecx, dword [esp + 0x58]
jmp dword [eax*4 + 0x4ba258]
cmp dword [edi + 0xc], 0
jne 0x4b8b07
mov dword [edi + 4], 0x3f40
mov eax, dword [edi + 4]
sub eax, 0x3f34
jmp 0x4b8adc
cmp esi, 0x10
jae 0x4b8b37
nop dword [eax]
test ebp, ebp
je 0x4ba112
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
add esi, 8
add edx, eax
mov dword [esp + 0x1c], esi
inc ebx
mov dword [esp + 0x14], edx
dec ebp
mov dword [esp + 0x18], ebx
cmp esi, 0x10
jb 0x4b8b10
test byte [edi + 0xc], 2
je 0x4b8ba4
cmp edx, 0x8b1f
jne 0x4b8ba4
cmp dword [edi + 0x28], 0
jne 0x4b8b52
mov dword [edi + 0x28], 0xf
push 0
push 0
push 0
call fcn.004d9e20
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0x20]
mov byte [esp + 0x2c], al
shr eax, 8
mov byte [esp + 0x2d], al
lea eax, [esp + 0x2c]
push 2
push eax
push dword [edi + 0x1c]
call fcn.004d9e20
mov dword [edi + 0x1c], eax
xor edx, edx
xor esi, esi
mov dword [edi + 4], 0x3f35
mov eax, dword [edi + 4]
add esp, 0x18
mov dword [esp + 0x14], edx
sub eax, 0x3f34
mov dword [esp + 0x1c], esi
jmp 0x4b8adc
mov eax, dword [edi + 0x24]
test eax, eax
je 0x4b8bb2
mov dword [eax + 0x30], 0xffffffff
test byte [edi + 0xc], 1
je 0x4b8ca6
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 + 0x14]
jne 0x4b8ca6
mov eax, edx
and al, 0xf
cmp al, 8
je 0x4b8c05
mov eax, dword [esp + 0x54]
mov dword [eax + 0x18], str.unknown_compression_method
mov dword [edi + 4], 0x3f51
mov eax, dword [edi + 4]
sub eax, 0x3f34
jmp 0x4b8adc
mov eax, dword [edi + 0x28]
sub esi, 4
shr edx, 4
mov ecx, edx
mov dword [esp + 0x14], edx
and ecx, 0xf
mov dword [esp + 0x1c], esi
add ecx, 8
test eax, eax
jne 0x4b8c27
mov dword [edi + 0x28], ecx
mov eax, ecx
cmp ecx, 0xf
ja 0x4b8c87
cmp ecx, eax
ja 0x4b8c87
push 0
mov eax, 1
mov dword [edi + 0x14], 0
shl eax, cl
push 0
push 0
mov dword [edi + 0x18], eax
call fcn.004d9ba0
mov edx, dword [esp + 0x20]
xor esi, esi
mov ecx, dword [esp + 0x60]
add esp, 0xc
shr edx, 8
not edx
mov dword [edi + 0x1c], eax
and edx, 2
mov dword [esp + 0x1c], esi
or edx, 0x3f3d
mov dword [ecx + 0x30], eax
mov dword [edi + 4], edx
xor edx, edx
mov eax, dword [edi + 4]
mov dword [esp + 0x14], edx
sub eax, 0x3f34
jmp 0x4b8adc
mov eax, dword [esp + 0x54]
mov dword [eax + 0x18], str.invalid_window_size
mov dword [edi + 4], 0x3f51
mov eax, dword [edi + 4]
sub eax, 0x3f34
jmp 0x4b8adc
mov eax, dword [esp + 0x54]
mov dword [eax + 0x18], str.incorrect_header_check
mov dword [edi + 4], 0x3f51
mov eax, dword [edi + 4]
sub eax, 0x3f34
jmp 0x4b8adc
cmp esi, 0x10
jae 0x4b8cf7
nop word [eax + eax]
test ebp, ebp
je 0x4ba112
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
add esi, 8
add edx, eax
mov dword [esp + 0x1c], esi
inc ebx
mov dword [esp + 0x14], edx
dec ebp
mov dword [esp + 0x18], ebx
cmp esi, 0x10
jb 0x4b8cd0
mov dword [edi + 0x14], edx
cmp dl, 8
je 0x4b8d1e
mov eax, dword [esp + 0x54]
mov dword [eax + 0x18], str.unknown_compression_method
mov dword [edi + 4], 0x3f51
mov eax, dword [edi + 4]
sub eax, 0x3f34
jmp 0x4b8adc
test edx, 0xe000
je 0x4b8d45
mov eax, dword [esp + 0x54]
mov dword [eax + 0x18], str.unknown_header_flags_set
mov dword [edi + 4], 0x3f51
mov eax, dword [edi + 4]
sub eax, 0x3f34
jmp 0x4b8adc
mov ecx, dword [edi + 0x24]
test ecx, ecx
je 0x4b8d56
mov eax, edx
shr eax, 8
and eax, 1
mov dword [ecx], eax
test dword [edi + 0x14], 0x200
je 0x4b8d85
test byte [edi + 0xc], 4
je 0x4b8d85
mov byte [esp + 0x20], dl
lea eax, [esp + 0x20]
push 2
shr edx, 8
push eax
mov byte [esp + 0x29], dl
push dword [edi + 0x1c]
call fcn.004d9e20
add esp, 0xc
mov dword [edi + 0x1c], eax
xor edx, edx
mov dword [edi + 4], 0x3f36
mov dword [esp + 0x14], edx
xor esi, esi
jmp 0x4b8da0
cmp esi, 0x20
jae 0x4b8dc3
nop dword [eax + eax]
test ebp, ebp
je 0x4ba112
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 + 0x14], edx
dec ebp
cmp esi, 0x20
jb 0x4b8da0
mov eax, dword [edi + 0x24]
test eax, eax
je 0x4b8dcd
mov dword [eax + 4], edx
test dword [edi + 0x14], 0x200
je 0x4b8e0e
test byte [edi + 0xc], 4
je 0x4b8e0e
mov eax, edx
mov byte [esp + 0x20], dl
shr eax, 8
mov byte [esp + 0x21], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x22], al
lea eax, [esp + 0x20]
push 4
shr edx, 0x18
push eax
mov byte [esp + 0x2b], dl
push dword [edi + 0x1c]
call fcn.004d9e20
add esp, 0xc
mov dword [edi + 0x1c], eax
xor edx, edx
mov dword [edi + 4], 0x3f37
mov dword [esp + 0x14], edx
xor esi, esi
jmp 0x4b8e24
cmp esi, 0x10
jae 0x4b8e47
test ebp, ebp
je 0x4ba112
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 + 0x14], edx
dec ebp
cmp esi, 0x10
jb 0x4b8e24
mov esi, dword [edi + 0x24]
mov ecx, edx
shr ecx, 8
test esi, esi
je 0x4b8e5f
movzx eax, dl
mov dword [esi + 8], eax
mov eax, dword [edi + 0x24]
mov dword [eax + 0xc], ecx
test dword [edi + 0x14], 0x200
je 0x4b8e8b
test byte [edi + 0xc], 4
je 0x4b8e8b
push 2
lea eax, [esp + 0x24]
mov byte [esp + 0x24], dl
push eax
mov byte [esp + 0x29], cl
push dword [edi + 0x1c]
call fcn.004d9e20
add esp, 0xc
mov dword [edi + 0x1c], eax
xor edx, edx
mov dword [edi + 4], 0x3f38
xor esi, esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], esi
test dword [edi + 0x14], 0x400
je 0x4b8f1f
cmp esi, 0x10
jae 0x4b8ed3
nop dword [eax]
test ebp, ebp
je 0x4ba112
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 + 0x14], edx
dec ebp
cmp esi, 0x10
jb 0x4b8eb0
mov eax, dword [edi + 0x24]
mov dword [edi + 0x44], edx
test eax, eax
je 0x4b8ee0
mov dword [eax + 0x14], edx
test dword [edi + 0x14], 0x200
je 0x4b8f0f
test byte [edi + 0xc], 4
je 0x4b8f0f
mov byte [esp + 0x20], dl
lea eax, [esp + 0x20]
push 2
shr edx, 8
push eax
mov byte [esp + 0x29], dl
push dword [edi + 0x1c]
call fcn.004d9e20
add esp, 0xc
mov dword [edi + 0x1c], eax
xor esi, esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], esi
jmp 0x4b8f2d
mov eax, dword [edi + 0x24]
test eax, eax
je 0x4b8f2d
mov dword [eax + 0x10], 0
mov dword [edi + 4], 0x3f39
test dword [edi + 0x14], 0x400
je 0x4b8fe9
mov eax, dword [edi + 0x44]
mov ecx, ebp
cmp eax, ebp
cmovbe ecx, eax
mov dword [esp + 0x38], ecx
test ecx, ecx
je 0x4b8fe1
mov edx, dword [edi + 0x24]
test edx, edx
je 0x4b8fae
mov ebx, dword [edx + 0x10]
test ebx, ebx
mov dword [esp + 0x4c], ebx
mov ebx, dword [esp + 0x18]
je 0x4b8fae
mov edx, dword [edx + 0x14]
sub edx, eax
mov eax, dword [edi + 0x24]
mov dword [esp + 0x3c], edx
mov eax, dword [eax + 0x18]
mov dword [esp + 0x48], eax
cmp edx, eax
jae 0x4b8fae
add ecx, edx
mov edx, eax
sub edx, dword [esp + 0x3c]
cmp ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x38]
cmova eax, edx
push eax
mov eax, dword [esp + 0x40]
add eax, dword [esp + 0x50]
push ebx
push eax
call fcn.00526450
mov ecx, dword [esp + 0x44]
add esp, 0xc
test dword [edi + 0x14], 0x200
je 0x4b8fcd
test byte [edi + 0xc], 4
je 0x4b8fcd
push ecx
push ebx
push dword [edi + 0x1c]
call fcn.004d9e20
add esp, 0xc
mov dword [edi + 0x1c], eax
mov ecx, dword [esp + 0x38]
sub ebp, ecx
mov eax, dword [edi + 0x44]
add ebx, ecx
sub eax, ecx
mov dword [esp + 0x18], ebx
mov dword [edi + 0x44], eax
test eax, eax
jne 0x4ba112
mov dword [edi + 0x44], 0
mov dword [edi + 4], 0x3f3a
test dword [edi + 0x14], 0x800
je 0x4b908b
test ebp, ebp
je 0x4ba112
xor ecx, ecx
nop
mov al, byte [ecx + ebx]
inc ecx
mov byte [esp + 0x13], al
mov eax, dword [edi + 0x24]
test eax, eax
je 0x4b903e
mov edx, dword [eax + 0x1c]
test edx, edx
je 0x4b903e
mov esi, dword [edi + 0x44]
cmp esi, dword [eax + 0x20]
jae 0x4b903e
mov bl, byte [esp + 0x13]
mov eax, esi
mov byte [eax + edx], bl
inc dword [edi + 0x44]
mov ebx, dword [esp + 0x18]
mov al, byte [esp + 0x13]
test al, al
je 0x4b904a
cmp ecx, ebp
jb 0x4b9010
test dword [edi + 0x14], 0x200
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x4c], ecx
je 0x4b9079
test byte [edi + 0xc], 4
je 0x4b9079
push ecx
push ebx
push dword [edi + 0x1c]
call fcn.004d9e20
mov ecx, dword [esp + 0x58]
add esp, 0xc
mov dword [edi + 0x1c], eax
mov al, byte [esp + 0x13]
add ebx, ecx
sub ebp, ecx
mov dword [esp + 0x18], ebx
test al, al
jne 0x4ba112
jmp 0x4b9099
mov eax, dword [edi + 0x24]
test eax, eax
je 0x4b9099
mov dword [eax + 0x1c], 0
mov dword [edi + 0x44], 0
mov dword [edi + 4], 0x3f3b
test dword [edi + 0x14], 0x1000
je 0x4b913b
test ebp, ebp
je 0x4ba112
xor ecx, ecx
nop
mov al, byte [ecx + ebx]
inc ecx
mov byte [esp + 0x13], al
mov eax, dword [edi + 0x24]
test eax, eax
je 0x4b90ee
mov edx, dword [eax + 0x24]
test edx, edx
je 0x4b90ee
mov esi, dword [edi + 0x44]
cmp esi, dword [eax + 0x28]
jae 0x4b90ee
mov bl, byte [esp + 0x13]
mov eax, esi
mov byte [eax + edx], bl
inc dword [edi + 0x44]
mov ebx, dword [esp + 0x18]
mov al, byte [esp + 0x13]
test al, al
je 0x4b90fa
cmp ecx, ebp
jb 0x4b90c0
test dword [edi + 0x14], 0x200
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x4c], ecx
je 0x4b9129
test byte [edi + 0xc], 4
je 0x4b9129
push ecx
push ebx
push dword [edi + 0x1c]
call fcn.004d9e20
mov ecx, dword [esp + 0x58]
add esp, 0xc
mov dword [edi + 0x1c], eax
mov al, byte [esp + 0x13]
add ebx, ecx
sub ebp, ecx
mov dword [esp + 0x18], ebx
test al, al
jne 0x4ba112
jmp 0x4b9149
mov eax, dword [edi + 0x24]
test eax, eax
je 0x4b9149
mov dword [eax + 0x24], 0
mov edx, dword [esp + 0x14]
mov dword [edi + 4], 0x3f3c
test dword [edi + 0x14], 0x200
je 0x4b91c4
cmp esi, 0x10
jae 0x4b9189
test ebp, ebp
je 0x4ba112
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
add esi, 8
add edx, eax
mov dword [esp + 0x1c], esi
inc ebx
mov dword [esp + 0x14], edx
dec ebp
mov dword [esp + 0x18], ebx
cmp esi, 0x10
jb 0x4b9162
test byte [edi + 0xc], 4
je 0x4b91b6
movzx eax, word [edi + 0x1c]
cmp edx, eax
je 0x4b91b6
mov eax, dword [esp + 0x54]
mov dword [eax + 0x18], str.header_crc_mismatch
mov dword [edi + 4], 0x3f51
mov eax, dword [edi + 4]
sub eax, 0x3f34
jmp 0x4b8adc
xor esi, esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], esi
mov ecx, dword [edi + 0x24]
test ecx, ecx
je 0x4b91e1
mov eax, dword [edi + 0x14]
sar eax, 9
and eax, 1
mov dword [ecx + 0x2c], eax
mov eax, dword [edi + 0x24]
mov dword [eax + 0x30], 1
push 0
push 0
push 0
call fcn.004d9e20
mov ecx, dword [esp + 0x60]
add esp, 0xc
mov edx, dword [esp + 0x14]
mov dword [edi + 0x1c], eax
mov dword [ecx + 0x30], eax
mov dword [edi + 4], 0x3f3f
mov eax, dword [edi + 4]
sub eax, 0x3f34
jmp 0x4b8adc
cmp esi, 0x20
jae 0x4b9239
test ebp, ebp
je 0x4ba112
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 + 0x14], edx
dec ebp
cmp esi, 0x20
jb 0x4b9216
mov eax, dword [esp + 0x54]
bswap edx
mov dword [edi + 0x1c], edx
mov dword [eax + 0x30], edx
xor edx, edx
mov dword [esp + 0x14], edx
xor esi, esi
mov dword [edi + 4], 0x3f3e
jmp 0x4b925a
mov eax, dword [esp + 0x54]
cmp dword [edi + 0x10], 0
je 0x4ba0c3
push 0
push 0
push 0
call fcn.004d9ba0
mov ecx, dword [esp + 0x60]
add esp, 0xc
mov edx, dword [esp + 0x14]
mov dword [edi + 0x1c], eax
mov dword [ecx + 0x30], eax
mov ecx, dword [esp + 0x58]
mov dword [edi + 4], 0x3f3f
cmp ecx, 5
je 0x4ba112
cmp ecx, 6
je 0x4ba112
cmp dword [edi + 8], 0
je 0x4b92c8
mov ecx, esi
mov dword [edi + 4], 0x3f4e
mov eax, dword [edi + 4]
and ecx, 7
shr edx, cl
sub esi, ecx
mov dword [esp + 0x14], edx
sub eax, 0x3f34
mov dword [esp + 0x1c], esi
jmp 0x4b8adc
cmp esi, 3
jae 0x4b92f7
nop dword [eax]
test ebp, ebp
je 0x4ba112
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 + 0x14], edx
dec ebp
cmp esi, 3
jb case.default.0x4b9306
mov ecx, dword [esp + 0x58]
mov eax, edx
shr edx, 1
and eax, 1
mov dword [edi + 8], eax
mov eax, edx
and eax, 3
jmp dword [eax*4 + 0x4ba2d8]
mov dword [edi + 4], 0x3f41
sub esi, 3
mov eax, dword [edi + 4]
shr edx, 2
sub eax, 0x3f34
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], esi
jmp 0x4b8adc
mov dword [edi + 0x50], 0x624b08
mov dword [edi + 0x58], 9
mov dword [edi + 0x54], 0x625308
mov dword [edi + 0x5c], 5
mov dword [edi + 4], 0x3f47
cmp ecx, 6
jne 0x4b939a
shr edx, 2
sub esi, 3
mov dword [esp + 0x14], edx
jmp 0x4ba112
mov dword [edi + 4], 0x3f44
sub esi, 3
mov eax, dword [edi + 4]
shr edx, 2
sub eax, 0x3f34
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], esi
jmp 0x4b8adc
mov eax, dword [esp + 0x54]
mov dword [eax + 0x18], str.invalid_block_type
mov dword [edi + 4], 0x3f51
mov eax, dword [edi + 4]
sub esi, 3
shr edx, 2
sub eax, 0x3f34
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], esi
jmp 0x4b8adc
mov ecx, esi
and ecx, 7
sub esi, ecx
shr edx, cl
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], esi
cmp esi, 0x20
jae 0x4b93f7
nop dword [eax + eax]
test ebp, ebp
je 0x4ba112
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
add esi, 8
add edx, eax
mov dword [esp + 0x1c], esi
inc ebx
mov dword [esp + 0x14], edx
dec ebp
mov dword [esp + 0x18], ebx
cmp esi, 0x20
jb 0x4b93d0
mov eax, edx
movzx ecx, dx
not eax
shr eax, 0x10
cmp ecx, eax
je 0x4b9424
mov eax, dword [esp + 0x54]
mov dword [eax + 0x18], str.invalid_stored_block_lengths
mov dword [edi + 4], 0x3f51
mov eax, dword [edi + 4]
sub eax, 0x3f34
jmp 0x4b8adc
mov dword [edi + 0x44], ecx
xor edx, edx
mov ecx, dword [esp + 0x58]
xor esi, esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], esi
mov dword [edi + 4], 0x3f42
cmp ecx, 6
je 0x4ba116
mov dword [edi + 4], 0x3f43
mov ecx, dword [edi + 0x44]
test ecx, ecx
je 0x4b9bec
cmp ecx, ebp
mov eax, ebp
cmovbe eax, ecx
cmp eax, dword [esp + 0x24]
cmova eax, dword [esp + 0x24]
mov dword [esp + 0x4c], eax
test eax, eax
je 0x4ba112
mov ecx, dword [esp + 0x28]
push eax
push ebx
push ecx
call fcn.00526450
mov eax, dword [esp + 0x58]
add esp, 0xc
sub dword [esp + 0x24], eax
add ebx, eax
add dword [esp + 0x28], eax
sub ebp, eax
sub dword [edi + 0x44], eax
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x14]
sub eax, 0x3f34
mov dword [esp + 0x18], ebx
jmp 0x4b8adc
cmp esi, 0xe
jae 0x4b94d4
test ebp, ebp
je 0x4ba112
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 + 0x14], edx
dec ebp
cmp esi, 0xe
jb 0x4b94b1
mov ecx, edx
sub esi, 0xe
shr edx, 5
and ecx, 0x1f
mov eax, edx
mov dword [esp + 0x1c], esi
and eax, 0x1f
shr edx, 5
inc eax
add ecx, 0x101
mov dword [esp + 0x4c], eax
mov dword [edi + 0x68], eax
mov eax, edx
and eax, 0xf
shr edx, 4
add eax, 4
mov dword [edi + 0x64], ecx
mov dword [edi + 0x60], eax
mov dword [esp + 0x14], edx
cmp ecx, 0x11e
ja 0x4b9619
cmp dword [esp + 0x4c], 0x1e
ja 0x4b9619
mov dword [edi + 0x6c], 0
mov dword [edi + 4], 0x3f45
mov eax, dword [edi + 0x6c]
cmp eax, dword [edi + 0x60]
jae 0x4b9596
nop dword [eax + eax]
cmp esi, 3
jae 0x4b9568
test ebp, ebp
je 0x4ba112
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 + 0x14], edx
dec ebp
cmp esi, 3
jb 0x4b9545
mov eax, dword [edi + 0x6c]
mov ecx, edx
and ecx, 7
shr edx, 3
sub esi, 3
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], esi
movzx eax, word [eax*2 + 0x625388]
mov word [edi + eax*2 + 0x74], cx
inc dword [edi + 0x6c]
mov eax, dword [edi + 0x6c]
cmp eax, dword [edi + 0x60]
jb 0x4b9540
cmp eax, 0x13
jae 0x4b95bb
nop dword [eax + eax]
movzx eax, word [eax*2 + 0x625388]
xor ecx, ecx
mov word [edi + eax*2 + 0x74], cx
mov eax, dword [edi + 0x6c]
inc eax
mov dword [edi + 0x6c], eax
cmp eax, 0x13
jb 0x4b95a0
lea eax, [edi + 0x534]
mov dword [edi + 0x58], 7
lea edx, [edi + 0x70]
mov dword [edi + 0x50], eax
mov dword [edx], eax
lea ecx, [edi + 0x58]
lea eax, [edi + 0x2f4]
push eax
push ecx
push edx
push 0x13
lea eax, [edi + 0x74]
push eax
push 0
call fcn.004dbc20
mov edx, dword [esp + 0x2c]
mov ecx, eax
add esp, 0x18
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0x4b9638
mov eax, dword [esp + 0x54]
mov dword [eax + 0x18], str.invalid_code_lengths_set
mov dword [edi + 4], 0x3f51
mov eax, dword [edi + 4]
sub eax, 0x3f34
jmp 0x4b8adc
mov eax, dword [esp + 0x54]
mov dword [eax + 0x18], str.too_many_length_or_distance_symbols
mov dword [edi + 4], 0x3f51
mov eax, dword [edi + 4]
sub eax, 0x3f34
jmp 0x4b8adc
mov dword [edi + 0x6c], 0
mov dword [edi + 4], 0x3f46
mov eax, dword [edi + 0x68]
add eax, dword [edi + 0x64]
cmp dword [edi + 0x6c], eax
jae 0x4b98b9
mov ecx, dword [edi + 0x58]
mov eax, 1
mov ebx, dword [edi + 0x50]
shl eax, cl
dec eax
and eax, edx
mov eax, dword [ebx + eax*4]
mov ecx, eax
shr ecx, 8
mov ebx, eax
shr ebx, 0x10
mov dword [esp + 0x4c], ecx
movzx ecx, cl
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x38], eax
cmp ecx, esi
jbe 0x4b96ef
nop dword [eax]
test ebp, ebp
je 0x4ba112
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
mov ecx, dword [edi + 0x58]
add edx, eax
mov eax, 1
mov dword [esp + 0x14], edx
shl eax, cl
add esi, 8
mov ecx, dword [edi + 0x50]
dec eax
and eax, edx
mov dword [esp + 0x18], ebx
dec ebp
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x1c], eax
shr dword [esp + 0x1c], 0x10
movzx ecx, cl
mov dword [esp + 0x38], eax
cmp ecx, esi
ja 0x4b9690
mov ecx, dword [esp + 0x1c]
movzx ecx, cx
mov dword [esp + 0x3c], ecx
mov cl, byte [esp + 0x4c]
jmp 0x4b96f3
mov ecx, dword [esp + 0x4c]
mov edi, dword [esp + 0x3c]
cmp di, 0x10
movzx ebx, di
mov dword [esp + 0x48], ebx
movzx ebx, di
mov edi, dword [esp + 0x34]
mov dword [esp + 0x4c], ebx
mov ebx, dword [esp + 0x18]
jae 0x4b973d
shr edx, cl
mov ecx, eax
shr ecx, 8
movzx ecx, cl
sub esi, ecx
shr eax, 0x10
mov ecx, dword [edi + 0x6c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], esi
mov word [edi + ecx*2 + 0x74], ax
inc dword [edi + 0x6c]
mov ecx, dword [edi + 0x6c]
jmp 0x4b98ab
cmp word [esp + 0x4c], 0x10
movzx eax, cl
jne 0x4b97b3
add eax, 2
mov dword [esp + 0x4c], eax
cmp esi, eax
jae 0x4b9777
test ebp, ebp
je 0x4ba112
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 + 0x14], edx
dec ebp
cmp esi, dword [esp + 0x4c]
jb 0x4b9753
movzx ecx, byte [esp + 0x39]
shr edx, cl
sub esi, ecx
mov ecx, dword [edi + 0x6c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], esi
test ecx, ecx
je 0x4b98ef
movzx ecx, word [edi + ecx*2 + 0x72]
mov eax, edx
and eax, 3
shr edx, 2
add eax, 3
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], eax
sub esi, 2
jmp 0x4b9861
cmp word [esp + 0x48], 0x11
jne 0x4b9807
add eax, 3
mov dword [esp + 0x4c], eax
cmp esi, eax
jae 0x4b97ea
test ebp, ebp
je 0x4ba112
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 + 0x14], edx
dec ebp
cmp esi, dword [esp + 0x4c]
jb 0x4b97c6
movzx ecx, byte [esp + 0x39]
shr edx, cl
mov eax, edx
and eax, 7
add eax, 3
shr edx, 3
mov dword [esp + 0x38], eax
mov eax, 0xfffffffd
jmp 0x4b9851
add eax, 7
mov dword [esp + 0x4c], eax
cmp esi, eax
jae 0x4b9836
test ebp, ebp
je 0x4ba112
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 + 0x14], edx
dec ebp
cmp esi, dword [esp + 0x4c]
jb 0x4b9812
movzx ecx, byte [esp + 0x39]
shr edx, cl
mov eax, edx
and eax, 0x7f
add eax, 0xb
shr edx, 7
mov dword [esp + 0x38], eax
mov eax, 0xfffffff9
sub eax, ecx
mov dword [esp + 0x3c], 0
add esi, eax
mov eax, dword [esp + 0x38]
mov ecx, dword [edi + 0x6c]
mov dword [esp + 0x4c], ecx
add ecx, eax
mov eax, dword [edi + 0x68]
add eax, dword [edi + 0x64]
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], esi
cmp ecx, eax
ja 0x4b98ef
mov ebx, dword [esp + 0x38]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x3c]
nop dword [eax + eax]
mov word [edi + ecx*2 + 0x74], dx
mov ecx, dword [edi + 0x6c]
lea ecx, [ecx + 1]
mov dword [edi + 0x6c], ecx
sub ebx, 1
jne 0x4b9890
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov eax, dword [edi + 0x68]
add eax, dword [edi + 0x64]
cmp ecx, eax
jb 0x4b9655
mov ecx, dword [esp + 0x54]
cmp dword [edi + 4], 0x3f51
je 0x4ba0b6
cmp word [edi + 0x274], 0
jne 0x4b9903
mov dword [ecx + 0x18], str.invalid_code____missing_end_of_block
mov dword [edi + 4], 0x3f51
mov eax, dword [edi + 4]
sub eax, 0x3f34
jmp 0x4b8adc
mov ecx, dword [esp + 0x54]
mov dword [ecx + 0x18], str.invalid_bit_length_repeat
mov dword [edi + 4], 0x3f51
jmp 0x4b98bd
lea eax, [edi + 0x534]
mov dword [edi + 0x58], 9
lea ecx, [edi + 0x70]
mov dword [edi + 0x50], eax
mov dword [ecx], eax
lea edx, [edi + 0x2f4]
push edx
lea eax, [edi + 0x58]
push eax
push ecx
push dword [edi + 0x64]
lea eax, [edi + 0x74]
push eax
push 1
call fcn.004dbc20
mov ecx, eax
add esp, 0x18
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0x4b9962
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x14]
mov dword [eax + 0x18], str.invalid_literal_lengths_set
mov dword [edi + 4], 0x3f51
mov eax, dword [edi + 4]
sub eax, 0x3f34
jmp 0x4b8adc
mov eax, dword [edi + 0x70]
lea ecx, [edi + 0x70]
mov dword [edi + 0x54], eax
lea edx, [edi + 0x2f4]
push edx
lea eax, [edi + 0x5c]
mov dword [eax], 6
push eax
mov eax, dword [edi + 0x64]
push ecx
push dword [edi + 0x68]
add eax, 0x3a
lea eax, [edi + eax*2]
push eax
push 2
call fcn.004dbc20
add esp, 0x18
mov dword [esp + 0x30], eax
test eax, eax
je 0x4b99bf
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x14]
mov dword [eax + 0x18], str.invalid_distances_set
mov dword [edi + 4], 0x3f51
mov eax, dword [edi + 4]
sub eax, 0x3f34
jmp 0x4b8adc
mov ecx, dword [esp + 0x58]
mov dword [edi + 4], 0x3f47
cmp ecx, 6
je 0x4ba116
mov edx, dword [esp + 0x14]
mov dword [edi + 4], 0x3f48
cmp ebp, 6
jb 0x4b9a6e
cmp dword [esp + 0x24], 0x102
jb 0x4b9a6e
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
push dword [esp + 0x2c]
mov dword [eax], ecx
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x28]
push eax
mov dword [eax + 0x10], ecx
mov dword [eax], ebx
mov dword [eax + 4], ebp
mov dword [edi + 0x3c], edx
mov dword [edi + 0x40], esi
call fcn.004dc1a0
mov eax, dword [esp + 0x48]
add esp, 8
cmp dword [edi + 4], 0x3f3f
mov ecx, dword [esp + 0x54]
mov edx, dword [edi + 0x3c]
mov eax, dword [eax]
mov esi, dword [edi + 0x40]
mov ebx, dword [ecx]
mov ebp, dword [ecx + 4]
mov dword [esp + 0x28], eax
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], esi
jne 0x4ba0b6
mov dword [edi + 0x1bc8], 0xffffffff
mov eax, dword [edi + 4]
sub eax, 0x3f34
jmp 0x4b8adc
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 dword [edi + 0x1bc8], 0
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
jbe 0x4b9ae4
mov eax, dword [esp + 0x38]
mov dword [esp + 0x38], eax
test ebp, ebp
je 0x4ba112
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
mov ecx, dword [edi + 0x58]
add edx, eax
mov eax, 1
mov dword [esp + 0x14], edx
shl eax, cl
add esi, 8
mov ecx, dword [esp + 0x38]
dec eax
and eax, edx
mov dword [esp + 0x18], ebx
dec ebp
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
ja 0x4b9aa6
test al, al
je 0x4b9ba0
test al, 0xf0
jne 0x4b9ba0
mov ecx, eax
mov edi, 1
shr ecx, 8
mov edx, eax
movzx ebx, cl
movzx ecx, al
add ecx, ebx
shr eax, 0x10
shl edi, cl
mov ecx, ebx
dec edi
mov dword [esp + 0x1c], edx
and edi, dword [esp + 0x14]
shr edi, cl
mov ecx, dword [esp + 0x38]
add edi, eax
mov eax, dword [ecx + edi*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, ebx
cmp ecx, esi
jbe 0x4b9b87
test ebp, ebp
je 0x4ba10e
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 + 0x14], eax
movzx eax, word [esp + 0x1e]
mov dword [esp + 0x18], ebx
movzx ebx, byte [esp + 0x1d]
movzx ecx, dl
add ecx, ebx
shl edi, cl
mov ecx, ebx
dec edi
and edi, dword [esp + 0x14]
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 0x4b9b31
movzx ecx, byte [esp + 0x1d]
mov edi, dword [esp + 0x34]
shr dword [esp + 0x14], cl
sub esi, ecx
mov ebx, dword [esp + 0x18]
mov dword [edi + 0x1bc8], ecx
mov ecx, eax
shr ecx, 8
movzx edx, cl
add dword [edi + 0x1bc8], edx
mov ecx, edx
shr dword [esp + 0x14], cl
sub esi, edx
mov edx, dword [esp + 0x14]
mov ecx, eax
shr ecx, 0x10
mov dword [esp + 0x1c], esi
mov dword [edi + 0x44], ecx
test al, al
jne 0x4b9bde
mov dword [edi + 4], 0x3f4d
mov eax, dword [edi + 4]
sub eax, 0x3f34
jmp 0x4b8adc
test al, 0x20
je 0x4b9c00
mov dword [edi + 0x1bc8], 0xffffffff
mov dword [edi + 4], 0x3f3f
mov eax, dword [edi + 4]
sub eax, 0x3f34
jmp 0x4b8adc
test al, 0x40
je 0x4b9c23
mov eax, dword [esp + 0x54]
mov dword [eax + 0x18], str.invalid_literal_length_code
mov dword [edi + 4], 0x3f51
mov eax, dword [edi + 4]
sub eax, 0x3f34
jmp 0x4b8adc
movzx eax, al
and eax, 0xf
mov dword [edi + 4], 0x3f49
mov dword [edi + 0x4c], eax
mov ecx, dword [edi + 0x4c]
test ecx, ecx
je 0x4b9c83
cmp esi, ecx
jae 0x4b9c68
mov dword [esp + 0x4c], ecx
test ebp, ebp
je 0x4ba112
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
mov ecx, dword [esp + 0x4c]
add edx, eax
add esi, 8
mov dword [esp + 0x14], edx
dec ebp
mov dword [esp + 0x18], ebx
cmp esi, ecx
jb 0x4b9c42
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 + 0x1bc8], ecx
mov dword [esp + 0x14], edx
mov eax, dword [edi + 0x44]
mov dword [edi + 0x1bcc], eax
mov dword [edi + 4], 0x3f4a
mov eax, dword [edi + 0x54]
mov ecx, dword [edi + 0x5c]
mov dword [esp + 0x38], eax
mov eax, 1
shl eax, cl
mov ecx, dword [edi + 0x54]
dec eax
and eax, edx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
jbe 0x4b9cff
mov eax, dword [esp + 0x38]
mov dword [esp + 0x38], eax
test ebp, ebp
je 0x4ba112
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
mov ecx, dword [edi + 0x5c]
add edx, eax
mov eax, 1
mov dword [esp + 0x14], edx
shl eax, cl
add esi, 8
mov ecx, dword [esp + 0x38]
dec eax
and eax, edx
mov dword [esp + 0x18], ebx
dec ebp
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
ja 0x4b9cc1
test al, 0xf0
jne 0x4b9db1
mov ecx, eax
mov edi, 1
shr ecx, 8
mov edx, eax
movzx ebx, cl
movzx ecx, al
add ecx, ebx
shr eax, 0x10
shl edi, cl
mov ecx, ebx
dec edi
mov dword [esp + 0x1c], edx
and edi, dword [esp + 0x14]
shr edi, cl
mov ecx, dword [esp + 0x38]
add edi, eax
mov eax, dword [ecx + edi*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, ebx
cmp ecx, esi
jbe 0x4b9d9a
test ebp, ebp
je 0x4ba10e
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 + 0x14], eax
movzx eax, word [esp + 0x1e]
mov dword [esp + 0x18], ebx
movzx ebx, byte [esp + 0x1d]
movzx ecx, dl
add ecx, ebx
shl edi, cl
mov ecx, ebx
dec edi
and edi, dword [esp + 0x14]
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 0x4b9d44
movzx ecx, byte [esp + 0x1d]
mov edi, dword [esp + 0x34]
sub esi, ecx
mov edx, dword [esp + 0x14]
shr edx, cl
add dword [edi + 0x1bc8], ecx
mov ebx, dword [esp + 0x18]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [edi + 0x1bc8], ecx
sub esi, ecx
shr edx, cl
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], esi
test al, 0x40
je 0x4b9df2
mov eax, dword [esp + 0x54]
mov dword [eax + 0x18], str.invalid_distance_code
mov dword [edi + 4], 0x3f51
mov eax, dword [edi + 4]
sub eax, 0x3f34
jmp 0x4b8adc
mov ecx, eax
mov dword [edi + 4], 0x3f4b
shr ecx, 0x10
movzx eax, al
and eax, 0xf
mov dword [edi + 0x48], ecx
mov dword [edi + 0x4c], eax
mov ecx, dword [edi + 0x4c]
test ecx, ecx
je 0x4b9e65
cmp esi, ecx
jae 0x4b9e46
mov dword [esp + 0x4c], ecx
nop dword [eax]
test ebp, ebp
je 0x4ba112
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
inc ebx
mov ecx, dword [esp + 0x4c]
add edx, eax
add esi, 8
mov dword [esp + 0x14], edx
dec ebp
mov dword [esp + 0x18], ebx
cmp esi, ecx
jb 0x4b9e20
mov eax, 1
sub esi, ecx
shl eax, cl
dec eax
mov dword [esp + 0x1c], esi
and eax, edx
shr edx, cl
add dword [edi + 0x48], eax
add dword [edi + 0x1bc8], ecx
mov dword [esp + 0x14], edx
mov dword [edi + 4], 0x3f4c
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x4ba112
mov eax, dword [esp + 0x2c]
sub eax, ecx
mov ecx, dword [edi + 0x48]
cmp ecx, eax
jbe 0x4b9ef3
sub ecx, eax
mov dword [esp + 0x38], ecx
cmp ecx, dword [edi + 0x30]
jbe 0x4b9eb8
cmp dword [edi + 0x1bc4], 0
je 0x4b9eb8
mov eax, dword [esp + 0x54]
mov dword [eax + 0x18], str.invalid_distance_too_far_back
mov dword [edi + 4], 0x3f51
mov eax, dword [edi + 4]
sub eax, 0x3f34
jmp 0x4b8adc
mov eax, dword [edi + 0x34]
cmp ecx, eax
jbe 0x4b9ecf
sub ecx, eax
mov eax, dword [edi + 0x2c]
sub eax, ecx
mov dword [esp + 0x38], ecx
add eax, dword [edi + 0x38]
jmp 0x4b9ed7
mov eax, dword [edi + 0x38]
sub eax, ecx
add eax, dword [edi + 0x34]
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0x44]
mov ecx, eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x38]
cmp eax, ecx
cmovbe ecx, eax
mov eax, dword [esp + 0x48]
jmp 0x4b9f02
mov eax, dword [esp + 0x28]
sub eax, ecx
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0x44]
mov ecx, eax
mov ebx, dword [esp + 0x24]
cmp ecx, ebx
cmova ecx, ebx
sub ebx, ecx
sub eax, ecx
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x3c]
mov dword [edi + 0x44], eax
mov edi, dword [esp + 0x28]
sub ebx, edi
mov al, byte [ebx + edi]
mov byte [edi], al
inc edi
sub ecx, 1
jne 0x4b9f20
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x34]
cmp dword [edi + 0x44], ecx
jne 0x4ba0b6
mov dword [edi + 4], 0x3f48
mov eax, dword [edi + 4]
sub eax, 0x3f34
jmp 0x4b8adc
cmp dword [esp + 0x24], 0
je 0x4ba112
mov ecx, dword [esp + 0x28]
mov al, byte [edi + 0x44]
dec dword [esp + 0x24]
mov byte [ecx], al
inc ecx
mov dword [edi + 4], 0x3f48
mov eax, dword [edi + 4]
mov dword [esp + 0x28], ecx
sub eax, 0x3f34
jmp 0x4b8adc
cmp dword [edi + 0xc], 0
je 0x4ba052
cmp esi, 0x20
jae 0x4b9fbb
test ebp, ebp
je 0x4ba112
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
add esi, 8
add edx, eax
mov dword [esp + 0x1c], esi
inc ebx
mov dword [esp + 0x14], edx
dec ebp
mov dword [esp + 0x18], ebx
cmp esi, 0x20
jb 0x4b9f94
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x2c], eax
add dword [ecx + 0x14], eax
add dword [edi + 0x20], eax
test byte [edi + 0xc], 4
je 0x4ba00e
test eax, eax
je 0x4ba00e
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
sub eax, edx
cmp dword [edi + 0x14], 0
mov ecx, dword [edi + 0x1c]
push edx
push eax
push ecx
je 0x4b9ff8
call fcn.004d9e20
jmp 0x4b9ffd
call fcn.004d9ba0
mov ecx, dword [esp + 0x60]
add esp, 0xc
mov edx, dword [esp + 0x14]
mov dword [edi + 0x1c], eax
mov dword [ecx + 0x30], eax
test byte [edi + 0xc], 4
mov eax, dword [esp + 0x24]
mov dword [esp + 0x2c], eax
je 0x4ba046
cmp dword [edi + 0x14], 0
mov eax, edx
jne 0x4ba026
bswap eax
cmp eax, dword [edi + 0x1c]
je 0x4ba046
mov dword [ecx + 0x18], str.incorrect_data_check
mov dword [edi + 4], 0x3f51
mov eax, dword [edi + 4]
sub eax, 0x3f34
jmp 0x4b8adc
xor edx, edx
xor esi, esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], esi
mov dword [edi + 4], 0x3f4f
cmp dword [edi + 0xc], 0
je 0x4ba0f3
cmp dword [edi + 0x14], 0
je 0x4ba0f3
cmp esi, 0x20
jae 0x4ba099
test ebp, ebp
je 0x4ba112
movzx eax, byte [ebx]
mov ecx, esi
shl eax, cl
add esi, 8
add edx, eax
mov dword [esp + 0x1c], esi
inc ebx
mov dword [esp + 0x14], edx
dec ebp
mov dword [esp + 0x18], ebx
cmp esi, 0x20
jb 0x4ba072
test byte [edi + 0xc], 4
je 0x4ba0e9
cmp edx, dword [edi + 0x20]
je 0x4ba0e9
mov eax, dword [esp + 0x54]
mov dword [eax + 0x18], str.incorrect_length_check
mov dword [edi + 4], 0x3f51
mov eax, dword [edi + 4]
sub eax, 0x3f34
jmp 0x4b8adc
mov ecx, dword [esp + 0x28]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax], ebx
mov dword [eax + 4], ebp
mov dword [eax + 0x10], ecx
mov eax, 2
mov dword [edi + 0x40], esi
mov dword [edi + 0x3c], edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
mov dword [esp + 0x14], 0
xor esi, esi
mov dword [edi + 4], 0x3f50
mov dword [esp + 0x30], 1
jmp 0x4ba112
mov dword [esp + 0x30], 0xfffffffd
jmp 0x4ba112
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x58]
mov ebx, dword [esp + 0x54]
mov eax, dword [esp + 0x28]
mov dword [ebx + 0xc], eax
mov eax, dword [esp + 0x24]
mov dword [ebx + 0x10], eax
mov eax, dword [esp + 0x18]
mov dword [ebx], eax
mov eax, dword [esp + 0x14]
mov dword [ebx + 4], ebp
cmp dword [edi + 0x2c], 0
mov ebp, dword [esp + 0x2c]
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], esi
jne 0x4ba160
cmp ebp, dword [ebx + 0x10]
je 0x4ba18a
mov eax, dword [edi + 4]
cmp eax, 0x3f51
jge 0x4ba18a
cmp eax, 0x3f4e
jl 0x4ba160
cmp ecx, 4
je 0x4ba18a
mov eax, ebp
sub eax, dword [ebx + 0x10]
push eax
push dword [ebx + 0xc]
push ebx
call fcn.004b8920
add esp, 0xc
test eax, eax
je 0x4ba18a
mov dword [edi + 4], 0x3f52
pop edi
pop esi
pop ebp
mov eax, 0xfffffffc
pop ebx
add esp, 0x40
ret
mov eax, dword [esp + 0x44]
sub eax, dword [ebx + 4]
sub ebp, dword [ebx + 0x10]
add dword [ebx + 8], eax
add dword [ebx + 0x14], ebp
add dword [edi + 0x20], ebp
test byte [edi + 0xc], 4
mov dword [esp + 0x44], eax
je 0x4ba1d1
test ebp, ebp
je 0x4ba1d1
mov eax, dword [ebx + 0xc]
mov ecx, dword [edi + 0x1c]
sub eax, ebp
cmp dword [edi + 0x14], 0
push ebp
push eax
push ecx
je 0x4ba1c3
call fcn.004d9e20
jmp 0x4ba1c8
call fcn.004d9ba0
mov dword [edi + 0x1c], eax
add esp, 0xc
mov dword [ebx + 0x30], eax
mov edx, dword [edi + 4]
cmp edx, 0x3f47
je 0x4ba1e8
cmp edx, 0x3f42
je 0x4ba1e8
xor esi, esi
jmp 0x4ba1ed
mov esi, 0x100
mov ecx, dword [edi + 8]
neg ecx
mov dword [esp + 0x54], 0x80
sbb ecx, ecx
xor eax, eax
and ecx, 0x40
cmp edx, 0x3f3f
cmove eax, dword [esp + 0x54]
add ecx, eax
add ecx, dword [edi + 0x40]
add ecx, esi
cmp dword [esp + 0x44], 0
mov dword [ebx + 0x2c], ecx
jne 0x4ba221
test ebp, ebp
je 0x4ba228
cmp dword [esp + 0x58], 4
jne 0x4ba23e
mov eax, dword [esp + 0x30]
mov ecx, 0xfffffffb
pop edi
pop esi
test eax, eax
pop ebp
cmove eax, ecx
pop ebx
add esp, 0x40
ret
mov eax, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
pop edi
pop esi
pop ebp
mov eax, 0xfffffffe
pop ebx
add esp, 0x40
ret