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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x60
mov edi, dword [ebp + 8]
mov eax, dword [0x808040]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0xffffffff
mov esi, 0xfffffffe
test edi, edi
je 0x5418b4
cmp dword [edi + 0x20], 0
je 0x5418b4
cmp dword [edi + 0x24], 0
je 0x5418b4
mov ebx, dword [edi + 0x1c]
test ebx, ebx
je 0x5418b4
cmp dword [ebx], edi
jne 0x5418b4
mov eax, dword [ebx + 4]
lea ecx, [eax - 0x3f34]
cmp ecx, 0x1f
ja 0x5418b4
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x5418b4
mov edx, dword [edi]
mov dword [ebp - 0x24], edx
test edx, edx
je 0x5429ae
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp + 0xc]
cmp eax, 0x3f3f
je 0x542a27
mov edx, dword [edi + 4]
mov esi, dword [edi + 0x10]
mov dword [ebp - 0x2c], esi
mov edi, dword [ebx + 0x3c]
mov dword [ebp - 0x20], edi
mov edi, dword [ebx + 0x40]
mov dword [ebp - 0x1c], edi
lea edi, [ebx + 0x74]
mov dword [ebp - 0x50], edi
lea edi, [ebx + 0x534]
mov dword [ebp - 0x60], edi
lea edi, [ebx + 0x70]
mov dword [ebp - 0x58], edi
lea edi, [ebx + 0x58]
mov dword [ebp - 0x5c], edi
lea esi, [ebx + 0x2f4]
lea edi, [ebx + 0x5c]
mov dword [ebp - 0x68], edi
lea ecx, [ecx - 5]
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x64], edx
mov edi, edx
mov edx, esi
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x54], edx
jmp 0x5412a0
test eax, eax
mov esi, dword [ebp - 0x30]
je 0x542792
neg edx
mov ecx, eax
nop dword [eax]
movzx ebx, byte [esi + edx]
mov byte [esi], bl
inc esi
dec ecx
jne 0x541140
mov dword [ebp - 0x30], esi
mov ebx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
jmp 0x5411f5
mov eax, dword [ebx + 0xc]
test eax, eax
jne 0x542238
mov dword [ebx + 4], 0x3f40
jmp 0x54125d
mov ecx, dword [ebx + 0x2c]
sub ecx, edx
add ecx, dword [ebx + 0x38]
jmp 0x541192
cmp eax, dword [ebx + 0x30]
ja 0x542979
mov ecx, dword [ebx + 0x34]
mov edx, eax
sub edx, ecx
ja 0x54116f
sub ecx, eax
add ecx, dword [ebx + 0x38]
mov edx, eax
mov eax, dword [ebx + 0x44]
cmp edx, eax
cmovb eax, edx
cmp eax, esi
cmovae eax, esi
cmp esi, 0xf
mov dword [ebp - 0x34], eax
jle 0x541f4e
lea edx, [eax - 1]
mov esi, edx
and esi, 0xf
movdqu xmm0, xmmword [ecx]
mov edi, dword [ebp - 0x30]
movdqu xmmword [edi], xmm0
add edi, esi
inc edi
mov dword [ebp - 0x30], edi
cmp edx, 0x10
jb 0x5425b3
inc esi
shr edx, 4
add ecx, esi
mov esi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x18]
movdqu xmm0, xmmword [ecx]
movdqu xmmword [esi], xmm0
add esi, 0x10
add ecx, 0x10
dec edx
jne 0x5411d9
mov dword [ebp - 0x30], esi
mov esi, dword [ebp - 0x2c]
mov edi, eax
mov eax, dword [ebp - 0x34]
sub esi, eax
sub dword [ebx + 0x44], eax
jne 0x54125d
mov dword [ebx + 4], 0x3f48
mov eax, dword [ebx + 4]
jmp 0x5412a0
mov ecx, dword [ebp - 0x30]
mov edx, edi
mov edi, dword [ebp + 8]
mov dword [edi + 0xc], ecx
mov dword [edi + 0x10], esi
mov ecx, dword [ebp - 0x24]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov ecx, dword [ebp - 0x20]
mov dword [ebx + 0x3c], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebx + 0x40], ecx
push eax
push edi
call fcn.005407b0
add esp, 8
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x30], eax
mov esi, dword [edi + 0x10]
mov eax, dword [edi]
mov dword [ebp - 0x24], eax
mov edi, dword [edi + 4]
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x20], eax
cmp dword [ebx + 4], 0x3f3f
mov eax, dword [ebx + 0x40]
mov dword [ebp - 0x1c], eax
je 0x541262
mov eax, dword [ebx + 4]
jmp 0x5412a0
mov dword [ebx + 0x2348], 0xffffffff
mov eax, dword [ebx + 4]
jmp 0x5412a0
test esi, esi
je 0x54174a
movzx eax, byte [ebx + 0x44]
mov ecx, dword [ebp - 0x30]
mov byte [ecx], al
inc ecx
mov dword [ebp - 0x30], ecx
dec esi
mov dword [ebx + 4], 0x3f48
mov eax, dword [ebx + 4]
add eax, 0xffffc0cc
cmp eax, 0x1e
ja case.default.0x5412b1
mov dword [ebp - 0x2c], esi
jmp dword [eax*4 + 0x7830b4]
mov eax, dword [ebp - 0x40]
cmp edi, 6
jb 0x5412cc
cmp esi, 0x102
jae 0x54120b
mov dword [ebp - 0x18], edi
mov dword [ebx + 0x2348], 0
movzx ecx, byte [ebx + 0x58]
mov edi, 0xffffffff
shl edi, cl
mov eax, dword [ebx + 0x50]
not edi
mov ecx, dword [ebp - 0x20]
and ecx, edi
mov dword [ebp - 0x38], eax
movzx ebx, byte [eax + ecx*4 + 1]
movzx eax, bl
mov edx, dword [ebp - 0x1c]
cmp edx, eax
jae 0x5413a0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], eax
mov esi, dword [ebp - 0x24]
sub dword [ebp - 0x34], 1
jb 0x54193d
movzx eax, byte [esi]
inc esi
mov ecx, edx
shl eax, cl
mov ecx, dword [ebp - 0x20]
add ecx, eax
add edx, 8
mov dword [ebp - 0x20], ecx
mov eax, ecx
and eax, edi
mov ebx, dword [ebp - 0x38]
lea ecx, [ebx + eax*4]
movzx ebx, byte [ebx + eax*4 + 1]
movzx eax, bl
cmp edx, eax
jb 0x54130d
movzx edi, word [ecx + 2]
mov ch, byte [ecx]
mov cl, ch
dec cl
cmp cl, 0xe
jbe 0x541f9c
xor eax, eax
mov dword [ebp - 0x24], esi
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x18], esi
movzx esi, bl
sub edx, esi
mov dword [ebp - 0x1c], edx
add eax, esi
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x2348], eax
movzx eax, di
mov dword [edx + 0x44], eax
mov cl, bl
mov eax, dword [ebp - 0x20]
shr eax, cl
test ch, ch
mov dword [ebp - 0x20], eax
jne 0x541490
mov dword [edx + 4], 0x3f4d
mov ebx, edx
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x18]
mov eax, dword [ebx + 4]
jmp 0x5412a0
mov esi, dword [ebp - 0x38]
lea ecx, [esi + ecx*4]
mov esi, dword [ebp - 0x24]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x34], edi
jmp 0x541340
mov ecx, edi
mov esi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x20], ebx
sub ecx, 1
jb 0x541916
movzx ebx, byte [esi]
mov dword [ebp - 0x18], edi
mov edi, esi
mov esi, ecx
mov ecx, edx
shl ebx, cl
mov ecx, dword [ebp - 0x20]
add ecx, ebx
mov ebx, ecx
mov ecx, esi
mov esi, edi
mov edi, dword [ebp - 0x18]
inc esi
add edx, 8
cmp edx, eax
jae 0x54144e
jmp 0x5413b9
mov dword [ebp - 0x34], edi
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x24], ecx
sub dword [ebp - 0x18], 1
jb 0x541924
mov ecx, dword [ebp - 0x24]
movzx edx, byte [ecx]
inc ecx
mov dword [ebp - 0x24], ecx
mov edi, ebx
mov ebx, dword [ebp - 0x34]
mov ecx, ebx
shl edx, cl
add esi, edx
add ebx, 8
mov ecx, esi
and ecx, eax
lea ecx, [edi + ecx*4]
mov dl, byte [ecx + 1]
mov dword [ebp - 0x38], edx
movzx edx, dl
mov dword [ebp - 0x34], ebx
cmp ebx, edx
mov ebx, edi
jae 0x541519
jmp 0x5413fa
mov edx, dword [ebp - 0x1c]
cmp edx, eax
jb 0x5413b1
mov esi, dword [ebp - 0x24]
mov ecx, edi
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ecx
xor esi, esi
dec esi
mov ecx, eax
shl esi, cl
not esi
and esi, ebx
mov edi, ebx
mov ebx, dword [ebp - 0x28]
add esi, dword [ebx + 0x44]
shr edi, cl
mov dword [ebp - 0x20], edi
mov dword [ebx + 0x44], esi
add dword [ebx + 0x2348], eax
sub edx, eax
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
jmp 0x5414c7
movzx eax, ch
test al, 0x20
mov esi, dword [ebp - 0x2c]
jne 0x542219
test al, 0x40
mov ebx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x18]
jne 0x54294c
and eax, 0xf
mov dword [ebx + 0x4c], eax
mov dword [ebx + 4], 0x3f49
test eax, eax
jne 0x54143b
mov esi, dword [ebx + 0x44]
mov eax, dword [ebp - 0x24]
mov dword [ebx + 0x234c], esi
mov dword [ebx + 4], 0x3f4a
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x44], edi
movzx ecx, byte [ebx + 0x5c]
mov eax, 0xffffffff
shl eax, cl
mov ebx, dword [ebx + 0x54]
not eax
mov esi, dword [ebp - 0x20]
mov ecx, esi
and ecx, eax
movzx edx, byte [ebx + ecx*4 + 1]
mov dword [ebp - 0x38], edx
movzx edx, dl
mov edi, dword [ebp - 0x1c]
cmp edi, edx
jb 0x5413eb
lea ecx, [ebx + ecx*4]
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x34], edi
movzx edi, word [ecx + 2]
movzx eax, byte [ecx]
cmp eax, 0x10
jb 0x54267d
mov word [ebp - 0x3c], di
mov edi, esi
mov ebx, dword [ebp - 0x28]
mov edx, dword [ebx + 0x2348]
mov ecx, dword [ebp - 0x38]
movzx esi, cl
add edx, esi
mov dword [ebx + 0x2348], edx
shr edi, cl
mov dword [ebp - 0x20], edi
mov ecx, dword [ebp - 0x34]
sub ecx, esi
mov dword [ebp - 0x1c], ecx
movzx eax, al
test al, 0x40
jne 0x542927
movzx ecx, word [ebp - 0x3c]
mov dword [ebx + 0x48], ecx
and eax, 0xf
mov dword [ebx + 0x4c], eax
mov dword [ebx + 4], 0x3f4b
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x18]
test eax, eax
je 0x5415e0
mov edx, dword [ebp - 0x1c]
cmp edx, eax
jae 0x542799
mov dword [ebp - 0x18], edi
mov esi, edi
mov edi, dword [ebp - 0x24]
sub esi, 1
jb 0x54193d
movzx ebx, byte [edi]
mov ecx, edx
shl ebx, cl
add dword [ebp - 0x20], ebx
inc edi
add edx, 8
cmp edx, eax
jb 0x54158f
mov dword [ebp - 0x18], esi
mov ebx, 0xffffffff
mov ecx, eax
shl ebx, cl
not ebx
mov esi, dword [ebp - 0x20]
and ebx, esi
mov ecx, dword [ebp - 0x28]
add dword [ecx + 0x48], ebx
mov ebx, ecx
mov ecx, eax
shr esi, cl
mov dword [ebp - 0x20], esi
add dword [ebx + 0x2348], eax
sub edx, eax
mov dword [ebp - 0x24], edi
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
mov esi, dword [ebp - 0x2c]
mov dword [ebx + 4], 0x3f4c
mov ecx, dword [ebp - 0x40]
test esi, esi
mov dword [ebp - 0x18], edi
je 0x54174d
sub ecx, esi
mov edx, dword [ebx + 0x48]
mov eax, edx
sub eax, ecx
ja 0x541179
mov eax, dword [ebx + 0x44]
cmp eax, esi
cmovae eax, esi
cmp esi, 0x2f
jle 0x54112d
cmp edx, 0xf
ja 0x54161e
cmp edx, eax
jb 0x541672
mov esi, dword [ebp - 0x30]
sub esi, edx
lea ecx, [eax - 1]
movdqu xmm0, xmmword [esi]
mov esi, ecx
and esi, 0xf
mov edi, dword [ebp - 0x30]
movdqu xmmword [edi], xmm0
mov edi, dword [ebp - 0x30]
add edi, esi
inc edi
mov dword [ebp - 0x30], edi
mov esi, dword [ebp - 0x30]
cmp ecx, 0x10
jb 0x541667
mov dword [ebp - 0x34], eax
neg edx
shr ecx, 4
mov eax, dword [ebp - 0x18]
movdqu xmm0, xmmword [esi + edx]
movdqu xmmword [esi], xmm0
add esi, 0x10
dec ecx
je 0x5411ea
jmp 0x541652
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x18]
jmp 0x5411f5
lea ecx, [eax - 1]
and ecx, 0xf
lea esi, [ecx + 1]
cmp edx, 1
mov dword [ebp - 0x34], eax
jne 0x5418c8
mov edi, dword [ebp - 0x30]
movzx edx, byte [edi - 1]
movd xmm0, edx
punpcklbw xmm0, xmm0
pshuflw xmm0, xmm0, 0
pshufd xmm0, xmm0, 0
movdqu xmmword [edi], xmm0
add edi, esi
mov dword [ebp - 0x30], edi
cmp eax, esi
je 0x541667
sub ecx, eax
inc ecx
mov esi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x18]
nop dword [eax]
movdqu xmmword [edx], xmm0
add edx, 0x10
add ecx, 0x10
jne 0x5416c0
mov dword [ebp - 0x30], edx
jmp 0x5411f0
cmp dword [ebp - 0x40], ebx
je 0x5417f6
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 4]
cmp eax, 0x3f50
jg 0x5417f6
cmp eax, 0x3f4e
setge al
cmp dword [ebp + 0xc], 4
sete cl
test cl, al
je 0x54177f
jmp 0x5417f6
mov cl, byte [esi + 0x28]
xor ebx, ebx
inc ebx
shl ebx, cl
mov dword [esi + 0x2c], ebx
xor ecx, ecx
mov dword [esi + 0x34], ecx
mov dword [esi + 0x30], ecx
jmp 0x5417a3
sub edx, ebx
push ebx
push edx
push eax
call fcn.005c9580
add esp, 0xc
mov dword [esi + 0x34], 0
mov eax, dword [esi + 0x2c]
mov dword [esi + 0x30], eax
mov edi, dword [ebp + 8]
jmp 0x5417f6
add eax, esi
mov dword [ebx + 0x30], eax
jmp 0x5417f6
mov dword [ebp - 0x18], edi
xor esi, esi
mov eax, dword [ebp - 0x30]
mov edi, dword [ebp + 8]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], esi
mov eax, dword [ebp - 0x24]
mov dword [edi], eax
mov eax, dword [ebp - 0x18]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [ebx + 0x3c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x2c], 0
mov ebx, dword [edi + 0x10]
je 0x5416d4
mov edx, dword [edi + 0xc]
mov esi, dword [edi + 0x1c]
mov eax, dword [esi + 0x38]
test eax, eax
mov dword [ebp - 0x20], esi
je 0x5421c3
mov edi, dword [ebp - 0x40]
sub edi, ebx
mov ebx, dword [esi + 0x2c]
test ebx, ebx
je 0x541706
cmp ebx, edi
jbe 0x54171e
mov ecx, dword [esi + 0x34]
sub ebx, ecx
cmp ebx, edi
mov esi, edi
cmovb esi, ebx
add eax, ecx
mov ecx, edx
sub ecx, edi
push esi
push ecx
push eax
mov dword [ebp - 0x18], edx
call fcn.005c9580
add esp, 0xc
cmp ebx, edi
jb 0x5421a4
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx + 0x34]
add eax, esi
mov ecx, dword [ebx + 0x2c]
xor edx, edx
cmp eax, ecx
cmovne edx, eax
mov eax, dword [ebx + 0x30]
mov dword [ebx + 0x34], edx
cmp eax, ecx
mov edi, dword [ebp + 8]
jb 0x541740
mov ecx, edi
mov edx, dword [edi + 4]
mov esi, dword [edi + 0x10]
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x20], edx
sub eax, edx
add dword [edi + 8], eax
mov edi, dword [ebp - 0x40]
mov eax, edi
sub eax, esi
add dword [ecx + 0x14], eax
mov ebx, dword [ebp - 0x28]
add dword [ebx + 0x20], eax
test byte [ebx + 0xc], 4
je 0x54184f
cmp edi, esi
je 0x54184f
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0xc]
sub ecx, eax
cmp dword [ebx + 0x14], 0
mov edx, dword [ebx + 0x1c]
jne 0x542a03
push eax
push ecx
push edx
call fcn.00568cf0
add esp, 0xc
mov dword [ebx + 0x1c], eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x30], eax
mov edi, dword [ebp - 0x40]
xor eax, eax
cmp dword [ebx + 8], 0
setne al
shl eax, 6
add eax, dword [ebx + 0x40]
mov edx, dword [ebx + 4]
xor ecx, ecx
cmp edx, 0x3f3f
sete cl
shl ecx, 7
cmp edx, 0x3f47
sete bl
cmp edx, 0x3f42
sete dl
or dl, bl
movzx edx, dl
shl edx, 8
add edx, ecx
add edx, eax
mov ebx, dword [ebp - 0x64]
xor ebx, dword [ebp - 0x20]
xor edi, esi
mov esi, dword [ebp - 0x4c]
test esi, esi
mov eax, 0xfffffffb
cmovne eax, esi
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x2c], edx
or edi, ebx
cmove esi, eax
cmp dword [ebp + 0xc], 4
cmove esi, eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c6b46
mov eax, esi
add esp, 0x60
pop esi
pop edi
pop ebx
pop ebp
ret
cmp edx, 4
jne 0x5425be
mov edx, dword [ebp - 0x30]
movd xmm0, dword [edx - 4]
pshufd xmm0, xmm0, 0
movdqu xmmword [edx], xmm0
add edx, esi
mov dword [ebp - 0x30], edx
cmp eax, esi
je 0x541150
mov edx, dword [ebp - 0x30]
movd xmm0, dword [edx - 4]
pshufd xmm0, xmm0, 0
sub ecx, eax
inc ecx
mov esi, dword [ebp - 0x2c]
movdqu xmmword [edx], xmm0
add edx, 0x10
add ecx, 0x10
jne 0x541902
mov dword [ebp - 0x30], edx
jmp 0x5411f5
mov eax, dword [ebp - 0x1c]
lea eax, [eax + edi*8]
mov dword [ebp - 0x1c], eax
add dword [ebp - 0x24], edi
jmp 0x54194c
mov dword [ebp - 0x20], esi
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x44]
lea eax, [eax + ecx*8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x3c]
add eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x54194c
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx + eax*8]
mov dword [ebp - 0x1c], ecx
add dword [ebp - 0x24], eax
mov dword [ebp - 0x18], 0
mov ebx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
jmp 0x54174f
mov dword [ebp - 0x18], 0
jmp 0x541956
mov eax, dword [ebp - 0x1c]
cmp eax, 0xd
ja 0x541995
mov dword [ebp - 0x1c], eax
sub edi, 1
jb 0x542965
mov ecx, dword [ebp - 0x24]
movzx eax, byte [ecx]
inc ecx
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x1c]
shl eax, cl
add dword [ebp - 0x20], eax
lea eax, [ecx + 8]
cmp ecx, 6
jb 0x54196f
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], eax
mov esi, dword [ebp - 0x20]
mov edx, esi
and edx, 0x1f
lea eax, [edx + 0x101]
mov dword [ebx + 0x64], eax
mov ecx, esi
shr ecx, 5
and ecx, 0x1f
lea eax, [ecx + 1]
mov dword [ebx + 0x68], eax
mov eax, dword [ebp - 0x1c]
mov edi, esi
shr edi, 0xa
and edi, 0xf
add edi, 4
mov dword [ebp - 0x34], edi
mov dword [ebx + 0x60], edi
shr esi, 0xe
mov dword [ebp - 0x20], esi
add eax, 0xfffffff2
cmp edx, 0x1d
ja 0x542918
cmp ecx, 0x1e
jae 0x542918
mov dword [ebx + 0x6c], 0
mov dword [ebx + 4], 0x3f45
xor ecx, ecx
mov edx, ecx
jmp 0x541a2b
mov edi, dword [ebp - 0x20]
mov esi, edi
and esi, 7
lea ecx, [edx + 1]
mov dword [ebx + 0x6c], ecx
movzx edx, word [edx + edx + 0x782690]
mov word [ebx + edx*2 + 0x74], si
shr edi, 3
mov dword [ebp - 0x20], edi
add eax, 0xfffffffd
mov edx, ecx
cmp ecx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x58]
jae 0x541a61
cmp eax, 2
ja 0x5419fd
mov dword [ebp - 0x1c], eax
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x54195e
mov eax, dword [ebp - 0x24]
movzx edi, byte [eax]
mov ecx, dword [ebp - 0x1c]
shl edi, cl
mov dword [ebp - 0x38], edi
mov edi, dword [ebp - 0x20]
add edi, dword [ebp - 0x38]
or ecx, 8
dec esi
mov dword [ebp - 0x18], esi
inc eax
mov dword [ebp - 0x24], eax
mov eax, ecx
jmp 0x541a00
mov dword [ebp - 0x1c], eax
cmp ecx, 0x12
mov edx, dword [ebp - 0x50]
ja 0x541a83
movzx eax, word [ecx + ecx + 0x782690]
inc ecx
mov word [edx + eax*2], 0
cmp ecx, 0x13
jne 0x541a6c
mov dword [ebx + 0x6c], ecx
mov eax, dword [ebp - 0x60]
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x58], 7
push dword [ebp - 0x54]
push dword [ebp - 0x5c]
push esi
push 0x13
push edx
push 0
call fcn.00567ff0
add esp, 0x18
test eax, eax
mov edi, dword [ebp - 0x18]
jne 0x542ae7
mov dword [ebx + 0x6c], 0
mov dword [ebx + 4], 0x3f46
xor edx, edx
mov dword [ebp - 0x4c], 0
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebx + 0x64]
mov esi, dword [ebx + 0x68]
add esi, eax
cmp edx, esi
jb 0x541c8f
jmp 0x54277c
sub eax, 1
mov dword [ebp - 0x48], eax
jb 0x5429bd
mov eax, dword [ebp - 0x34]
movzx ebx, byte [eax]
mov ecx, edi
shl ebx, cl
add dword [ebp - 0x20], ebx
inc eax
mov dword [ebp - 0x34], eax
add edi, 8
cmp edi, esi
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x48]
jae 0x541b6d
jmp 0x541ae1
lea esi, [edx + 7]
mov eax, dword [ebp - 0x38]
cmp eax, esi
jae 0x541b40
mov edi, eax
sub dword [ebp - 0x48], 1
jb 0x5429bd
mov eax, dword [ebp - 0x34]
movzx ebx, byte [eax]
mov ecx, edi
shl ebx, cl
add dword [ebp - 0x20], ebx
inc eax
mov dword [ebp - 0x34], eax
mov eax, edi
add eax, 8
cmp eax, esi
mov ebx, dword [ebp - 0x28]
jb 0x541b17
mov ecx, edx
mov esi, dword [ebp - 0x20]
shr esi, cl
mov ecx, esi
and ecx, 0x7f
add ecx, 0xb
shr esi, 7
mov dword [ebp - 0x20], esi
sub eax, edx
add eax, 0xfffffff9
jmp 0x541c07
lea esi, [edx + 2]
mov edi, dword [ebp - 0x38]
cmp edi, esi
jb 0x541ae1
mov dword [ebp - 0x48], eax
mov ecx, edx
mov esi, dword [ebp - 0x20]
shr esi, cl
sub edi, edx
mov edx, dword [ebp - 0x3c]
test edx, edx
mov eax, edi
je 0x542ab0
mov ecx, dword [ebp - 0x50]
mov edi, edx
movzx edx, word [ecx + edx*2 - 2]
mov ecx, esi
and ecx, 3
add ecx, 3
shr esi, 2
mov dword [ebp - 0x20], esi
add eax, 0xfffffffe
mov dword [ebp - 0x1c], eax
jmp 0x541c0f
cmp ecx, 0x10
mov ebx, dword [ebp - 0x28]
je 0x541b5f
cmp ecx, 0x11
mov dword [ebp - 0x48], eax
jne 0x541b0d
lea esi, [edx + 3]
mov eax, dword [ebp - 0x38]
cmp eax, esi
jae 0x541bed
mov edi, eax
sub dword [ebp - 0x48], 1
jb 0x5429bd
mov eax, dword [ebp - 0x34]
movzx ebx, byte [eax]
mov ecx, edi
shl ebx, cl
add dword [ebp - 0x20], ebx
inc eax
mov dword [ebp - 0x34], eax
mov eax, edi
add eax, 8
cmp eax, esi
mov ebx, dword [ebp - 0x28]
jb 0x541bc4
mov ecx, edx
mov esi, dword [ebp - 0x20]
shr esi, cl
mov ecx, esi
and ecx, 7
add ecx, 3
shr esi, 3
mov dword [ebp - 0x20], esi
sub eax, edx
add eax, 0xfffffffd
xor edx, edx
mov dword [ebp - 0x1c], eax
mov edi, dword [ebp - 0x3c]
add edi, ecx
cmp edi, dword [ebp - 0x44]
ja 0x5429de
nop word [eax + eax]
mov eax, dword [ebx + 0x6c]
lea esi, [eax + 1]
mov dword [ebx + 0x6c], esi
mov word [ebx + eax*2 + 0x74], dx
dec ecx
jne 0x541c20
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x18], eax
jmp 0x541c80
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x34], ebx
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x38], eax
mov eax, edi
movzx ecx, word [esi + ecx*4 + 2]
cmp ecx, 0xf
ja 0x541ba6
mov edi, dword [ebp - 0x3c]
lea esi, [edi + 1]
mov ebx, dword [ebp - 0x28]
mov dword [ebx + 0x6c], esi
mov word [ebx + edi*2 + 0x74], cx
mov ecx, edx
shr dword [ebp - 0x20], cl
mov esi, dword [ebp - 0x38]
sub esi, edx
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], esi
mov eax, dword [ebx + 0x64]
mov edx, dword [ebx + 0x6c]
mov esi, dword [ebx + 0x68]
add esi, eax
cmp edx, esi
jae 0x541d04
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x24], ecx
mov esi, dword [ebx + 0x50]
movzx ecx, byte [ebx + 0x58]
mov ebx, 0xffffffff
shl ebx, cl
not ebx
mov ecx, dword [ebp - 0x20]
and ecx, ebx
movzx edx, byte [esi + ecx*4 + 1]
mov eax, dword [ebp - 0x1c]
cmp eax, edx
jae 0x541c40
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x34], ecx
sub eax, 1
mov dword [ebp - 0x48], eax
jb 0x54193d
mov edi, dword [ebp - 0x34]
movzx edx, byte [edi]
mov eax, dword [ebp - 0x38]
mov ecx, eax
shl edx, cl
inc edi
mov dword [ebp - 0x34], edi
mov ecx, dword [ebp - 0x20]
add ecx, edx
add eax, 8
mov dword [ebp - 0x20], ecx
and ecx, ebx
movzx edx, byte [esi + ecx*4 + 1]
mov dword [ebp - 0x38], eax
cmp eax, edx
mov eax, dword [ebp - 0x48]
jae 0x541c4e
jmp 0x541cc5
mov dword [ebp - 0x24], ecx
cmp dword [ebx + 4], 0x3f51
je 0x541392
cmp word [ebx + 0x274], 0
mov esi, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x50]
je 0x542a85
mov edx, dword [ebp - 0x60]
mov dword [ebx + 0x70], edx
mov dword [ebx + 0x50], edx
mov dword [ebx + 0x58], 0xa
push dword [ebp - 0x54]
push dword [ebp - 0x5c]
mov edi, dword [ebp - 0x58]
push edi
push eax
push ecx
push 1
call fcn.00567ff0
add esp, 0x18
test eax, eax
jne 0x542a76
mov eax, dword [ebx + 0x70]
mov dword [ebx + 0x54], eax
mov dword [ebx + 0x5c], 9
mov eax, dword [ebx + 0x64]
mov ecx, dword [ebp - 0x50]
lea eax, [ecx + eax*2]
push dword [ebp - 0x54]
push dword [ebp - 0x68]
push edi
push dword [ebx + 0x68]
push eax
push 2
call fcn.00567ff0
add esp, 0x18
test eax, eax
jne 0x542a91
mov dword [ebp - 0x4c], 0
mov dword [ebx + 4], 0x3f47
cmp dword [ebp + 0xc], 6
mov eax, dword [ebp - 0x40]
mov edi, dword [ebp - 0x18]
je 0x542742
mov dword [ebx + 4], 0x3f48
jmp 0x5412bb
mov eax, dword [ebp - 0x40]
jmp 0x541da7
mov eax, dword [ebp - 0x1c]
mov ecx, eax
and cl, 7
shr dword [ebp - 0x20], cl
and eax, 0xfffffff8
mov dword [ebp - 0x1c], eax
mov dword [ebx + 4], 0x3f4e
mov eax, dword [ebx + 4]
jmp 0x5412a0
mov ecx, dword [ebp - 0x20]
jmp 0x541e19
cmp dword [ebp - 0x6c], 2
jb 0x542742
cmp dword [ebx + 8], 0
jne 0x541db8
cmp dword [ebp - 0x1c], 2
ja 0x541dd8
test edi, edi
je 0x542965
mov edx, dword [ebp - 0x24]
movzx eax, byte [edx]
mov ecx, dword [ebp - 0x1c]
shl eax, cl
mov ecx, dword [ebp - 0x20]
add ecx, eax
mov eax, dword [ebp - 0x1c]
or eax, 8
dec edi
inc edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x1c], eax
mov eax, ecx
and eax, 1
mov dword [ebx + 8], eax
mov edx, ecx
mov eax, ecx
shr eax, 1
and eax, 3
cmp eax, 2
jne 0x541e4e
mov ecx, 0x3f44
mov dword [ebx + 4], ecx
mov eax, dword [ebp - 0x1c]
shr edx, 3
mov dword [ebp - 0x20], edx
add eax, 0xfffffffd
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 4]
jmp 0x5412a0
mov ecx, 0x3f41
test eax, eax
je 0x541e34
cmp eax, 1
jne 0x542c60
mov dword [ebx + 0x50], 0x782834
mov dword [ebx + 0x58], 9
mov dword [ebx + 0x54], 0x783034
mov dword [ebx + 0x5c], 5
mov dword [ebx + 4], 0x3f47
cmp dword [ebp + 0xc], 6
mov eax, dword [ebp - 0x1c]
jne 0x541e3a
mov dword [ebp - 0x18], edi
shr edx, 3
mov dword [ebp - 0x20], edx
add eax, 0xfffffffd
mov dword [ebp - 0x1c], eax
jmp 0x54174f
mov eax, dword [ebp - 0x1c]
mov ecx, eax
and cl, 7
shr dword [ebp - 0x20], cl
mov ecx, eax
and ecx, 0xfffffff8
cmp eax, 0x1f
ja 0x54278b
sub edi, 1
jb 0x54293d
mov edx, dword [ebp - 0x24]
movzx eax, byte [edx]
inc edx
mov dword [ebp - 0x24], edx
shl eax, cl
add dword [ebp - 0x20], eax
lea eax, [ecx + 8]
cmp ecx, 0x18
mov ecx, eax
jb 0x541eb9
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x20]
movzx eax, cx
not ecx
shr ecx, 0x10
cmp eax, ecx
jne 0x542c3f
mov dword [ebp - 0x20], 0
mov dword [ebx + 0x44], eax
mov dword [ebx + 4], 0x3f42
mov eax, 0
cmp dword [ebp + 0xc], 6
je 0x54299f
mov dword [ebx + 4], 0x3f43
mov dword [ebp - 0x1c], eax
mov esi, dword [ebx + 0x44]
test esi, esi
jne 0x5427a3
mov dword [ebx + 4], 0x3f3f
mov esi, dword [ebp - 0x2c]
mov eax, dword [ebx + 4]
jmp 0x5412a0
movq xmm0, qword [ecx]
mov edx, dword [ebp - 0x30]
movq qword [edx], xmm0
add edx, 8
mov dword [ebp - 0x30], edx
add ecx, 8
jmp 0x541f52
test al, 8
jne 0x541f38
test al, 4
je 0x541f69
mov edx, dword [ecx]
mov edi, dword [ebp - 0x30]
mov dword [edi], edx
add edi, 4
mov dword [ebp - 0x30], edi
mov edi, dword [ebp - 0x18]
add ecx, 4
test al, 2
jne 0x541f85
test al, 1
je 0x5411f5
mov cl, byte [ecx]
mov edx, dword [ebp - 0x30]
mov byte [edx], cl
inc edx
mov dword [ebp - 0x30], edx
jmp 0x5411f2
movzx edx, word [ecx]
mov edi, dword [ebp - 0x30]
mov word [edi], dx
add edi, 2
mov dword [ebp - 0x30], edi
mov edi, dword [ebp - 0x18]
add ecx, 2
jmp 0x541f6d
movzx ecx, ch
add ecx, eax
xor ebx, ebx
dec ebx
shl ebx, cl
movzx ecx, di
mov dword [ebp - 0x18], ecx
not ebx
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x3c], ebx
and edi, ebx
mov ecx, eax
shr edi, cl
mov ecx, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x18]
lea ecx, [ecx + ebx*4]
mov dword [ebp - 0x38], ecx
movzx ebx, byte [ecx + edi*4 + 1]
lea ecx, [eax + ebx]
cmp ecx, edx
ja 0x541ffb
mov ecx, dword [ebp - 0x38]
lea edi, [ecx + edi*4]
mov dword [ebp - 0x24], esi
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov ecx, eax
shr dword [ebp - 0x20], cl
mov ecx, edi
movzx edi, word [edi + 2]
mov ch, byte [ecx]
mov edx, dword [ebp - 0x1c]
sub edx, eax
jmp 0x54135e
mov dword [ebp - 0x1c], edx
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x24], esi
mov ebx, dword [ebp - 0x1c]
sub dword [ebp - 0x18], 1
jb 0x5429cb
mov ecx, dword [ebp - 0x24]
movzx edi, byte [ecx]
inc ecx
mov dword [ebp - 0x24], ecx
mov ecx, ebx
shl edi, cl
mov ecx, dword [ebp - 0x20]
add ecx, edi
add ebx, 8
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ecx
mov edi, ecx
and edi, dword [ebp - 0x3c]
mov ecx, eax
shr edi, cl
mov ecx, dword [ebp - 0x38]
lea edi, [ecx + edi*4]
movzx ebx, byte [edi + 1]
mov ecx, ebx
add ecx, eax
cmp ecx, dword [ebp - 0x1c]
jbe 0x541fe4
jmp 0x542007
push ecx
push eax
push edx
call fcn.00568cd0
jmp 0x5420cb
mov eax, dword [ebp - 0x1c]
cmp eax, 0x1f
ja 0x542784
mov dword [ebp - 0x1c], eax
sub edi, 1
jb 0x54195e
mov ecx, dword [ebp - 0x24]
movzx eax, byte [ecx]
inc ecx
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x1c]
shl eax, cl
add dword [ebp - 0x20], eax
lea esi, [ecx + 8]
cmp ecx, 0x18
mov eax, esi
jb 0x542064
mov ecx, dword [ebp - 0x40]
sub ecx, dword [ebp - 0x2c]
mov eax, dword [ebp + 8]
add dword [eax + 0x14], ecx
add dword [ebx + 0x20], ecx
mov edx, dword [ebx + 0xc]
mov dword [ebp - 0x18], edx
and edx, 4
je 0x542c58
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x18]
je 0x5420df
mov eax, dword [ebp - 0x30]
sub eax, ecx
cmp dword [ebx + 0x14], 0
mov edx, dword [ebx + 0x1c]
jne 0x54204e
push ecx
push eax
push edx
call fcn.00568cf0
add esp, 0xc
mov dword [ebx + 0x1c], eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x30], eax
mov eax, dword [ebx + 0xc]
mov edx, eax
and edx, 4
mov dword [ebp - 0x18], edi
xor ecx, ecx
test edx, edx
je 0x5420ff
cmp dword [ebx + 0x14], 0
mov edi, dword [ebp - 0x20]
mov edx, edi
bswap edx
cmovne edx, edi
cmp edx, dword [ebx + 0x1c]
jne 0x542cbf
mov dword [ebp - 0x1c], 0
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x40], esi
mov edi, dword [ebp - 0x18]
jmp 0x542120
xor eax, eax
cmp dword [ebx + 0xc], 0
jne 0x542058
mov ecx, dword [ebp - 0x20]
mov dword [ebx + 4], 0x3f4f
mov dword [ebp - 0x20], ecx
test eax, eax
mov dword [ebp - 0x18], edi
jne 0x542143
mov dword [ebx + 4], 0x3f50
xor eax, eax
inc eax
mov dword [ebp - 0x4c], eax
jmp 0x54174f
cmp dword [ebx + 0x14], 0
je 0x542131
cmp dword [ebp - 0x1c], 0x1f
ja 0x5427ed
sub edi, 1
jb 0x542965
mov ecx, dword [ebp - 0x24]
movzx edx, byte [ecx]
inc ecx
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x1c]
shl edx, cl
add dword [ebp - 0x20], edx
lea edx, [ecx + 8]
cmp ecx, 0x18
mov dword [ebp - 0x1c], edx
jb 0x542153
mov dword [ebp - 0x1c], 0
test al, 4
mov dword [ebp - 0x18], edi
je 0x542193
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebx + 0x20]
jne 0x542e24
mov dword [ebp - 0x20], 0
jmp 0x542131
mov eax, dword [ebx + 0x4c]
jmp 0x541578
sub edi, esi
mov eax, dword [ebp - 0x18]
sub eax, edi
push edi
push eax
mov esi, dword [ebp - 0x20]
push dword [esi + 0x38]
call fcn.005c9580
add esp, 0xc
mov dword [esi + 0x34], edi
jmp 0x541732
mov cl, byte [esi + 0x28]
xor esi, esi
inc esi
shl esi, cl
add esi, 0x10
mov ecx, dword [edi + 0x20]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x18], eax
mov edi, edx
call dword [0x8010bc]
push 1
push esi
mov esi, dword [ebp - 0x20]
push dword [ebp - 0x18]
call ecx
mov edx, edi
add esp, 0xc
mov dword [esi + 0x38], eax
test eax, eax
jne 0x541793
mov eax, dword [ebp - 0x28]
mov dword [eax + 4], 0x3f52
mov esi, 0xfffffffc
jmp 0x5418b4
mov eax, dword [ebp - 0x24]
jmp 0x5414d4
mov ebx, dword [ebp - 0x28]
mov dword [ebx + 0x2348], 0xffffffff
mov dword [ebx + 4], 0x3f3f
mov edi, dword [ebp - 0x18]
mov eax, dword [ebx + 4]
jmp 0x5412a0
cmp dword [ebp - 0x1c], 0xf
ja 0x542264
sub edi, 1
jb 0x542965
mov ecx, dword [ebp - 0x24]
movzx edx, byte [ecx]
inc ecx
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x1c]
shl edx, cl
add dword [ebp - 0x20], edx
lea edx, [ecx + 8]
cmp ecx, 8
mov dword [ebp - 0x1c], edx
jb 0x54223e
test al, 2
je 0x542275
cmp dword [ebp - 0x20], 0x8b1f
je 0x542335
mov ecx, dword [ebx + 0x24]
test ecx, ecx
jne 0x542c8d
test al, 1
mov edx, dword [ebp - 0x20]
je 0x542c74
mov eax, edx
shl eax, 8
movzx eax, ax
mov ecx, edx
shr ecx, 8
add ecx, eax
imul eax, ecx, 0xbdef7bdf
cmp eax, 0x8421085
jae 0x542c74
mov eax, edx
and eax, 0xf
cmp eax, 8
jne 0x542adb
mov eax, edx
shr eax, 4
mov ecx, eax
and ecx, 0xf
lea edx, [ecx + 8]
mov esi, dword [ebx + 0x28]
test esi, esi
je 0x54232e
cmp ecx, 7
ja 0x542c9c
cmp edx, esi
ja 0x542c9c
mov eax, 0x100
shl eax, cl
mov dword [ebx + 0x18], eax
xor eax, eax
mov dword [ebx + 0x14], eax
push eax
push eax
mov dword [ebp - 0x1c], 0
push eax
call fcn.00568cf0
add esp, 0xc
mov dword [ebx + 0x1c], eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x30], eax
xor eax, eax
bt dword [ebp - 0x20], 0xd
setae al
lea eax, [eax + eax + 0x3f3d]
mov dword [ebx + 4], eax
mov dword [ebp - 0x20], 0
mov esi, dword [ebp - 0x2c]
mov eax, dword [ebx + 4]
jmp 0x5412a0
mov dword [ebx + 0x28], edx
mov esi, edx
jmp 0x5422cd
cmp dword [ebx + 0x28], 0
je 0x542de9
xor eax, eax
push eax
push eax
mov dword [ebp - 0x20], 0
push eax
call fcn.00568cd0
add esp, 0xc
mov dword [ebx + 0x1c], eax
lea ecx, [ebp - 0x14]
mov word [ecx], 0x8b1f
push 2
push ecx
push eax
call fcn.00568cd0
add esp, 0xc
mov dword [ebx + 0x1c], eax
mov dword [ebx + 4], 0x3f35
mov dword [ebp - 0x1c], 0
mov eax, dword [ebx + 4]
jmp 0x5412a0
mov eax, dword [ebx + 0x4c]
jmp 0x5414b9
mov eax, dword [ebp - 0x1c]
cmp eax, 0xf
ja 0x5423b9
mov dword [ebp - 0x1c], eax
sub edi, 1
jb 0x542965
mov ecx, dword [ebp - 0x24]
movzx eax, byte [ecx]
inc ecx
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x1c]
shl eax, cl
add dword [ebp - 0x20], eax
lea eax, [ecx + 8]
cmp ecx, 8
jb 0x542393
mov ecx, dword [ebp - 0x20]
mov dword [ebx + 0x14], ecx
cmp cl, 8
jne 0x542e40
test ecx, 0xe000
jne 0x542e5c
mov eax, dword [ebx + 0x24]
test eax, eax
jne 0x542e78
bt ecx, 9
jb 0x542f0d
mov dword [ebx + 4], 0x3f36
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], eax
sub edi, 1
jb 0x542965
mov ecx, dword [ebp - 0x24]
movzx eax, byte [ecx]
inc ecx
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x1c]
shl eax, cl
add dword [ebp - 0x20], eax
lea eax, [ecx + 8]
cmp ecx, 0x18
jb 0x5423f9
mov eax, dword [ebx + 0x24]
test eax, eax
jne 0x542e19
test byte [ebx + 0x15], 2
jne 0x542ebc
mov dword [ebx + 4], 0x3f37
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], eax
sub edi, 1
jb 0x542965
mov ecx, dword [ebp - 0x24]
movzx eax, byte [ecx]
inc ecx
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x1c]
shl eax, cl
add dword [ebp - 0x20], eax
lea eax, [ecx + 8]
cmp ecx, 8
jb 0x542444
mov eax, dword [ebx + 0x24]
test eax, eax
jne 0x542ea3
mov dword [ebp - 0x18], edi
test byte [ebx + 0x15], 2
jne 0x542ee4
mov dword [ebx + 4], 0x3f38
mov eax, dword [ebx + 0x14]
xor edi, edi
bt eax, 0xa
mov dword [ebp - 0x1c], 0
mov ecx, ebx
mov ebx, 0
jb 0x542cf0
mov eax, dword [ecx + 0x24]
test eax, eax
jne 0x542df5
mov edi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 4], 0x3f39
mov dword [ebp - 0x20], ebx
mov eax, dword [ecx + 0x14]
bt eax, 0xa
mov ebx, ecx
jb 0x542f39
mov ecx, dword [ebp - 0x1c]
mov dword [ebx + 0x44], 0
mov dword [ebx + 4], 0x3f3a
test byte [ebx + 0x15], 8
jne 0x542b06
mov eax, dword [ebx + 0x24]
test eax, eax
jne 0x542e01
mov dword [ebx + 0x44], 0
mov dword [ebx + 4], 0x3f3b
test byte [ebx + 0x15], 0x10
jne 0x542b9e
mov eax, dword [ebx + 0x24]
test eax, eax
jne 0x542e0d
mov dword [ebx + 4], 0x3f3c
mov eax, dword [ebx + 0x14]
bt eax, 9
jb 0x542d6f
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebx + 0x24]
test ecx, ecx
jne 0x542e8b
xor eax, eax
push eax
push eax
push eax
call fcn.00568cd0
add esp, 0xc
mov dword [ebx + 0x1c], eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x30], eax
mov dword [ebx + 4], 0x3f3f
mov eax, dword [ebx + 4]
jmp 0x5412a0
mov edi, dword [ebp - 0x30]
movzx edx, word [edi - 2]
movd xmm0, edx
pshuflw xmm0, xmm0, 0
pshufd xmm0, xmm0, 0
movdqu xmmword [edi], xmm0
add edi, esi
mov dword [ebp - 0x30], edi
cmp eax, esi
je 0x541667
mov edx, dword [ebp - 0x30]
movzx edx, word [edx - 2]
movd xmm0, edx
pshuflw xmm0, xmm0, 0
pshufd xmm0, xmm0, 0
sub ecx, eax
inc ecx
mov edx, dword [ebp - 0x30]
movdqu xmmword [edx], xmm0
add edx, 0x10
mov dword [ebp - 0x30], edx
add ecx, 0x10
jne 0x54259e
mov ebx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x18]
jmp 0x5411f2
cmp edx, 2
je 0x542560
cmp edx, 8
je 0x542613
mov edi, edx
neg edi
mov ebx, dword [ebp - 0x30]
mov esi, ebx
mov ecx, eax
movdqu xmm0, xmmword [ebx + edi]
movdqu xmmword [esi], xmm0
add esi, edx
sub ecx, edx
cmp edx, 7
lea edx, [edx + edx]
ja 0x5425ec
cmp edx, ecx
jb 0x5425d3
mov ebx, edx
neg ebx
dec ecx
mov edi, ecx
and edi, 0xf
movdqu xmm0, xmmword [esi + ebx]
movdqu xmmword [esi], xmm0
lea ebx, [esi + edi]
inc ebx
mov dword [ebp - 0x30], ebx
cmp ecx, 0x10
jae 0x542655
mov ebx, dword [ebp - 0x28]
jmp 0x541667
mov edx, dword [ebp - 0x30]
movq xmm0, qword [edx - 8]
pshufd xmm0, xmm0, 0x44
movdqu xmmword [edx], xmm0
add edx, esi
mov dword [ebp - 0x30], edx
cmp eax, esi
je 0x541150
mov edx, dword [ebp - 0x30]
movq xmm0, qword [edx - 8]
pshufd xmm0, xmm0, 0x44
sub ecx, eax
inc ecx
mov esi, dword [ebp - 0x2c]
movdqu xmmword [edx], xmm0
add edx, 0x10
add ecx, 0x10
jne 0x542644
jmp 0x54190e
sub esi, edx
inc edi
add edi, esi
shr ecx, 4
mov ebx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x30]
movdqu xmm0, xmmword [edi]
movdqu xmmword [edx], xmm0
add edx, 0x10
mov dword [ebp - 0x30], edx
add edi, 0x10
dec ecx
je 0x541667
jmp 0x542660
add eax, edx
mov ecx, eax
xor eax, eax
dec eax
shl eax, cl
movzx ecx, di
mov dword [ebp - 0x20], ecx
not eax
mov edi, esi
mov dword [ebp - 0x3c], eax
and edi, eax
mov ecx, edx
shr edi, cl
mov eax, dword [ebp - 0x20]
lea ebx, [ebx + eax*4]
movzx eax, byte [ebx + edi*4 + 1]
mov dword [ebp - 0x38], eax
lea ecx, [edx + eax]
mov eax, dword [ebp - 0x34]
cmp ecx, eax
mov ecx, eax
ja 0x5426f5
lea eax, [ebx + edi*4]
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x20], edi
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edi
mov ebx, ecx
mov ecx, edx
shr esi, cl
mov edi, esi
movzx ecx, word [eax + 2]
mov word [ebp - 0x3c], cx
sub ebx, edx
mov esi, ebx
mov ebx, dword [ebp - 0x28]
add edx, dword [ebx + 0x2348]
mov al, byte [eax]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x34], esi
jmp 0x541538
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
sub dword [ebp - 0x1c], 1
jb 0x542a10
movzx edi, byte [eax]
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp - 0x44]
shl edi, cl
add esi, edi
add dword [ebp - 0x44], 8
mov eax, esi
and eax, dword [ebp - 0x3c]
mov ecx, edx
shr eax, cl
lea eax, [ebx + eax*4]
movzx ecx, byte [eax + 1]
mov dword [ebp - 0x38], ecx
add ecx, edx
cmp ecx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x44]
jbe 0x5426c2
jmp 0x542701
mov dword [ebp - 0x18], edi
jmp 0x54174f
mov eax, dword [ebp - 0x1c]
jmp 0x541f18
mov dword [ebp - 0x18], edi
mov edx, dword [ebx + 0x6c]
jmp 0x541ac9
mov dword [ebp - 0x18], edi
mov eax, dword [ebx + 0x60]
mov ecx, dword [ebx + 0x6c]
mov dword [ebp - 0x34], eax
cmp ecx, eax
mov esi, dword [ebp - 0x58]
mov eax, dword [ebp - 0x1c]
jb 0x5419f9
jmp 0x541a61
mov dword [ebp - 0x24], ecx
jmp 0x541d14
mov esi, eax
jmp 0x54208c
mov eax, ecx
jmp 0x541edb
xor eax, eax
jmp 0x54114d
mov esi, edi
mov edi, dword [ebp - 0x24]
jmp 0x5415aa
cmp esi, edi
cmovae esi, edi
mov eax, dword [ebp - 0x2c]
cmp esi, eax
cmovae esi, eax
test esi, esi
mov dword [ebp - 0x18], edi
je 0x541956
push esi
mov edi, dword [ebp - 0x24]
push edi
mov eax, dword [ebp - 0x30]
push eax
call fcn.005c9580
add esp, 0xc
mov ecx, dword [ebp - 0x18]
sub ecx, esi
add edi, esi
mov dword [ebp - 0x24], edi
mov eax, dword [ebp - 0x2c]
sub eax, esi
add dword [ebp - 0x30], esi
sub dword [ebx + 0x44], esi
mov esi, eax
mov edi, ecx
mov eax, dword [ebx + 4]
jmp 0x5412a0
mov edx, dword [ebp - 0x1c]
jmp 0x542179
mov eax, dword [ebp - 0x1c]
jmp 0x541f11
mov ecx, dword [ebp - 0x1c]
jmp 0x542504
mov ecx, dword [ebp - 0x1c]
jmp 0x542520
mov ecx, ebx
jmp 0x5424c1
mov ecx, dword [ebp - 0x1c]
jmp 0x5424e1
mov dword [ebp - 0x18], edi
cmp dword [ebp - 0x1c], 0x1f
ja 0x54284c
sub dword [ebp - 0x18], 1
jb 0x54194c
mov ecx, dword [ebp - 0x24]
movzx eax, byte [ecx]
inc ecx
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x1c]
shl eax, cl
add dword [ebp - 0x20], eax
lea eax, [ecx + 8]
cmp ecx, 0x18
mov dword [ebp - 0x1c], eax
jb 0x542825
mov edx, dword [ebp - 0x20]
bswap edx
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 0x1c], edx
mov eax, dword [ebp + 8]
mov dword [eax + 0x30], edx
mov dword [ecx + 4], 0x3f3e
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
jmp 0x542877
mov dword [ebp - 0x18], edi
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0x10], 0
je 0x542a43
xor eax, eax
push eax
push eax
push eax
call fcn.00568cf0
add esp, 0xc
mov ebx, dword [ebp - 0x28]
mov dword [ebx + 0x1c], eax
mov edi, dword [ebp + 8]
mov dword [edi + 0x30], eax
mov dword [ebx + 4], 0x3f3f
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x18]
jmp case.0x5412b1.16191
mov eax, dword [ebx + 0xc]
jmp 0x54212a
mov esi, 0xfffffffe
jmp 0x5418b4
mov dword [ebp - 0x18], edi
jmp 0x542138
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x4c], 0xfffffffd
jmp 0x54174f
mov eax, dword [ebp - 0x1c]
cmp eax, 0xf
ja 0x54246a
jmp 0x542444
mov dword [ebp - 0x18], edi
mov eax, dword [ebx + 0x14]
bt eax, 0xa
jb 0x542ce4
mov ebx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
jmp 0x5424a6
mov eax, dword [ebp - 0x1c]
cmp eax, 0x1f
ja 0x54241f
jmp 0x5423f9
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.too_many_length_or_distance_symbols
jmp 0x542931
mov edi, dword [ebp + 8]
mov dword [edi + 0x18], str.invalid_distance_code
mov dword [ebx + 4], 0x3f51
jmp 0x541392
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], ecx
jmp 0x54174f
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_literal_length_code
mov dword [ebx + 4], 0x3f51
mov eax, dword [ebx + 4]
jmp 0x5412a0
mov dword [ebp - 0x18], 0
jmp 0x54174f
mov dword [ebp - 0x1c], esi
jmp 0x54194c
cmp dword [ebx + 0x2344], 0
je 0x541182
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_distance_too_far_back
mov dword [ebx + 4], 0x3f51
mov eax, dword [ebx + 4]
jmp 0x5412a0
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], 0
jmp 0x54174f
cmp dword [edi + 4], 0
jne 0x5418b4
jmp 0x5410bb
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x1c], edi
jmp 0x54194c
mov ecx, dword [ebp - 0x34]
lea eax, [edx + ecx*8]
mov dword [ebp - 0x1c], eax
add esi, ecx
mov dword [ebp - 0x24], esi
jmp 0x54194c
mov edi, dword [ebp + 8]
mov dword [edi + 0x18], str.invalid_bit_length_repeat
mov dword [ebx + 4], 0x3f51
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x24], eax
mov edi, dword [ebp - 0x48]
mov esi, dword [ebp - 0x2c]
mov eax, dword [ebx + 4]
jmp 0x5412a0
push eax
push ecx
push edx
call fcn.00568cd0
jmp 0x541840
mov dword [ebp - 0x20], esi
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x18]
lea eax, [eax + ecx*8]
mov dword [ebp - 0x1c], eax
add dword [ebp - 0x24], ecx
jmp 0x54194c
mov dword [ebx + 4], 0x3f40
mov eax, dword [edi]
mov dword [ebp - 0x24], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x30], eax
mov eax, 0x3f40
jmp 0x5410cc
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x30]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x18]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov dword [eax + 0x3c], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0x40], ecx
mov esi, 2
jmp 0x5418b4
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_literal_lengths_set
jmp 0x542a9e
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_code____missing_end_of_block
jmp 0x542a9e
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_distances_set
mov dword [ebx + 4], 0x3f51
mov edi, dword [ebp - 0x18]
mov eax, dword [ebx + 4]
jmp 0x5412a0
mov dword [ebp - 0x20], esi
mov edi, dword [ebp + 8]
mov dword [edi + 0x18], str.invalid_bit_length_repeat
mov dword [ebx + 4], 0x3f51
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x24], ecx
mov edi, dword [ebp - 0x48]
mov dword [ebp - 0x1c], eax
mov esi, dword [ebp - 0x2c]
mov eax, dword [ebx + 4]
jmp 0x5412a0
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.unknown_compression_method
jmp 0x542af4
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_code_lengths_set
mov dword [ebx + 4], 0x3f51
mov esi, dword [ebp - 0x2c]
mov eax, dword [ebx + 4]
jmp 0x5412a0
mov dword [ebp - 0x1c], ecx
test edi, edi
je 0x54194c
mov ebx, edi
xor esi, esi
jmp 0x542b31
lea ecx, [edx + 1]
mov edi, dword [ebp - 0x28]
mov dword [edi + 0x44], ecx
mov cl, byte [ebp - 0x18]
mov byte [eax + edx], cl
inc esi
cmp byte [ebp - 0x18], 0
je 0x542b58
cmp esi, ebx
jae 0x542b58
mov eax, dword [ebp - 0x24]
mov al, byte [eax + esi]
mov byte [ebp - 0x18], al
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x542b26
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x542b26
mov edx, dword [ebp - 0x28]
mov edx, dword [edx + 0x44]
cmp edx, dword [ecx + 0x20]
jae 0x542b26
jmp 0x542b17
mov eax, dword [ebp - 0x28]
test byte [eax + 0x15], 2
je 0x542b7f
mov eax, dword [ebp - 0x28]
test byte [eax + 0xc], 4
je 0x542b7f
push esi
push dword [ebp - 0x24]
mov edi, dword [ebp - 0x28]
push dword [edi + 0x1c]
call fcn.00568cd0
add esp, 0xc
mov dword [edi + 0x1c], eax
cmp byte [ebp - 0x18], 0
jne 0x542c32
sub ebx, esi
add dword [ebp - 0x24], esi
mov edi, ebx
mov ebx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
jmp 0x5424f6
mov dword [ebp - 0x1c], ecx
test edi, edi
je 0x54194c
mov ebx, edi
xor esi, esi
jmp 0x542bc9
lea ecx, [edx + 1]
mov edi, dword [ebp - 0x28]
mov dword [edi + 0x44], ecx
mov cl, byte [ebp - 0x18]
mov byte [eax + edx], cl
inc esi
cmp byte [ebp - 0x18], 0
je 0x542bf0
cmp esi, ebx
jae 0x542bf0
mov eax, dword [ebp - 0x24]
mov al, byte [eax + esi]
mov byte [ebp - 0x18], al
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x542bbe
mov eax, dword [ecx + 0x24]
test eax, eax
je 0x542bbe
mov edx, dword [ebp - 0x28]
mov edx, dword [edx + 0x44]
cmp edx, dword [ecx + 0x28]
jae 0x542bbe
jmp 0x542baf
mov eax, dword [ebp - 0x28]
test byte [eax + 0x15], 2
je 0x542c17
mov eax, dword [ebp - 0x28]
test byte [eax + 0xc], 4
je 0x542c17
push esi
push dword [ebp - 0x24]
mov edi, dword [ebp - 0x28]
push dword [edi + 0x1c]
call fcn.00568cd0
add esp, 0xc
mov dword [edi + 0x1c], eax
cmp byte [ebp - 0x18], 0
jne 0x542c32
sub ebx, esi
add dword [ebp - 0x24], esi
mov edi, ebx
mov ebx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
jmp 0x542519
add dword [ebp - 0x24], esi
sub ebx, esi
mov dword [ebp - 0x18], ebx
jmp 0x541953
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_stored_block_lengths
mov dword [ebx + 4], 0x3f51
mov eax, dword [ebx + 4]
jmp 0x5412a0
mov eax, dword [ebp - 0x18]
jmp 0x5420df
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.invalid_block_type
mov ecx, 0x3f51
jmp 0x541e34
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.incorrect_header_check
mov dword [ebx + 4], 0x3f51
mov eax, dword [ebx + 4]
jmp 0x5412a0
mov dword [ecx + 0x30], 0xffffffff
mov eax, dword [ebx + 0xc]
jmp 0x542280
add dword [ebp - 0x1c], 0xfffffffc
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x18], str.invalid_window_size
mov dword [ebx + 4], 0x3f51
mov dword [ebp - 0x20], eax
mov esi, dword [ebp - 0x2c]
mov eax, dword [ebx + 4]
jmp 0x5412a0
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.incorrect_data_check
mov dword [ebx + 4], 0x3f51
mov dword [ebp - 0x1c], esi
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x40], esi
mov edi, dword [ebp - 0x18]
mov eax, dword [ebx + 4]
jmp 0x5412a0
cmp dword [ebp - 0x1c], 0xf
mov ecx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x20]
ja 0x542d20
mov dword [ebp - 0x20], edi
sub dword [ebp - 0x18], 1
jb 0x54194c
mov ecx, dword [ebp - 0x24]
movzx edx, byte [ecx]
inc ecx
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x1c]
shl edx, cl
add dword [ebp - 0x20], edx
lea edx, [ecx + 8]
cmp ecx, 8
mov dword [ebp - 0x1c], edx
jb 0x542cf3
mov ecx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x20]
mov edx, edi
mov dword [ecx + 0x44], edi
mov ecx, dword [ecx + 0x24]
test ecx, ecx
je 0x542d35
mov dword [ecx + 0x14], edx
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x14]
xor ebx, ebx
bt eax, 9
jae 0x542d60
mov eax, dword [ebp - 0x28]
test byte [eax + 0xc], 4
je 0x542d60
lea eax, [ebp - 0x14]
mov word [eax], dx
push 2
push eax
mov esi, dword [ebp - 0x28]
push dword [esi + 0x1c]
call fcn.00568cd0
add esp, 0xc
mov dword [esi + 0x1c], eax
mov dword [ebp - 0x1c], 0
mov esi, dword [ebp - 0x2c]
jmp 0x5424b1
mov dword [ebp - 0x18], edi
mov esi, ecx
cmp ecx, 0xf
ja 0x542da3
sub dword [ebp - 0x18], 1
jb 0x542971
mov ecx, dword [ebp - 0x24]
movzx edx, byte [ecx]
inc ecx
mov dword [ebp - 0x24], ecx
mov ecx, esi
shl edx, cl
add dword [ebp - 0x20], edx
lea edx, [esi + 8]
cmp esi, 8
mov dword [ebp - 0x1c], edx
mov esi, edx
jb 0x542d79
jmp 0x542da6
mov dword [ebp - 0x1c], esi
mov ecx, dword [ebp - 0x28]
test byte [ecx + 0xc], 4
je 0x542dbb
mov ecx, dword [ebp - 0x28]
movzx ecx, word [ecx + 0x1c]
cmp dword [ebp - 0x20], ecx
jne 0x542dd7
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov ebx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x18]
jmp 0x542530
mov edi, dword [ebp + 8]
mov dword [edi + 0x18], str.header_crc_mismatch
mov ebx, dword [ebp - 0x28]
jmp 0x542931
mov dword [ebx + 0x28], 0xf
jmp 0x54233f
mov dword [eax + 0x10], 0
jmp 0x5424b1
mov dword [eax + 0x1c], 0
jmp 0x5424f6
mov dword [eax + 0x24], 0
jmp 0x542519
mov ecx, dword [ebp - 0x20]
mov dword [eax + 4], ecx
jmp 0x54242a
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.incorrect_length_check
mov dword [ebx + 4], 0x3f51
mov dword [ebp - 0x1c], edx
mov eax, dword [ebx + 4]
jmp 0x5412a0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.unknown_compression_method
mov dword [ebx + 4], 0x3f51
mov eax, dword [ebx + 4]
jmp 0x5412a0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], str.unknown_header_flags_set
mov dword [ebx + 4], 0x3f51
mov eax, dword [ebx + 4]
jmp 0x5412a0
mov ecx, dword [ebp - 0x20]
shr ecx, 8
and ecx, 1
mov dword [eax], ecx
mov ecx, dword [ebx + 0x14]
jmp 0x5423df
shr eax, 9
and eax, 1
mov dword [ecx + 0x2c], eax
mov eax, dword [ebx + 0x24]
mov dword [eax + 0x30], 1
jmp 0x54253b
mov edx, dword [ebp - 0x20]
movzx ecx, dl
mov dword [eax + 8], ecx
mov eax, edx
shr eax, 8
mov ecx, dword [ebx + 0x24]
mov dword [ecx + 0xc], eax
jmp 0x542475
test byte [ebx + 0xc], 4
je 0x542434
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
push 4
push eax
push dword [ebx + 0x1c]
call fcn.00568cd0
add esp, 0xc
mov dword [ebx + 0x1c], eax
jmp 0x542434
test byte [ebx + 0xc], 4
je 0x542482
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
mov word [eax], cx
push 2
push eax
push dword [ebx + 0x1c]
call fcn.00568cd0
add esp, 0xc
mov dword [ebx + 0x1c], eax
jmp 0x542482
test byte [ebx + 0xc], 4
je 0x5423e9
lea eax, [ebp - 0x14]
mov byte [eax], 8
mov ecx, dword [ebp - 0x20]
mov byte [eax + 1], ch
push 2
push eax
push dword [ebx + 0x1c]
call fcn.00568cd0
add esp, 0xc
mov dword [ebx + 0x1c], eax
jmp 0x5423e9
mov ecx, dword [ebx + 0x44]
cmp ecx, edi
mov dword [ebp - 0x18], edi
mov esi, edi
cmovb esi, ecx
test esi, esi
je 0x542fba
mov edx, dword [ebp - 0x28]
mov ebx, dword [edx + 0x24]
test ebx, ebx
je 0x542f85
mov edx, dword [ebx + 0x10]
test edx, edx
je 0x542f85
mov edi, dword [ebx + 0x14]
mov ebx, dword [ebx + 0x18]
sub edi, ecx
mov ecx, ebx
sub ecx, edi
jbe 0x542f85
add edx, edi
add edi, esi
cmp edi, ebx
cmovbe ecx, esi
push ecx
push dword [ebp - 0x24]
push edx
call fcn.005c9580
add esp, 0xc
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x14]
bt eax, 9
jae 0x542fa9
mov eax, dword [ebp - 0x28]
test byte [eax + 0xc], 4
je 0x542fa9
push esi
push dword [ebp - 0x24]
mov edi, dword [ebp - 0x28]
push dword [edi + 0x1c]
call fcn.00568cd0
add esp, 0xc
mov dword [edi + 0x1c], eax
sub dword [ebp - 0x18], esi
add dword [ebp - 0x24], esi
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x44]
sub ecx, esi
mov dword [eax + 0x44], ecx
test ecx, ecx
mov ebx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], edi
je 0x5424d3
jmp 0x542944