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

Disassembly:
sub esp, 0x34
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0x28], esi
push edi
test esi, esi
je case.default.0x40410e
mov ebp, dword [esi + 0x1c]
test ebp, ebp
je case.default.0x40410e
xor edi, edi
cmp dword [esi + 0xc], edi
je case.default.0x40410e
cmp dword [esi], edi
jne 0x4040c3
cmp dword [esi + 4], edi
jne case.default.0x40410e
cmp dword [ebp], 0xb
jne 0x4040d0
mov dword [ebp], 0xc
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 4]
mov edx, dword [ebp + 0x38]
mov ebx, dword [ebp + 0x3c]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x20], eax
mov eax, dword [esi]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], edi
jmp 0x404adc
jmp dword [eax*4 + 0x40556f]
cmp dword [ebp + 8], 0
jne 0x404127
mov dword [ebp], 0xc
jmp 0x404adc
push 0x10
pop eax
cmp ebx, eax
jae 0x404165
mov eax, dword [esp + 0x18]
test ecx, ecx
je 0x405462
movzx eax, byte [eax]
dec ecx
mov dword [esp + 0x10], ecx
mov ecx, ebx
shl eax, cl
add ebx, 8
mov ecx, dword [esp + 0x10]
add edx, eax
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
cmp ebx, 0x10
jb 0x404132
test byte [ebp + 8], 2
je 0x4041aa
cmp edx, 0x8b1f
jne 0x4041aa
push 0x1f
pop eax
push 2
lea edx, [esp + 0x28]
mov dword [ebp + 0x18], edi
xor ecx, ecx
mov byte [esp + 0x28], al
mov byte [esp + 0x29], 0x8b
call fcn.004027be
mov edx, edi
mov dword [ebp + 0x18], eax
mov ebx, edi
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ebx
mov dword [ebp], 1
jmp 0x404ad8
mov eax, dword [ebp + 0x20]
mov dword [ebp + 0x10], edi
test eax, eax
je 0x4041b8
or dword [eax + 0x30], 0xffffffff
test byte [ebp + 8], 1
je 0x404255
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 [esp + 0x14]
jne 0x404255
mov eax, edx
and al, 0xf
cmp al, 8
je 0x4041f9
mov dword [esi + 0x18], str.unknown_compression_method
mov dword [ebp], 0x1d
jmp 0x404ad8
shr edx, 4
sub ebx, 4
mov ecx, edx
mov dword [esp + 0x14], edx
and ecx, 0xf
mov dword [esp + 0x1c], ebx
add ecx, 8
cmp dword [ebp + 0x24], 0
jne 0x404247
mov dword [ebp + 0x24], ecx
xor ebx, ebx
shr edx, 8
inc ebx
not edx
mov eax, ebx
mov dword [ebp + 0x18], ebx
shl eax, cl
and edx, 2
or edx, 9
mov dword [ebp + 0x14], eax
mov dword [esi + 0x30], ebx
mov ebx, edi
mov dword [ebp], edx
mov edx, edi
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ebx
jmp 0x404ad8
cmp ecx, dword [ebp + 0x24]
jbe 0x404218
mov dword [esi + 0x18], str.invalid_window_size
jmp 0x4041ed
mov dword [esi + 0x18], str.incorrect_header_check
jmp 0x4041ed
push 0x10
pop eax
cmp ebx, eax
jae 0x40429c
mov eax, dword [esp + 0x18]
test ecx, ecx
je 0x405462
movzx eax, byte [eax]
dec ecx
mov dword [esp + 0x10], ecx
mov ecx, ebx
shl eax, cl
add ebx, 8
mov ecx, dword [esp + 0x10]
add edx, eax
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
cmp ebx, 0x10
jb 0x404269
mov dword [ebp + 0x10], edx
cmp dl, 8
je 0x4042b7
mov dword [esi + 0x18], str.unknown_compression_method
mov dword [ebp], 0x1d
jmp 0x404adc
test edx, 0xe000
je 0x4042c8
mov dword [esi + 0x18], str.unknown_header_flags_set
jmp 0x4042ab
mov ecx, dword [ebp + 0x20]
test ecx, ecx
je 0x4042d9
mov eax, edx
shr eax, 8
and eax, 1
mov dword [ecx], eax
test dword [ebp + 0x10], 0x200
je 0x4042fe
mov ecx, dword [ebp + 0x18]
mov byte [esp + 0x24], dl
shr edx, 8
mov byte [esp + 0x25], dl
lea edx, [esp + 0x24]
push 2
call fcn.004027be
mov dword [ebp + 0x18], eax
mov ecx, dword [esp + 0x10]
mov edx, edi
mov dword [esp + 0x14], edx
mov ebx, edi
mov dword [ebp], 2
cmp ebx, 0x20
jae 0x404349
mov eax, dword [esp + 0x18]
test ecx, ecx
je 0x405462
movzx eax, byte [eax]
dec ecx
mov dword [esp + 0x10], ecx
mov ecx, ebx
shl eax, cl
add ebx, 8
mov ecx, dword [esp + 0x10]
add edx, eax
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
cmp ebx, 0x20
jb 0x40431a
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x404353
mov dword [eax + 4], edx
test dword [ebp + 0x10], 0x200
je 0x40438a
mov ecx, dword [ebp + 0x18]
mov eax, edx
shr eax, 8
mov byte [esp + 0x25], al
mov eax, edx
mov byte [esp + 0x24], dl
shr edx, 0x18
shr eax, 0x10
mov byte [esp + 0x27], dl
lea edx, [esp + 0x24]
push 4
mov byte [esp + 0x2a], al
call fcn.004027be
mov dword [ebp + 0x18], eax
mov ecx, dword [esp + 0x10]
mov edx, edi
mov dword [esp + 0x14], edx
mov ebx, edi
mov dword [ebp], 3
push 0x10
pop eax
cmp ebx, eax
jae 0x4043d7
mov eax, dword [esp + 0x18]
test ecx, ecx
je 0x405462
movzx eax, byte [eax]
dec ecx
mov dword [esp + 0x10], ecx
mov ecx, ebx
shl eax, cl
add ebx, 8
mov ecx, dword [esp + 0x10]
add edx, eax
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
cmp ebx, 0x10
jb 0x4043a8
mov ecx, dword [ebp + 0x20]
test ecx, ecx
je 0x4043ef
movzx eax, dl
mov dword [ecx + 8], eax
mov ecx, edx
mov eax, dword [ebp + 0x20]
shr ecx, 8
mov dword [eax + 0xc], ecx
test dword [ebp + 0x10], 0x200
je 0x404414
mov ecx, dword [ebp + 0x18]
mov byte [esp + 0x24], dl
shr edx, 8
mov byte [esp + 0x25], dl
lea edx, [esp + 0x24]
push 2
call fcn.004027be
mov dword [ebp + 0x18], eax
mov ecx, dword [esp + 0x10]
mov edx, edi
mov ebx, edi
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ebx
mov dword [ebp], 4
test dword [ebp + 0x10], 0x400
je 0x4044ac
push 0x10
pop eax
cmp ebx, eax
jae 0x40446e
mov eax, dword [esp + 0x18]
test ecx, ecx
je 0x405462
movzx eax, byte [eax]
dec ecx
mov dword [esp + 0x10], ecx
mov ecx, ebx
shl eax, cl
add ebx, 8
mov ecx, dword [esp + 0x10]
add edx, eax
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
cmp ebx, 0x10
jb 0x40443f
mov eax, dword [ebp + 0x20]
mov dword [ebp + 0x40], edx
test eax, eax
je 0x40447b
mov dword [eax + 0x14], edx
test dword [ebp + 0x10], 0x200
je 0x4044a0
mov ecx, dword [ebp + 0x18]
mov byte [esp + 0x24], dl
shr edx, 8
mov byte [esp + 0x25], dl
lea edx, [esp + 0x24]
push 2
call fcn.004027be
mov dword [ebp + 0x18], eax
mov ebx, edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], ebx
jmp 0x4044b6
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x4044b6
mov dword [eax + 0x10], edi
mov ecx, dword [esp + 0x10]
mov dword [ebp], 5
test dword [ebp + 0x10], 0x400
je 0x404551
mov edi, dword [ebp + 0x40]
cmp edi, ecx
cmova edi, ecx
test edi, edi
je 0x404546
mov ecx, dword [ebp + 0x20]
test ecx, ecx
je 0x404516
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x3c], eax
test eax, eax
je 0x404516
mov edx, dword [ecx + 0x14]
sub edx, dword [ebp + 0x40]
mov ecx, dword [ecx + 0x18]
lea eax, [edi + edx]
cmp eax, ecx
jbe 0x404500
sub ecx, edx
jmp 0x404502
mov ecx, edi
mov eax, dword [esp + 0x3c]
push ecx
push dword [esp + 0x1c]
add eax, edx
push eax
call fcn.0040bcd0
add esp, 0xc
test dword [ebp + 0x10], 0x200
je 0x404535
mov eax, dword [esp + 0x18]
test eax, eax
je 0x404532
mov ecx, dword [ebp + 0x18]
mov edx, eax
push edi
call fcn.004027be
mov dword [ebp + 0x18], eax
mov ecx, dword [esp + 0x10]
add dword [esp + 0x18], edi
sub ecx, edi
sub dword [ebp + 0x40], edi
mov dword [esp + 0x10], ecx
xor edi, edi
cmp dword [ebp + 0x40], edi
jne 0x405462
mov dword [ebp + 0x40], edi
mov dword [ebp], 6
test dword [ebp + 0x10], 0x800
je 0x4045f2
test ecx, ecx
je 0x405462
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
movzx eax, byte [edi + ebx]
inc edi
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x4045a1
mov edx, dword [eax + 0x1c]
test edx, edx
je 0x4045a1
mov ecx, dword [ebp + 0x40]
cmp ecx, dword [eax + 0x20]
jae 0x4045a1
mov eax, dword [esp + 0x38]
mov byte [edx + ecx], al
inc dword [ebp + 0x40]
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x4045ad
cmp edi, esi
jb 0x404578
test dword [ebp + 0x10], 0x200
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x2c]
je 0x4045d8
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4045d5
mov ecx, dword [ebp + 0x18]
mov edx, eax
push edi
call fcn.004027be
mov ecx, dword [esp + 0x38]
mov dword [ebp + 0x18], eax
mov eax, dword [esp + 0x10]
add dword [esp + 0x18], edi
sub eax, edi
mov dword [esp + 0x10], eax
test ecx, ecx
jne 0x405466
xor edi, edi
jmp 0x4045fc
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x4045fc
mov dword [eax + 0x1c], edi
mov ecx, dword [esp + 0x10]
mov dword [ebp + 0x40], edi
mov dword [ebp], 7
test dword [ebp + 0x10], 0x1000
je 0x4046a1
test ecx, ecx
je 0x405462
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
movzx eax, byte [edi + ebx]
inc edi
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x404650
mov edx, dword [eax + 0x24]
test edx, edx
je 0x404650
mov ecx, dword [ebp + 0x40]
cmp ecx, dword [eax + 0x28]
jae 0x404650
mov eax, dword [esp + 0x38]
mov byte [edx + ecx], al
inc dword [ebp + 0x40]
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x40465c
cmp edi, esi
jb 0x404627
test dword [ebp + 0x10], 0x200
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x2c]
je 0x404687
mov eax, dword [esp + 0x18]
test eax, eax
je 0x404684
mov ecx, dword [ebp + 0x18]
mov edx, eax
push edi
call fcn.004027be
mov ecx, dword [esp + 0x38]
mov dword [ebp + 0x18], eax
mov eax, dword [esp + 0x10]
add dword [esp + 0x18], edi
sub eax, edi
mov dword [esp + 0x10], eax
test ecx, ecx
jne 0x405466
xor edi, edi
jmp 0x4046ab
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x4046ab
mov dword [eax + 0x24], edi
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [ebp], 8
test dword [ebp + 0x10], 0x200
je 0x404721
push 0x10
pop eax
cmp ebx, eax
jae 0x404701
mov eax, dword [esp + 0x18]
test ecx, ecx
je 0x405462
movzx eax, byte [eax]
dec ecx
mov dword [esp + 0x10], ecx
mov ecx, ebx
shl eax, cl
add ebx, 8
mov ecx, dword [esp + 0x10]
add edx, eax
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
cmp ebx, 0x10
jb 0x4046ce
movzx eax, word [ebp + 0x18]
cmp edx, eax
je 0x404715
mov dword [esi + 0x18], str.header_crc_mismatch
jmp 0x4041ed
mov edx, edi
mov ebx, edi
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ebx
mov ecx, dword [ebp + 0x20]
test ecx, ecx
je 0x40473e
mov eax, dword [ebp + 0x10]
sar eax, 9
and eax, 1
mov dword [ecx + 0x2c], eax
mov eax, dword [ebp + 0x20]
mov dword [eax + 0x30], 1
mov dword [ebp + 0x18], edi
mov dword [esi + 0x30], edi
mov dword [ebp], 0xb
jmp 0x404ad8
cmp ebx, 0x20
jae 0x404788
mov eax, dword [esp + 0x18]
test ecx, ecx
je 0x405462
movzx eax, byte [eax]
dec ecx
mov dword [esp + 0x10], ecx
mov ecx, ebx
shl eax, cl
add ebx, 8
mov ecx, dword [esp + 0x10]
add edx, eax
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
cmp ebx, 0x20
jb 0x404759
mov ecx, edx
mov ebx, 0xff00
and ecx, ebx
mov eax, edx
shl eax, 0x10
add ecx, eax
mov eax, edx
shr eax, 8
shl ecx, 8
and eax, ebx
add eax, ecx
shr edx, 0x18
mov ecx, dword [esp + 0x10]
add eax, edx
mov dword [ebp + 0x18], eax
mov edx, edi
mov dword [esi + 0x30], eax
mov ebx, edi
mov dword [esp + 0x14], edx
mov dword [ebp], 0xa
cmp dword [ebp + 0xc], edi
je 0x405425
xor eax, eax
inc eax
mov dword [ebp + 0x18], eax
mov dword [esi + 0x30], eax
mov dword [ebp], 0xb
cmp dword [ebp + 4], edi
je 0x4047fd
mov ecx, ebx
mov dword [ebp], 0x1a
and ecx, 7
shr edx, cl
sub ebx, ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ebx
jmp 0x404ad8
cmp ebx, 3
jae 0x404835
mov eax, dword [esp + 0x18]
test ecx, ecx
je 0x405462
movzx eax, byte [eax]
dec ecx
mov dword [esp + 0x10], ecx
mov ecx, ebx
shl eax, cl
add ebx, 8
mov ecx, dword [esp + 0x10]
add edx, eax
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
cmp ebx, 3
jb 0x404806
mov eax, edx
shr edx, 1
and eax, 1
mov dword [ebp + 4], eax
mov eax, edx
and eax, 3
sub eax, edi
je 0x40488e
dec eax
je 0x404869
dec eax
je 0x404861
dec eax
jne 0x404895
mov dword [esi + 0x18], str.invalid_block_type
mov dword [ebp], 0x1d
jmp 0x404895
push 0x10
pop eax
mov dword [ebp], eax
jmp 0x404895
mov dword [ebp + 0x4c], 0x4256a8
mov dword [ebp + 0x54], 9
mov dword [ebp + 0x50], 0x425ed8
mov dword [ebp + 0x58], 5
mov dword [ebp], 0x13
jmp 0x404895
mov dword [ebp], 0xd
shr edx, 2
sub ebx, 3
jmp 0x40423a
mov ecx, ebx
and ecx, 7
shr edx, cl
sub ebx, ecx
jmp 0x4048d0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x405466
dec eax
mov ecx, ebx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [esp + 0x18]
add ebx, 8
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], edx
cmp ebx, 0x20
jb 0x4048ab
mov eax, edx
mov ecx, edx
not eax
and ecx, 0xffff
shr eax, 0x10
cmp ecx, eax
je 0x4048fc
mov dword [esi + 0x18], str.invalid_stored_block_lengths
jmp 0x4041ed
mov edx, edi
mov dword [ebp + 0x40], ecx
mov ecx, dword [esp + 0x10]
mov ebx, edi
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ebx
mov dword [ebp], 0xe
mov dword [ebp], 0xf
mov edi, dword [ebp + 0x40]
test edi, edi
je 0x40496f
cmp edi, ecx
cmova edi, ecx
cmp edi, dword [esp + 0x20]
cmova edi, dword [esp + 0x20]
test edi, edi
je 0x405462
push edi
push dword [esp + 0x1c]
push dword [esp + 0x30]
call fcn.0040bcd0
mov ecx, dword [esp + 0x1c]
add esp, 0xc
add dword [esp + 0x18], edi
sub ecx, edi
sub dword [esp + 0x20], edi
add dword [esp + 0x28], edi
sub dword [ebp + 0x40], edi
mov edx, dword [esp + 0x14]
mov dword [esp + 0x10], ecx
xor edi, edi
jmp 0x404adc
mov dword [ebp], 0xb
jmp 0x404968
cmp ebx, 0xe
jae 0x4049b0
mov eax, dword [esp + 0x18]
test ecx, ecx
je 0x405462
movzx eax, byte [eax]
dec ecx
mov dword [esp + 0x10], ecx
mov ecx, ebx
shl eax, cl
add ebx, 8
mov ecx, dword [esp + 0x10]
add edx, eax
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
cmp ebx, 0xe
jb 0x404981
mov eax, edx
sub ebx, 0xe
and eax, 0x1f
shr edx, 5
add eax, 0x101
mov dword [esp + 0x1c], ebx
mov dword [ebp + 0x60], eax
mov eax, edx
and eax, 0x1f
shr edx, 5
inc eax
mov dword [ebp + 0x64], eax
mov eax, edx
and eax, 0xf
shr edx, 4
add eax, 4
mov dword [esp + 0x14], edx
cmp dword [ebp + 0x60], 0x11e
mov dword [ebp + 0x5c], eax
ja 0x4049ff
cmp dword [ebp + 0x64], 0x1e
ja 0x4049ff
push 0x11
pop eax
mov dword [ebp + 0x68], edi
mov dword [ebp], eax
jmp case.0x40410e.17
mov dword [esi + 0x18], str.too_many_length_or_distance_symbols
jmp 0x4042ab
cmp ebx, 3
jae 0x404a43
mov eax, dword [esp + 0x18]
test ecx, ecx
je 0x405462
movzx eax, byte [eax]
dec ecx
mov dword [esp + 0x10], ecx
mov ecx, ebx
shl eax, cl
add ebx, 8
mov ecx, dword [esp + 0x10]
add edx, eax
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
cmp ebx, 3
jb 0x404a14
mov eax, dword [ebp + 0x68]
mov ecx, edx
and ecx, 7
shr edx, 3
mov dword [esp + 0x14], edx
movzx eax, word [eax*2 + 0x425eb0]
mov word [ebp + eax*2 + 0x70], cx
inc dword [ebp + 0x68]
sub ebx, 3
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x1c], ebx
mov eax, dword [ebp + 0x68]
cmp eax, dword [ebp + 0x5c]
jb 0x404a0b
jmp 0x404a8c
mov eax, dword [ebp + 0x68]
xor ecx, ecx
movzx eax, word [eax*2 + 0x425eb0]
mov word [ebp + eax*2 + 0x70], cx
inc dword [ebp + 0x68]
cmp dword [ebp + 0x68], 0x13
jb 0x404a77
lea eax, [ebp + 0x530]
lea ecx, [ebp + 0x6c]
mov dword [ebp + 0x4c], eax
mov dword [ecx], eax
lea edx, [ebp + 0x54]
lea eax, [ebp + 0x2f0]
mov dword [edx], 7
push eax
push edx
push ecx
push 0x13
lea edx, [ebp + 0x70]
xor ecx, ecx
call fcn.004055eb
mov dword [esp + 0x30], eax
test eax, eax
je 0x404af3
mov dword [esi + 0x18], str.invalid_code_lengths_set
mov dword [ebp], 0x1d
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov eax, dword [ebp]
cmp eax, 0x1e
jbe switch.0x0040410e
push 0xfffffffffffffffe
pop eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
mov dword [ebp + 0x68], edi
mov dword [ebp], 0x12
jmp case.0x40410e.18
mov eax, dword [esp + 0x10]
test eax, eax
je 0x405466
mov edx, dword [esp + 0x18]
dec eax
mov dword [esp + 0x10], eax
mov ecx, ebx
movzx eax, byte [edx]
shl eax, cl
add dword [esp + 0x14], eax
inc edx
mov dword [esp + 0x18], edx
add ebx, 8
mov ecx, dword [ebp + 0x54]
xor edx, edx
mov eax, dword [ebp + 0x4c]
inc edx
shl edx, cl
dec edx
and edx, dword [esp + 0x14]
mov eax, dword [eax + edx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [esp + 0x38], eax
cmp ecx, ebx
ja 0x404b02
mov edx, eax
push 0x10
shr edx, 0x10
pop ecx
cmp dx, cx
jae 0x404b77
shr eax, 8
movzx ecx, al
shr dword [esp + 0x14], cl
sub ebx, ecx
mov word [ebp + edi*2 + 0x70], dx
inc dword [ebp + 0x68]
mov dword [esp + 0x1c], ebx
jmp case.0x40410e.18
jne 0x404bec
mov ecx, eax
shr ecx, 8
movzx edi, cl
add edi, 2
jmp 0x404bad
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x405462
dec ecx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x18]
movzx edx, byte [ecx]
mov ecx, ebx
shl edx, cl
add dword [esp + 0x14], edx
inc dword [esp + 0x18]
add ebx, 8
cmp ebx, edi
jb 0x404b86
mov edx, dword [esp + 0x14]
movzx ecx, ah
mov eax, dword [esp + 0x3c]
sub ebx, ecx
shr edx, cl
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ebx
test eax, eax
je 0x404ce4
movzx eax, word [ebp + eax*2 + 0x6e]
mov edi, edx
and edi, 3
shr edx, 2
add edi, 3
mov dword [esp + 0x38], eax
sub ebx, 2
jmp 0x404c9f
mov edx, dword [esp + 0x14]
push 0x11
pop ecx
cmp word [esp + 0x3a], cx
movzx ecx, ah
jne 0x404c4a
lea edi, [ecx + 3]
mov dword [esp + 0x38], ecx
cmp ebx, edi
jae 0x404c39
mov eax, dword [esp + 0x10]
test eax, eax
je 0x405466
dec eax
mov ecx, ebx
mov dword [esp + 0x10], eax
add ebx, 8
mov eax, dword [esp + 0x18]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [esp + 0x18]
mov dword [esp + 0x14], edx
cmp ebx, edi
jb 0x404c08
mov ecx, dword [esp + 0x38]
shr edx, cl
mov edi, edx
and edi, 7
add edi, 3
shr edx, 3
push 0xfffffffffffffffd
jmp 0x404c95
lea edi, [ecx + 7]
mov dword [esp + 0x38], ecx
cmp ebx, edi
jae 0x404c86
mov eax, dword [esp + 0x10]
test eax, eax
je 0x405466
dec eax
mov ecx, ebx
mov dword [esp + 0x10], eax
add ebx, 8
mov eax, dword [esp + 0x18]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [esp + 0x18]
mov dword [esp + 0x14], edx
cmp ebx, edi
jb 0x404c55
mov ecx, dword [esp + 0x38]
shr edx, cl
mov edi, edx
and edi, 0x7f
add edi, 0xb
shr edx, 7
push 0xfffffffffffffff9
and dword [esp + 0x3c], 0
pop eax
sub eax, ecx
add ebx, eax
mov ecx, dword [ebp + 0x64]
mov eax, dword [esp + 0x3c]
add ecx, dword [ebp + 0x60]
add eax, edi
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ebx
cmp eax, ecx
ja 0x404cf9
test edi, edi
je case.0x40410e.18
mov ecx, dword [esp + 0x38]
mov eax, dword [ebp + 0x68]
mov word [ebp + eax*2 + 0x70], cx
inc dword [ebp + 0x68]
dec edi
jne 0x404cbf
mov eax, dword [ebp + 0x64]
add eax, dword [ebp + 0x60]
mov edi, dword [ebp + 0x68]
mov dword [esp + 0x3c], edi
cmp edi, eax
jb 0x404b2a
jmp 0x404d07
mov dword [esi + 0x18], str.invalid_bit_length_repeat
mov dword [ebp], 0x1d
xor edi, edi
jmp 0x404ad8
mov dword [esi + 0x18], str.invalid_bit_length_repeat
mov dword [ebp], 0x1d
xor edi, edi
cmp dword [ebp], 0x1d
je 0x404ad4
cmp word [ebp + 0x270], di
jne 0x404d28
mov dword [esi + 0x18], str.invalid_code____missing_end_of_block
jmp 0x404acd
lea eax, [ebp + 0x530]
lea edi, [ebp + 0x6c]
mov dword [ebp + 0x4c], eax
mov dword [edi], eax
lea ecx, [ebp + 0x54]
lea eax, [ebp + 0x2f0]
mov dword [ecx], 9
push eax
push ecx
push edi
push dword [ebp + 0x60]
xor ecx, ecx
lea edx, [ebp + 0x70]
inc ecx
call fcn.004055eb
mov dword [esp + 0x30], eax
test eax, eax
je 0x404d6b
mov edx, dword [esp + 0x14]
mov dword [esi + 0x18], str.invalid_literal_lengths_set
jmp 0x404ceb
mov eax, dword [edi]
lea ecx, [ebp + 0x58]
mov dword [ebp + 0x50], eax
lea eax, [ebp + 0x2f0]
push eax
mov eax, dword [ebp + 0x60]
push ecx
push edi
push dword [ebp + 0x64]
lea edx, [eax*2 + 0x70]
mov dword [ecx], 6
push 2
add edx, ebp
pop ecx
call fcn.004055eb
mov edx, dword [esp + 0x14]
xor edi, edi
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x30], eax
test eax, eax
je 0x404db7
mov dword [esi + 0x18], str.invalid_distances_set
jmp 0x4042ab
mov dword [ebp], 0x13
mov dword [ebp], 0x14
cmp ecx, 6
jb 0x404e3c
mov eax, dword [esp + 0x20]
cmp eax, 0x102
jb 0x404e3c
mov ecx, dword [esp + 0x28]
mov dword [esi + 0xc], ecx
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 4], ecx
mov ecx, esi
mov dword [esi], eax
mov dword [ebp + 0x38], edx
mov edx, dword [esp + 0x34]
mov dword [ebp + 0x3c], ebx
call fcn.00403a77
cmp dword [ebp], 0xb
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 4]
mov edx, dword [ebp + 0x38]
mov ebx, dword [ebp + 0x3c]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x20], eax
mov eax, dword [esi]
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ebx
jne 0x404adc
or dword [ebp + 0x1bc4], 0xffffffff
jmp 0x404adc
mov ecx, dword [ebp + 0x54]
xor eax, eax
inc eax
mov dword [ebp + 0x1bc4], edi
mov edi, dword [ebp + 0x4c]
shl eax, cl
dec eax
and eax, edx
mov eax, dword [edi + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, ebx
jbe 0x404eb0
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x405466
dec eax
mov ecx, ebx
mov dword [esp + 0x10], eax
add ebx, 8
movzx eax, byte [edi]
shl eax, cl
mov ecx, dword [ebp + 0x54]
add edx, eax
mov eax, dword [ebp + 0x4c]
inc edi
mov dword [esp + 0x14], edx
xor edx, edx
inc edx
mov dword [esp + 0x18], edi
shl edx, cl
dec edx
mov dword [esp + 0x1c], ebx
and edx, dword [esp + 0x14]
mov eax, dword [eax + edx*4]
mov ecx, eax
mov edx, dword [esp + 0x14]
shr ecx, 8
movzx ecx, cl
cmp ecx, ebx
ja 0x404e63
test al, al
je 0x404f6f
test al, 0xf0
jne 0x404f6f
mov ebx, eax
movzx ecx, al
shr ebx, 8
xor edi, edi
movzx esi, bl
inc edi
add ecx, esi
mov edx, eax
shl edi, cl
mov ecx, esi
dec edi
shr eax, 0x10
and edi, dword [esp + 0x14]
shr edi, cl
mov ecx, dword [ebp + 0x4c]
add edi, eax
mov dword [esp + 0x3c], edx
mov eax, dword [ecx + edi*4]
mov ecx, eax
shr ecx, 8
movzx esi, cl
movzx ecx, bl
mov ebx, dword [esp + 0x1c]
add esi, ecx
cmp esi, ebx
jbe 0x404f5a
mov esi, dword [esp + 0x10]
test esi, esi
je 0x405462
dec esi
movzx edi, dh
mov dword [esp + 0x10], esi
mov ecx, ebx
mov esi, dword [esp + 0x18]
add ebx, 8
movzx eax, byte [esi]
shl eax, cl
add dword [esp + 0x14], eax
inc esi
movzx eax, word [esp + 0x3e]
mov dword [esp + 0x18], esi
xor esi, esi
inc esi
movzx ecx, dl
add ecx, edi
shl esi, cl
mov ecx, edi
dec esi
and esi, dword [esp + 0x14]
shr esi, cl
add esi, eax
mov eax, dword [ebp + 0x4c]
mov eax, dword [eax + esi*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, edi
cmp ecx, ebx
ja 0x404f01
mov esi, dword [esp + 0x2c]
movzx ecx, dh
mov edx, dword [esp + 0x14]
shr edx, cl
sub ebx, ecx
mov dword [ebp + 0x1bc4], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [ebp + 0x1bc4], ecx
sub ebx, ecx
shr edx, cl
mov ecx, eax
shr ecx, 0x10
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ebx
mov dword [ebp + 0x40], ecx
test al, al
jne 0x404fa1
mov dword [ebp], 0x19
jmp 0x404cf2
test al, 0x20
je 0x404fb8
or dword [ebp + 0x1bc4], 0xffffffff
mov dword [ebp], 0xb
jmp 0x404cf2
mov ecx, dword [esp + 0x10]
test al, 0x40
je 0x404fd3
mov dword [esi + 0x18], str.invalid_literal_length_code
mov dword [ebp], 0x1d
jmp 0x404968
movzx eax, al
and eax, 0xf
mov dword [ebp], 0x15
mov dword [ebp + 0x48], eax
mov esi, dword [ebp + 0x48]
test esi, esi
je 0x40503b
cmp ebx, esi
jae 0x40501c
mov edi, dword [esp + 0x18]
test ecx, ecx
je 0x405462
movzx eax, byte [edi]
dec ecx
mov dword [esp + 0x10], ecx
mov ecx, ebx
shl eax, cl
add ebx, 8
mov ecx, dword [esp + 0x10]
add edx, eax
inc edi
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edi
cmp ebx, esi
jb 0x404ff2
xor eax, eax
mov ecx, esi
inc eax
sub ebx, esi
shl eax, cl
dec eax
mov dword [esp + 0x1c], ebx
and eax, edx
shr edx, cl
add dword [ebp + 0x40], eax
add dword [ebp + 0x1bc4], esi
mov dword [esp + 0x14], edx
mov eax, dword [ebp + 0x40]
mov dword [ebp + 0x1bc8], eax
mov dword [ebp], 0x16
mov ecx, dword [ebp + 0x58]
xor eax, eax
mov esi, dword [ebp + 0x50]
inc eax
shl eax, cl
dec eax
and eax, edx
mov eax, dword [esi + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, ebx
jbe 0x4050b9
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
test esi, esi
je 0x405462
movzx eax, byte [edi]
mov ecx, ebx
shl eax, cl
dec esi
mov ecx, dword [ebp + 0x58]
add edx, eax
mov eax, dword [ebp + 0x50]
inc edi
mov dword [esp + 0x14], edx
add ebx, 8
xor edx, edx
mov dword [esp + 0x10], esi
inc edx
mov dword [esp + 0x18], edi
shl edx, cl
dec edx
mov dword [esp + 0x1c], ebx
and edx, dword [esp + 0x14]
mov eax, dword [eax + edx*4]
mov ecx, eax
mov edx, dword [esp + 0x14]
shr ecx, 8
movzx ecx, cl
cmp ecx, ebx
ja 0x405070
test al, 0xf0
jne 0x40516c
mov ebx, eax
movzx ecx, al
shr ebx, 8
xor edi, edi
movzx esi, bl
inc edi
add ecx, esi
mov edx, eax
shl edi, cl
mov ecx, esi
dec edi
shr eax, 0x10
and edi, dword [esp + 0x14]
shr edi, cl
mov ecx, dword [ebp + 0x50]
add edi, eax
mov dword [esp + 0x3c], edx
mov eax, dword [ecx + edi*4]
mov ecx, eax
shr ecx, 8
movzx esi, cl
movzx ecx, bl
mov ebx, dword [esp + 0x1c]
add esi, ecx
cmp esi, ebx
jbe 0x40515b
mov esi, dword [esp + 0x10]
test esi, esi
je 0x405462
dec esi
movzx edi, dh
mov dword [esp + 0x10], esi
mov ecx, ebx
mov esi, dword [esp + 0x18]
add ebx, 8
movzx eax, byte [esi]
shl eax, cl
add dword [esp + 0x14], eax
inc esi
movzx eax, word [esp + 0x3e]
mov dword [esp + 0x18], esi
xor esi, esi
inc esi
movzx ecx, dl
add ecx, edi
shl esi, cl
mov ecx, edi
dec esi
and esi, dword [esp + 0x14]
shr esi, cl
add esi, eax
mov eax, dword [ebp + 0x50]
mov eax, dword [eax + esi*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, edi
cmp ecx, ebx
ja 0x405102
movzx ecx, dh
mov edx, dword [esp + 0x14]
sub ebx, ecx
shr edx, cl
add dword [ebp + 0x1bc4], ecx
mov esi, dword [esp + 0x2c]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [ebp + 0x1bc4], ecx
sub ebx, ecx
shr edx, cl
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ebx
test al, 0x40
je 0x40519a
mov dword [esi + 0x18], str.invalid_distance_code
jmp 0x404ceb
mov ecx, eax
mov dword [ebp], 0x17
shr ecx, 0x10
movzx eax, al
and eax, 0xf
mov dword [ebp + 0x44], ecx
mov ecx, dword [esp + 0x10]
mov dword [ebp + 0x48], eax
mov edi, dword [ebp + 0x48]
test edi, edi
je 0x405212
cmp ebx, edi
jae 0x4051f3
mov eax, dword [esp + 0x18]
test ecx, ecx
je 0x405462
movzx eax, byte [eax]
dec ecx
mov dword [esp + 0x10], ecx
mov ecx, ebx
shl eax, cl
add ebx, 8
mov ecx, dword [esp + 0x10]
add edx, eax
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
cmp ebx, edi
jb 0x4051c5
xor eax, eax
mov ecx, edi
inc eax
sub ebx, edi
shl eax, cl
dec eax
mov dword [esp + 0x1c], ebx
and eax, edx
shr edx, cl
add dword [ebp + 0x44], eax
add dword [ebp + 0x1bc4], edi
mov dword [esp + 0x14], edx
mov dword [ebp], 0x18
xor edi, edi
cmp dword [esp + 0x20], 0
je 0x405462
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x20]
mov ecx, dword [ebp + 0x44]
cmp ecx, eax
jbe 0x405270
sub ecx, eax
cmp ecx, dword [ebp + 0x2c]
jbe 0x405250
cmp dword [ebp + 0x1bc0], edi
je 0x405250
mov dword [esi + 0x18], str.invalid_distance_too_far_back
jmp 0x4041ed
mov edi, dword [ebp + 0x34]
cmp ecx, dword [ebp + 0x30]
jbe 0x405262
sub ecx, dword [ebp + 0x30]
add edi, dword [ebp + 0x28]
sub edi, ecx
jmp 0x405267
sub edi, ecx
add edi, dword [ebp + 0x30]
mov eax, dword [ebp + 0x40]
cmp ecx, eax
jbe 0x40527b
jmp 0x405279
mov edi, dword [esp + 0x28]
mov eax, dword [ebp + 0x40]
sub edi, ecx
mov ecx, eax
cmp ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
cmova ecx, dword [esp + 0x20]
sub dword [esp + 0x20], ecx
sub eax, ecx
mov dword [ebp + 0x40], eax
sub edi, edx
mov al, byte [edi + edx]
mov byte [edx], al
inc edx
dec ecx
jne 0x405293
xor edi, edi
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x14]
cmp dword [ebp + 0x40], edi
jne 0x404ad8
mov dword [ebp], 0x14
jmp 0x404ad8
cmp dword [esp + 0x20], 0
je 0x405462
mov esi, dword [esp + 0x28]
mov al, byte [ebp + 0x40]
inc dword [esp + 0x28]
dec dword [esp + 0x20]
mov byte [esi], al
mov esi, dword [esp + 0x2c]
mov dword [ebp], 0x14
jmp 0x404adc
cmp dword [ebp + 8], edi
je 0x4053cb
cmp ebx, 0x20
jae 0x40532c
mov eax, dword [esp + 0x18]
test ecx, ecx
je 0x405462
movzx eax, byte [eax]
dec ecx
mov dword [esp + 0x10], ecx
mov ecx, ebx
shl eax, cl
add ebx, 8
mov ecx, dword [esp + 0x10]
add edx, eax
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
cmp ebx, 0x20
jb 0x4052f9
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
sub ecx, eax
add dword [esi + 0x14], ecx
add dword [ebp + 0x1c], ecx
test ecx, ecx
je 0x40537b
cmp dword [ebp + 0x10], edi
je 0x40535e
mov eax, dword [esp + 0x28]
sub eax, ecx
jne 0x405351
mov eax, edi
jmp 0x405371
push ecx
mov ecx, dword [ebp + 0x18]
mov edx, eax
call fcn.004027be
jmp 0x40536d
mov edx, dword [esp + 0x28]
push ecx
sub edx, ecx
mov ecx, dword [ebp + 0x18]
call fcn.00401040
mov edx, dword [esp + 0x14]
mov dword [ebp + 0x18], eax
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x34], eax
mov ecx, edx
and ecx, 0xff00
mov eax, edx
shl eax, 0x10
add ecx, eax
mov eax, edx
shr eax, 8
shl ecx, 8
and eax, 0xff00
add ecx, eax
mov eax, edx
shr eax, 0x18
add ecx, eax
cmp dword [ebp + 0x10], edi
cmovne ecx, edx
cmp ecx, dword [ebp + 0x18]
mov ecx, dword [esp + 0x10]
je 0x4053bf
mov dword [esi + 0x18], str.incorrect_data_check
jmp 0x4042ab
mov edx, edi
mov ebx, edi
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ebx
mov dword [ebp], 0x1b
cmp dword [ebp + 8], edi
je 0x40544f
cmp dword [ebp + 0x10], edi
je 0x40544f
cmp ebx, 0x20
jae 0x405414
mov eax, dword [esp + 0x18]
test ecx, ecx
je 0x405462
movzx eax, byte [eax]
dec ecx
mov dword [esp + 0x10], ecx
mov ecx, ebx
shl eax, cl
add ebx, 8
mov ecx, dword [esp + 0x10]
add edx, eax
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
cmp ebx, 0x20
jb 0x4053e5
cmp edx, dword [ebp + 0x1c]
je 0x405449
mov dword [esi + 0x18], str.incorrect_length_check
jmp 0x4041ed
mov eax, dword [esp + 0x28]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x18]
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [ebp + 0x38], edx
mov dword [ebp + 0x3c], ebx
push 2
jmp 0x404aea
mov dword [esp + 0x14], edi
mov ebx, edi
mov dword [ebp], 0x1c
xor eax, eax
inc eax
jmp 0x40545e
push 0xfffffffffffffffd
pop eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x34]
mov dword [esi + 0xc], ecx
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x18]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esi], ecx
mov dword [ebp + 0x3c], ebx
xor ebx, ebx
mov dword [ebp + 0x38], eax
cmp dword [ebp + 0x28], ebx
jne 0x4054a1
cmp edi, dword [esi + 0x10]
je 0x4054c3
cmp dword [ebp], 0x1d
jge 0x4054c3
mov edx, dword [esi + 0xc]
mov eax, edi
sub eax, dword [esi + 0x10]
mov ecx, esi
push eax
call fcn.00403fca
test eax, eax
je 0x4054c3
mov dword [ebp], 0x1e
push 0xfffffffffffffffc
jmp 0x404aea
mov edx, dword [esp + 0x40]
sub edx, dword [esi + 4]
sub edi, dword [esi + 0x10]
add dword [esi + 8], edx
add dword [esi + 0x14], edi
add dword [ebp + 0x1c], edi
mov dword [esp + 0x40], edx
cmp dword [ebp + 8], ebx
je 0x405513
test edi, edi
je 0x405513
mov edx, dword [esi + 0xc]
cmp dword [ebp + 0x10], ebx
je 0x4054fe
sub edx, edi
jne 0x4054f3
mov eax, ebx
jmp 0x405509
mov ecx, dword [ebp + 0x18]
push edi
call fcn.004027be
jmp 0x405509
mov ecx, dword [ebp + 0x18]
sub edx, edi
push edi
call fcn.00401040
mov edx, dword [esp + 0x40]
mov dword [ebp + 0x18], eax
mov dword [esi + 0x30], eax
cmp dword [ebp], 0x13
je 0x40551f
cmp dword [ebp], 0xe
jne 0x405524
mov ebx, 0x100
mov ecx, dword [ebp + 4]
neg ecx
mov dword [esp + 0x40], 0x80
sbb ecx, ecx
xor eax, eax
and ecx, 0x40
cmp dword [ebp], 0xb
cmove eax, dword [esp + 0x40]
add ecx, ebx
add eax, ecx
add eax, dword [ebp + 0x3c]
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0x30]
test edx, edx
jne 0x404aeb
test edi, edi
jne 0x404aeb
push 0xfffffffffffffffb
test eax, eax
pop ecx
cmove eax, ecx
jmp 0x404aeb