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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je case.0x5333fb.31
mov ebx, dword [edi + 0x1c]
test ebx, ebx
je case.0x5333fb.31
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x20], eax
test eax, eax
je case.0x5333fb.31
mov eax, dword [edi]
mov dword [ebp - 8], eax
test eax, eax
jne 0x5333aa
cmp dword [edi + 4], eax
jne case.0x5333fb.31
mov eax, dword [ebx]
push 0xc
pop ecx
cmp eax, 0xb
jne 0x5333c3
mov dword [ebx], ecx
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [edi]
mov dword [ebp - 8], eax
mov eax, ecx
mov ecx, dword [edi + 0x10]
and dword [ebp - 0x28], 0
mov edx, dword [ebx + 0x38]
mov esi, dword [ebx + 0x3c]
mov dword [ebp - 0x18], ecx
mov ecx, dword [edi + 4]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x18]
push 0x1f
mov dword [ebp - 0x24], ecx
pop ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
cmp eax, ecx
ja case.0x5333fb.31
mov ecx, eax
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x34], esi
jmp dword [eax*4 + 0x534783]
mov eax, dword [ebx + 8]
test eax, eax
jne 0x533414
mov dword [ebx], 0xc
jmp 0x534676
push 0x10
pop ecx
cmp esi, ecx
jae 0x53344c
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x5338c8
dec eax
mov ecx, esi
mov dword [ebp - 0x10], eax
add esi, 8
mov eax, dword [ebp - 8]
push 0x10
mov dword [ebp - 0xc], esi
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
pop eax
mov dword [ebp - 0x14], edx
cmp esi, eax
jb 0x53341b
mov eax, dword [ebx + 8]
test al, 2
je 0x533496
cmp edx, 0x8b1f
jne 0x533496
xor esi, esi
push esi
push esi
push esi
call fcn.00534ab8
mov dword [ebx + 0x18], eax
push 0x1f
pop eax
mov byte [ebp - 0x1c], al
lea eax, [ebp - 0x1c]
push 2
push eax
mov byte [ebp - 0x1b], 0x8b
push dword [ebx + 0x18]
call fcn.00534ab8
mov edx, esi
mov dword [ebx + 0x18], eax
add esp, 0x18
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
mov dword [ebx], 1
jmp 0x534676
and dword [ebx + 0x10], 0
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x5334a8
or dword [ecx + 0x30], 0xffffffff
mov eax, dword [ebx + 8]
test al, 1
je 0x533545
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 - 0x14]
jne 0x533545
mov eax, edx
and al, 0xf
cmp al, 8
je 0x5334df
mov dword [edi + 0x18], str.unknown_compression_method
jmp 0x534670
shr edx, 4
sub esi, 4
mov ecx, edx
mov dword [ebp - 0x14], edx
and ecx, 0xf
mov dword [ebp - 0xc], esi
add ecx, 8
cmp dword [ebx + 0x24], 0
jne 0x533534
mov dword [ebx + 0x24], ecx
xor esi, esi
xor eax, eax
push esi
inc eax
shl eax, cl
push esi
push esi
mov dword [ebx + 0x14], eax
call fcn.00534d65
mov edx, dword [ebp - 0x14]
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 - 0x14], edx
mov dword [ebp - 0xc], esi
jmp 0x534676
cmp ecx, dword [ebx + 0x24]
jbe 0x5334fc
mov dword [edi + 0x18], str.invalid_window_size
jmp 0x534670
mov dword [edi + 0x18], str.incorrect_header_check
jmp 0x534670
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x5338c8
dec eax
mov ecx, esi
mov dword [ebp - 0x10], 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 - 0x14], edx
mov dword [ebp - 0xc], esi
push 0x10
pop eax
cmp esi, eax
jb 0x533551
mov dword [ebx + 0x10], edx
cmp dl, 8
jne 0x5334d3
test edx, 0xe000
je 0x53359f
mov dword [edi + 0x18], str.unknown_header_flags_set
jmp 0x534670
mov esi, dword [ebx + 0x20]
mov ecx, edx
shr ecx, 8
mov eax, edx
test esi, esi
je 0x5335b7
mov eax, ecx
and eax, 1
mov dword [esi], eax
mov eax, dword [ebx + 0x10]
test eax, 0x200
je 0x5335d8
push 2
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x1c], dl
push eax
mov byte [ebp - 0x1b], cl
push dword [ebx + 0x18]
call fcn.00534ab8
add esp, 0xc
mov dword [ebx + 0x18], eax
mov esi, dword [ebp - 8]
xor eax, eax
mov edx, eax
mov dword [ebx], 2
mov dword [ebp - 0x14], edx
mov ecx, eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x5338cb
dec eax
mov dword [ebp - 0x10], eax
movzx eax, byte [esi]
shl eax, cl
add ecx, 8
add edx, eax
inc esi
cmp ecx, 0x20
mov dword [ebp - 0x14], edx
mov dword [ebp - 8], esi
jb 0x5335ea
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x533619
mov dword [eax + 4], edx
test dword [ebx + 0x10], 0x200
je 0x53364f
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.00534ab8
add esp, 0xc
mov dword [ebx + 0x18], eax
xor eax, eax
mov dword [ebx], 3
mov edx, eax
mov ecx, eax
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x5338cb
dec eax
mov dword [ebp - 0x10], eax
movzx eax, byte [esi]
shl eax, cl
add ecx, 8
add edx, eax
inc esi
push 0x10
pop eax
cmp ecx, eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 8], esi
jb 0x53365e
mov esi, dword [ebx + 0x20]
mov ecx, edx
shr ecx, 8
test esi, esi
je 0x53369d
movzx eax, dl
mov dword [esi + 8], eax
mov eax, dword [ebx + 0x20]
mov dword [eax + 0xc], ecx
test dword [ebx + 0x10], 0x200
je 0x5336c0
push 2
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x1c], dl
push eax
mov byte [ebp - 0x1b], cl
push dword [ebx + 0x18]
call fcn.00534ab8
add esp, 0xc
mov dword [ebx + 0x18], eax
xor ecx, ecx
mov dword [ebx], 4
mov edx, ecx
mov esi, ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
jmp 0x5336fb
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x34]
cmp ecx, 0x20
mov esi, dword [ebp - 8]
mov dword [ebp - 0x10], eax
jmp 0x533607
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
mov esi, dword [ebp - 8]
mov dword [ebp - 0x10], eax
jmp 0x53367d
xor ecx, ecx
test dword [ebx + 0x10], 0x400
jne 0x5337a2
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x533712
mov dword [eax + 0x10], ecx
mov dword [ebx], 5
mov eax, dword [ebx + 0x10]
test eax, 0x400
je 0x533834
mov edx, dword [ebx + 0x40]
mov ecx, dword [ebp - 0x10]
cmp edx, ecx
cmovbe ecx, edx
mov dword [ebp - 0x34], ecx
test ecx, ecx
je 0x53382c
cmp dword [ebx + 0x20], 0
mov edi, dword [ebp + 8]
je 0x533804
mov edi, dword [ebx + 0x20]
mov edi, dword [edi + 0x10]
test edi, edi
mov dword [ebp - 0x38], edi
mov edi, dword [ebp + 8]
je 0x533804
mov eax, dword [ebx + 0x20]
mov eax, dword [eax + 0x14]
sub eax, edx
mov edx, dword [ebx + 0x20]
mov dword [ebp - 0x2c], eax
add eax, ecx
mov edx, dword [edx + 0x18]
cmp eax, edx
mov eax, dword [ebp - 0x2c]
jbe 0x5337eb
sub edx, eax
jmp 0x5337ed
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x5338c8
dec eax
mov ecx, esi
mov dword [ebp - 0x10], 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 - 0x14], edx
mov dword [ebp - 0xc], esi
push 0x10
pop eax
cmp esi, eax
jb 0x53377b
mov eax, dword [ebx + 0x20]
mov dword [ebx + 0x40], edx
test eax, eax
je 0x5337b6
mov dword [eax + 0x14], edx
test dword [ebx + 0x10], 0x200
je 0x5337dc
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.00534ab8
add esp, 0xc
mov dword [ebx + 0x18], eax
xor eax, eax
mov esi, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], esi
jmp 0x533712
mov edx, ecx
add eax, dword [ebp - 0x38]
push edx
mov edx, dword [ebp - 8]
push edx
push eax
call fcn.004fe430
mov eax, dword [ebx + 0x10]
add esp, 0xc
mov ecx, dword [ebp - 0x34]
test eax, 0x200
je 0x53381d
push ecx
push dword [ebp - 8]
push dword [ebx + 0x18]
call fcn.00534ab8
add esp, 0xc
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0x34]
sub dword [ebp - 0x10], eax
add dword [ebp - 8], eax
sub dword [ebx + 0x40], eax
mov edx, dword [ebx + 0x40]
test edx, edx
jne 0x5338c5
xor ecx, ecx
mov dword [ebx], 6
mov dword [ebx + 0x40], ecx
jmp 0x533843
xor ecx, ecx
test dword [ebx + 0x10], 0x800
je 0x533925
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x5338c8
mov edi, dword [ebp - 0x10]
mov eax, ecx
mov edx, dword [ebp - 8]
mov cl, byte [eax + edx]
inc eax
mov byte [ebp - 1], cl
mov ecx, dword [ebx + 0x20]
mov dword [ebp - 0x34], eax
test ecx, ecx
je 0x533890
cmp dword [ecx + 0x1c], 0
je 0x53388d
mov edx, dword [ebx + 0x40]
cmp edx, dword [ecx + 0x20]
jae 0x53388d
mov ecx, dword [ecx + 0x1c]
mov al, byte [ebp - 1]
mov byte [ecx + edx], al
inc dword [ebx + 0x40]
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 8]
cmp byte [ebp - 1], 0
je 0x53389a
cmp eax, edi
jb 0x53385f
test dword [ebx + 0x10], 0x200
mov edi, dword [ebp + 8]
je 0x5338b9
push eax
push edx
push dword [ebx + 0x18]
call fcn.00534ab8
mov dword [ebx + 0x18], eax
add esp, 0xc
mov eax, dword [ebp - 0x34]
sub dword [ebp - 0x10], eax
add dword [ebp - 8], eax
cmp byte [ebp - 1], 0
je 0x53392f
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
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], edx
xor edx, edx
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], ecx
cmp dword [ebx + 0x28], edx
jne 0x533907
cmp dword [ebx], 0x1a
jge 0x5346e2
cmp edi, dword [esi + 0x10]
je 0x5346e2
push edi
push esi
call fcn.005349d6
pop ecx
pop ecx
test eax, eax
je 0x5346e0
mov dword [ebx], 0x1e
push 0xfffffffffffffffc
jmp 0x534685
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x53392f
mov dword [eax + 0x1c], ecx
xor ecx, ecx
mov dword [ebx], 7
mov dword [ebx + 0x40], ecx
jmp 0x53393e
xor ecx, ecx
test dword [ebx + 0x10], 0x1000
je 0x5339c6
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x5338c8
mov edi, dword [ebp - 0x10]
mov eax, ecx
mov edx, dword [ebp - 8]
mov cl, byte [eax + edx]
inc eax
mov byte [ebp - 1], cl
mov ecx, dword [ebx + 0x20]
mov dword [ebp - 0x34], eax
test ecx, ecx
je 0x53398b
cmp dword [ecx + 0x24], 0
je 0x533988
mov edx, dword [ebx + 0x40]
cmp edx, dword [ecx + 0x28]
jae 0x533988
mov ecx, dword [ecx + 0x24]
mov al, byte [ebp - 1]
mov byte [ecx + edx], al
inc dword [ebx + 0x40]
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 8]
cmp byte [ebp - 1], 0
je 0x533995
cmp eax, edi
jb 0x53395a
test dword [ebx + 0x10], 0x200
mov edi, dword [ebp + 8]
je 0x5339b4
push eax
push edx
push dword [ebx + 0x18]
call fcn.00534ab8
mov dword [ebx + 0x18], eax
add esp, 0xc
mov eax, dword [ebp - 0x34]
sub dword [ebp - 0x10], eax
add dword [ebp - 8], eax
cmp byte [ebp - 1], 0
jne 0x5338c5
jmp 0x5339d0
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x5339d0
mov dword [eax + 0x24], ecx
mov edx, dword [ebp - 0x14]
mov dword [ebx], 8
mov eax, dword [ebx + 0x10]
test eax, 0x200
jne 0x533a45
xor edx, edx
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x5339ff
sar eax, 9
and eax, 1
mov dword [ecx + 0x2c], eax
mov eax, dword [ebx + 0x20]
mov dword [eax + 0x30], 1
push edx
push edx
push edx
call fcn.00534ab8
mov edx, dword [ebp - 0x14]
add esp, 0xc
mov dword [ebx + 0x18], eax
mov dword [edi + 0x30], eax
mov dword [ebx], 0xb
jmp 0x534676
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x5338c8
dec eax
mov ecx, esi
mov dword [ebp - 0x10], 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 - 0x14], edx
mov dword [ebp - 0xc], esi
push 0x10
pop eax
cmp esi, eax
jb 0x533a1e
movzx eax, word [ebx + 0x18]
cmp edx, eax
je 0x533a60
mov dword [edi + 0x18], str.header_crc_mismatch
jmp 0x534670
mov eax, dword [ebx + 0x10]
xor edx, edx
mov esi, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
jmp 0x5339e5
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x5338c8
dec eax
mov ecx, esi
mov dword [ebp - 0x10], 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 - 0x14], edx
mov dword [ebp - 0xc], esi
cmp esi, 0x20
jb 0x533a72
mov ecx, edx
mov esi, 0xff00
mov eax, edx
and ecx, esi
shl eax, 0x10
add ecx, eax
mov eax, edx
shr eax, 8
and eax, esi
shl ecx, 8
shr edx, 0x18
add eax, ecx
add eax, edx
mov dword [ebx + 0x18], eax
mov dword [edi + 0x30], eax
xor eax, eax
mov edx, eax
mov dword [ebx], 0xa
mov esi, eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
jmp 0x533adb
xor eax, eax
cmp dword [ebx + 0xc], eax
je 0x53468b
push eax
push eax
push eax
call fcn.00534d65
mov edx, dword [ebp - 0x14]
add esp, 0xc
mov dword [ebx + 0x18], eax
mov dword [edi + 0x30], eax
mov dword [ebx], 0xb
cmp dword [ebp + 0xc], 5
je 0x5338c5
cmp dword [ebp + 0xc], 6
je 0x5338c5
cmp dword [ebx + 4], 0
je 0x533b59
mov ecx, esi
mov dword [ebx], 0x1a
and ecx, 7
shr edx, cl
sub esi, ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
jmp 0x534676
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x5338c8
dec eax
mov ecx, esi
mov dword [ebp - 0x10], 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 - 0x14], edx
mov dword [ebp - 0xc], esi
cmp esi, 3
jb 0x533b32
mov eax, edx
shr edx, 1
and eax, 1
mov dword [ebx + 4], eax
mov eax, edx
and eax, 3
sub eax, 0
je 0x533bd0
sub eax, 1
je 0x533b97
sub eax, 1
je 0x533b90
sub eax, 1
jne 0x533bd6
mov dword [edi + 0x18], str.invalid_block_type
mov dword [ebx], 0x1d
jmp 0x533bd6
push 0x10
pop eax
mov dword [ebx], eax
jmp 0x533bd6
cmp dword [ebp + 0xc], 6
mov dword [ebx + 0x4c], 0x587dc0
mov dword [ebx + 0x54], 9
mov dword [ebx + 0x50], 0x5885c0
mov dword [ebx + 0x58], 5
mov dword [ebx], 0x13
jne 0x533bd6
shr edx, 2
sub esi, 3
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
jmp 0x5338c5
mov dword [ebx], 0xd
shr edx, 2
sub esi, 3
jmp 0x533529
mov ecx, esi
and ecx, 7
shr edx, cl
sub esi, ecx
jmp 0x533c0d
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x5338c8
dec eax
mov ecx, esi
mov dword [ebp - 0x10], 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], esi
mov dword [ebp - 0x14], edx
cmp esi, 0x20
jb 0x533bec
mov eax, edx
movzx ecx, dx
not eax
shr eax, 0x10
cmp ecx, eax
je 0x533c32
mov dword [edi + 0x18], str.invalid_stored_block_lengths
jmp 0x534670
xor eax, eax
mov dword [ebx + 0x40], ecx
cmp dword [ebp + 0xc], 6
mov edx, eax
mov esi, eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
mov dword [ebx], 0xe
je 0x5346dc
mov dword [ebx], 0xf
mov ecx, dword [ebx + 0x40]
test ecx, ecx
je 0x533c9f
mov eax, dword [ebp - 0x10]
cmp ecx, eax
mov edi, dword [ebp - 0x18]
cmovbe eax, ecx
cmp eax, edi
cmovbe edi, eax
test edi, edi
je 0x5338c5
push edi
push dword [ebp - 8]
push dword [ebp - 0x20]
call fcn.004fe430
sub dword [ebp - 0x10], edi
add esp, 0xc
add dword [ebp - 8], edi
sub dword [ebp - 0x18], edi
add dword [ebp - 0x20], edi
sub dword [ebx + 0x40], edi
mov edx, dword [ebp - 0x14]
mov edi, dword [ebp + 8]
jmp 0x534676
mov dword [ebx], 0xb
jmp 0x534676
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x5338c8
dec eax
mov ecx, esi
mov dword [ebp - 0x10], 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 - 0x14], edx
mov dword [ebp - 0xc], esi
cmp esi, 0xe
jb 0x533caa
mov eax, edx
sub esi, 0xe
shr edx, 5
push 0x1f
pop ecx
and ecx, eax
mov dword [ebp - 0xc], esi
mov eax, edx
add ecx, 0x101
and eax, 0x1f
shr edx, 5
inc eax
mov dword [ebx + 0x60], ecx
mov dword [ebp - 0x38], eax
mov dword [ebx + 0x64], eax
mov eax, edx
and eax, 0xf
shr edx, 4
add eax, 4
mov dword [ebp - 0x14], edx
mov dword [ebx + 0x5c], eax
cmp ecx, 0x11e
ja 0x533d28
cmp dword [ebp - 0x38], 0x1e
ja 0x533d28
and dword [ebx + 0x68], 0
push 0x11
pop eax
mov dword [ebx], eax
jmp case.0x5333fb.17
mov dword [edi + 0x18], str.too_many_length_or_distance_symbols
jmp 0x534670
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x5338c8
dec eax
mov ecx, esi
mov dword [ebp - 0x10], 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 - 0x14], edx
mov dword [ebp - 0xc], esi
cmp esi, 3
jb 0x533d34
mov eax, dword [ebx + 0x68]
mov ecx, edx
and ecx, 7
shr edx, 3
mov dword [ebp - 0x14], edx
movzx eax, word [eax*2 + 0x588640]
mov word [ebx + eax*2 + 0x70], cx
inc dword [ebx + 0x68]
sub esi, 3
mov dword [ebp - 0xc], esi
mov eax, dword [ebx + 0x68]
cmp eax, dword [ebx + 0x5c]
jb 0x533d5b
cmp eax, 0x13
jae 0x533dac
mov eax, dword [ebx + 0x68]
xor ecx, ecx
movzx eax, word [eax*2 + 0x588640]
mov word [ebx + eax*2 + 0x70], cx
inc dword [ebx + 0x68]
cmp dword [ebx + 0x68], 0x13
jb 0x533d91
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.00534fb9
mov edx, dword [ebp - 0x14]
add esp, 0x18
mov dword [ebp - 0x28], eax
test eax, eax
je 0x533df2
mov dword [edi + 0x18], str.invalid_code_lengths_set
jmp 0x534670
and dword [ebx + 0x68], 0
push 0x12
pop eax
mov dword [ebx], eax
mov ecx, eax
mov eax, dword [ebx + 0x64]
add eax, dword [ebx + 0x60]
cmp dword [ebx + 0x68], eax
jae 0x534016
mov ecx, dword [ebx + 0x54]
xor eax, eax
lea edi, [eax + 1]
shl edi, cl
jmp 0x533e3f
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x5338c8
dec eax
mov ecx, esi
mov dword [ebp - 0x10], 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 - 0x14], edx
mov dword [ebp - 0xc], esi
mov ecx, dword [ebx + 0x4c]
lea eax, [edi - 1]
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 0x533e18
mov ecx, eax
push 0x10
shr ecx, 0x10
pop edi
cmp cx, di
jae 0x533ec2
mov ecx, eax
shr ecx, 8
movzx edi, cl
cmp esi, edi
jae 0x533e9e
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x5338c5
mov edx, dword [ebp - 8]
dec ecx
mov dword [ebp - 0x10], ecx
mov ecx, esi
add esi, 8
mov dword [ebp - 0xc], esi
movzx edx, byte [edx]
shl edx, cl
add dword [ebp - 0x14], edx
inc dword [ebp - 8]
cmp esi, edi
jb 0x533e72
mov edx, dword [ebp - 0x14]
movzx ecx, ah
mov ax, word [ebp - 0x2a]
sub esi, ecx
shr edx, cl
mov ecx, dword [ebx + 0x68]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
mov word [ebx + ecx*2 + 0x70], ax
inc dword [ebx + 0x68]
mov ecx, dword [ebx + 0x68]
jmp 0x534003
cmp word [ebp - 0x2a], di
jne 0x533f2d
movzx edi, ah
jmp 0x533ef4
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x5338c8
dec eax
mov ecx, esi
mov dword [ebp - 0x10], 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 - 0x14], edx
mov dword [ebp - 0xc], esi
lea eax, [edi + 2]
cmp esi, eax
jb 0x533ecd
mov eax, dword [ebx + 0x68]
mov ecx, edi
shr edx, cl
sub esi, edi
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
test eax, eax
je 0x534036
movzx eax, word [ebx + eax*2 + 0x6e]
mov edi, edx
and edi, 3
shr edx, 2
add edi, 3
mov dword [ebp - 0x2c], eax
sub esi, 2
jmp 0x533fd2
push 0x11
pop ecx
cmp word [ebp - 0x2a], cx
movzx ecx, ah
jne 0x533f82
lea edi, [ecx + 3]
mov dword [ebp - 0x38], ecx
cmp esi, edi
jae 0x533f71
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x5338c8
dec eax
mov ecx, esi
mov dword [ebp - 0x10], eax
add esi, 8
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], esi
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
mov dword [ebp - 0x14], edx
cmp esi, edi
jb 0x533f43
mov ecx, dword [ebp - 0x38]
shr edx, cl
mov edi, edx
and edi, 7
add edi, 3
shr edx, 3
push 0xfffffffffffffffd
jmp 0x533fc9
lea edi, [ecx + 7]
mov dword [ebp - 0x38], ecx
cmp esi, edi
jae 0x533fba
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x5338c8
dec eax
mov ecx, esi
mov dword [ebp - 0x10], eax
add esi, 8
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], esi
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
mov dword [ebp - 0x14], edx
cmp esi, edi
jb 0x533f8c
mov ecx, dword [ebp - 0x38]
shr edx, cl
mov edi, edx
and edi, 0x7f
add edi, 0xb
shr edx, 7
push 0xfffffffffffffff9
pop eax
sub eax, ecx
add esi, eax
and dword [ebp - 0x2c], 0
mov ecx, dword [ebx + 0x68]
mov eax, dword [ebx + 0x64]
add ecx, edi
add eax, dword [ebx + 0x60]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
cmp ecx, eax
ja 0x534036
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebx + 0x68]
mov word [ebx + eax*2 + 0x70], dx
mov ecx, dword [ebx + 0x68]
lea ecx, [ecx + 1]
mov dword [ebx + 0x68], ecx
sub edi, 1
jne 0x533fea
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x64]
add eax, dword [ebx + 0x60]
cmp ecx, eax
jb 0x533e0c
mov ecx, dword [ebx]
mov edi, dword [ebp + 8]
cmp ecx, 0x1d
je 0x534676
xor eax, eax
cmp word [ebx + 0x270], ax
jne 0x534045
mov dword [edi + 0x18], str.invalid_code____missing_end_of_block
jmp 0x534670
mov edi, dword [ebp + 8]
mov dword [edi + 0x18], str.invalid_bit_length_repeat
jmp 0x534670
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.00534fb9
add esp, 0x18
mov dword [ebp - 0x28], eax
test eax, eax
je 0x53408c
mov dword [edi + 0x18], str.invalid_literal_lengths_set
mov edx, dword [ebp - 0x14]
jmp 0x534670
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.00534fb9
add esp, 0x18
mov dword [ebp - 0x28], eax
test eax, eax
je 0x5340cd
mov dword [edi + 0x18], str.invalid_distances_set
jmp 0x534084
cmp dword [ebp + 0xc], 6
mov dword [ebx], 0x13
je 0x5338c5
mov edx, dword [ebp - 0x14]
mov dword [ebx], 0x14
mov eax, dword [ebp - 0x10]
cmp eax, 6
jb 0x534154
cmp dword [ebp - 0x18], 0x102
jb 0x534154
mov ecx, dword [ebp - 0x20]
push dword [ebp - 0x24]
mov dword [edi + 0xc], ecx
mov ecx, dword [ebp - 0x18]
mov dword [edi + 0x10], ecx
mov ecx, dword [ebp - 8]
mov dword [edi], ecx
mov dword [edi + 4], eax
push edi
mov dword [ebx + 0x38], edx
mov dword [ebx + 0x3c], esi
call fcn.005353f4
cmp dword [ebx], 0xb
mov eax, dword [edi + 0xc]
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]
pop ecx
mov dword [ebp - 8], eax
mov eax, dword [edi + 4]
pop ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
jne 0x534676
or dword [ebx + 0x1bc4], 0xffffffff
jmp 0x534676
and dword [ebx + 0x1bc4], 0
xor eax, eax
mov ecx, dword [ebx + 0x54]
lea edi, [eax + 1]
shl edi, cl
jmp 0x53418e
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x5338c8
dec eax
mov ecx, esi
mov dword [ebp - 0x10], 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 - 0x14], edx
mov dword [ebp - 0xc], esi
mov ecx, dword [ebx + 0x4c]
lea eax, [edi - 1]
and eax, edx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
ja 0x534167
test al, al
je 0x534249
test al, 0xf0
jne 0x534249
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 - 0x2c], edx
and esi, dword [ebp - 0x14]
shr esi, cl
mov ecx, dword [ebx + 0x4c]
add esi, eax
mov eax, dword [ecx + esi*4]
jmp 0x534228
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x5338c8
mov edi, dword [ebp - 8]
dec eax
mov ecx, esi
mov dword [ebp - 0x10], eax
add esi, 8
mov dword [ebp - 0xc], esi
xor esi, esi
movzx eax, byte [edi]
inc esi
shl eax, cl
add dword [ebp - 0x14], eax
inc edi
movzx eax, word [ebp - 0x2a]
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 - 0x14]
shr esi, cl
add esi, eax
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + esi*4]
mov esi, dword [ebp - 0xc]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, edi
cmp ecx, esi
ja 0x5341e1
movzx ecx, dh
mov edx, dword [ebp - 0x14]
shr edx, cl
sub esi, ecx
mov dword [ebx + 0x1bc4], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [ebx + 0x1bc4], ecx
sub esi, ecx
shr edx, cl
mov ecx, eax
shr ecx, 0x10
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
mov dword [ebx + 0x40], ecx
test al, al
jne 0x534278
mov dword [ebx], 0x19
jmp 0x533c97
test al, 0x20
je 0x53428e
or dword [ebx + 0x1bc4], 0xffffffff
mov dword [ebx], 0xb
jmp 0x533c97
test al, 0x40
je 0x5342a1
mov edi, dword [ebp + 8]
mov dword [edi + 0x18], str.invalid_literal_length_code
jmp 0x534670
movzx eax, al
and eax, 0xf
mov dword [ebx], 0x15
mov dword [ebx + 0x48], eax
mov edi, dword [ebx + 0x48]
test edi, edi
je 0x534301
jmp 0x5342e0
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x5338c8
dec eax
mov ecx, esi
mov dword [ebp - 0x10], 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 - 0x14], edx
mov dword [ebp - 0xc], esi
cmp esi, edi
jb 0x5342b9
xor eax, eax
mov ecx, edi
inc eax
sub esi, edi
shl eax, cl
dec eax
mov dword [ebp - 0xc], esi
and eax, edx
shr edx, cl
add dword [ebx + 0x40], eax
add dword [ebx + 0x1bc4], edi
mov dword [ebp - 0x14], edx
mov eax, dword [ebx + 0x40]
mov dword [ebx + 0x1bc8], eax
mov dword [ebx], 0x16
mov ecx, dword [ebx + 0x58]
xor eax, eax
lea edi, [eax + 1]
shl edi, cl
jmp 0x534343
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x5338c8
dec eax
mov ecx, esi
mov dword [ebp - 0x10], 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 - 0x14], edx
mov dword [ebp - 0xc], esi
mov ecx, dword [ebx + 0x50]
lea eax, [edi - 1]
and eax, edx
mov eax, dword [ecx + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, esi
ja 0x53431c
test al, 0xf0
jne 0x5343f6
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 - 0x2c], edx
and esi, dword [ebp - 0x14]
shr esi, cl
mov ecx, dword [ebx + 0x50]
add esi, eax
mov eax, dword [ecx + esi*4]
jmp 0x5343d5
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x5338c8
mov edi, dword [ebp - 8]
dec eax
mov ecx, esi
mov dword [ebp - 0x10], eax
add esi, 8
mov dword [ebp - 0xc], esi
xor esi, esi
movzx eax, byte [edi]
inc esi
shl eax, cl
add dword [ebp - 0x14], eax
inc edi
movzx eax, word [ebp - 0x2a]
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 - 0x14]
shr esi, cl
add esi, eax
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + esi*4]
mov esi, dword [ebp - 0xc]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, edi
cmp ecx, esi
ja 0x53438e
movzx ecx, dh
mov edx, dword [ebp - 0x14]
sub esi, ecx
shr edx, cl
add dword [ebx + 0x1bc4], ecx
mov edi, dword [ebp + 8]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [ebx + 0x1bc4], ecx
sub esi, ecx
shr edx, cl
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
test al, 0x40
je 0x534421
mov dword [edi + 0x18], str.invalid_distance_code
jmp 0x534670
mov ecx, eax
mov dword [ebx], 0x17
shr ecx, 0x10
movzx eax, al
and eax, 0xf
mov dword [ebx + 0x44], ecx
mov dword [ebx + 0x48], eax
mov ecx, dword [ebx + 0x48]
test ecx, ecx
je 0x53448a
jmp 0x53446b
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x5338c8
dec eax
mov ecx, esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
shl eax, cl
mov ecx, dword [ebx + 0x48]
add edx, eax
inc dword [ebp - 8]
add esi, 8
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
cmp esi, ecx
jb 0x534441
xor eax, eax
sub esi, ecx
inc eax
mov dword [ebp - 0xc], esi
shl eax, cl
dec eax
and eax, edx
shr edx, cl
add dword [ebx + 0x44], eax
add dword [ebx + 0x1bc4], ecx
mov dword [ebp - 0x14], edx
mov dword [ebx], 0x18
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x5338c5
mov ecx, dword [ebp - 0x24]
sub ecx, eax
mov eax, dword [ebx + 0x44]
cmp eax, ecx
jbe 0x5344f0
sub eax, ecx
cmp eax, dword [ebx + 0x2c]
jbe 0x5344c3
cmp dword [ebx + 0x1bc0], 0
je 0x5344c3
mov dword [edi + 0x18], str.invalid_distance_too_far_back
jmp 0x534670
cmp eax, dword [ebx + 0x30]
jbe 0x5344d5
sub eax, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x28]
sub ecx, eax
add ecx, dword [ebx + 0x34]
jmp 0x5344dd
mov ecx, dword [ebx + 0x34]
sub ecx, eax
add ecx, dword [ebx + 0x30]
mov edi, dword [ebx + 0x40]
cmp eax, edi
mov dword [ebp - 0x38], edi
cmovbe edi, eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x2c], edi
jmp 0x5344fb
mov ecx, dword [ebp - 0x20]
sub ecx, eax
mov eax, dword [ebx + 0x40]
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x18]
mov edi, edx
cmp dword [ebp - 0x2c], edx
cmovbe edi, dword [ebp - 0x2c]
sub edx, edi
sub eax, edi
mov dword [ebp - 0x18], edx
mov edx, dword [ebp - 0x20]
sub ecx, edx
mov dword [ebx + 0x40], eax
mov al, byte [ecx + edx]
mov byte [edx], al
inc edx
sub edi, 1
jne 0x534516
cmp dword [ebx + 0x40], 0
mov edi, dword [ebp + 8]
mov dword [ebp - 0x20], edx
mov edx, dword [ebp - 0x14]
jne 0x534676
mov dword [ebx], 0x14
jmp 0x534676
cmp dword [ebp - 0x18], 0
je 0x5338c5
mov ecx, dword [ebp - 0x20]
mov al, byte [ebx + 0x40]
mov byte [ecx], al
inc ecx
dec dword [ebp - 0x18]
mov dword [ebp - 0x20], ecx
jmp 0x534534
cmp dword [ebx + 8], 0
je 0x534617
jmp 0x53458d
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x5338c8
dec eax
mov ecx, esi
mov dword [ebp - 0x10], 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 - 0x14], edx
mov dword [ebp - 0xc], esi
cmp esi, 0x20
jb 0x534566
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 0x5345cf
mov eax, dword [ebp - 0x20]
sub eax, ecx
cmp dword [ebx + 0x10], 0
push ecx
push eax
push dword [ebx + 0x18]
je 0x5345bb
call fcn.00534ab8
jmp 0x5345c0
call fcn.00534d65
mov edx, dword [ebp - 0x14]
add esp, 0xc
mov dword [ebx + 0x18], eax
mov dword [edi + 0x30], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov ecx, edx
and ecx, 0xff00
mov eax, edx
shl eax, 0x10
add ecx, eax
mov eax, edx
shr eax, 8
and eax, 0xff00
shl ecx, 8
add ecx, eax
mov eax, edx
shr eax, 0x18
add ecx, eax
xor eax, eax
cmp dword [ebx + 0x10], eax
cmovne ecx, edx
cmp ecx, dword [ebx + 0x18]
je 0x53460d
mov dword [edi + 0x18], str.incorrect_data_check
jmp 0x534670
mov edx, eax
mov esi, eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], esi
mov dword [ebx], 0x1b
xor eax, eax
cmp dword [ebx + 8], eax
je 0x5346b3
cmp dword [ebx + 0x10], eax
je 0x5346b3
cmp esi, 0x20
jae 0x534664
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x5338c8
dec eax
mov ecx, esi
mov dword [ebp - 0x10], eax
add esi, 8
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], esi
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 8]
mov dword [ebp - 0x14], edx
cmp esi, 0x20
jb 0x534636
xor eax, eax
cmp edx, dword [ebx + 0x1c]
je 0x5346ac
mov dword [edi + 0x18], str.incorrect_length_check
mov dword [ebx], 0x1d
mov ecx, dword [ebx]
mov eax, ecx
cmp eax, 0x1f
jbe 0x5333f5
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 - 0x10]
mov dword [edi + 4], eax
mov dword [ebx + 0x38], edx
mov dword [ebx + 0x3c], esi
push 2
jmp 0x534685
mov dword [ebp - 0x14], eax
mov ecx, eax
jmp 0x5346b6
mov ecx, dword [ebp - 0xc]
mov dword [ebx], 0x1c
jmp 0x5346c1
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x28], 1
mov eax, dword [ebp - 0x10]
jmp 0x5338cb
mov dword [ebp - 0x28], 0xfffffffd
jmp 0x5338c5
mov ecx, eax
jmp 0x5346c8
xor edx, edx
mov eax, dword [ebp - 0x30]
sub eax, dword [esi + 4]
sub edi, dword [esi + 0x10]
add dword [esi + 8], eax
add dword [esi + 0x14], edi
add dword [ebx + 0x1c], edi
mov dword [ebp - 0x30], eax
cmp dword [ebx + 8], edx
je 0x534726
test edi, edi
je 0x534726
mov eax, dword [esi + 0xc]
sub eax, edi
push edi
push eax
push dword [ebx + 0x18]
cmp dword [ebx + 0x10], edx
je 0x534716
call fcn.00534ab8
jmp 0x53471b
call fcn.00534d65
add esp, 0xc
mov dword [ebx + 0x18], eax
mov dword [esi + 0x30], eax
xor edx, edx
cmp dword [ebx], 0x13
je 0x534730
cmp dword [ebx], 0xe
jne 0x534735
mov edx, 0x100
mov ecx, dword [ebx + 4]
neg ecx
mov dword [ebp + 8], 0x80
sbb ecx, ecx
xor eax, eax
and ecx, 0x40
cmp dword [ebx], 0xb
cmove eax, dword [ebp + 8]
add ecx, edx
add eax, ecx
add eax, dword [ebx + 0x3c]
cmp dword [ebp - 0x30], 0
mov dword [esi + 0x2c], eax
jne 0x534763
test edi, edi
je 0x534769
cmp dword [ebp + 0xc], 4
jne 0x534779
mov eax, dword [ebp - 0x28]
test eax, eax
push 0xfffffffffffffffb
pop ecx
cmove eax, ecx
jmp 0x534686
mov eax, dword [ebp - 0x28]
jmp 0x534686