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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x10059400]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x24], esi
call fcn.10007523
test eax, eax
jne case.default.0x100077f9
xor ecx, ecx
cmp dword [esi + 0xc], ecx
je case.default.0x100077f9
cmp dword [esi], ecx
jne 0x100077af
cmp dword [esi + 4], ecx
jne case.default.0x100077f9
mov ebx, dword [esi + 0x1c]
mov dword [ebp - 0x3c], ebx
cmp dword [ebx + 4], 0x3f3f
jne 0x100077c5
mov dword [ebx + 4], 0x3f40
mov eax, dword [esi + 0xc]
mov edx, dword [ebx + 0x3c]
mov edi, dword [ebx + 0x40]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
jmp 0x100078e2
jmp dword [eax*4 + 0x10008ba6]
cmp dword [ebx + 0xc], 0
jne 0x10007812
mov dword [ebx + 4], 0x3f40
jmp 0x100078e2
push 0x10
pop eax
cmp edi, eax
jae 0x10007847
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10008a93
dec eax
mov ecx, edi
mov dword [ebp - 0x14], eax
add edi, 8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], edi
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 0x10]
mov dword [ebp - 0xc], edx
cmp edi, 0x10
jb 0x10007819
xor ecx, ecx
test byte [ebx + 0xc], 2
je 0x10007893
cmp edx, 0x8b1f
jne 0x10007893
cmp dword [ebx + 0x28], ecx
jne 0x10007861
mov dword [ebx + 0x28], 0xf
push 0x1f
pop eax
mov dword [ebx + 0x1c], ecx
lea edx, [ebp - 8]
push 2
xor ecx, ecx
mov byte [ebp - 8], al
mov byte [ebp - 7], 0x8b
call fcn.10005187
pop ecx
xor ecx, ecx
mov dword [ebx + 0x1c], eax
mov edx, ecx
mov dword [ebx + 4], 0x3f35
mov edi, ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x1c], edi
jmp 0x100078e2
mov eax, dword [ebx + 0x24]
mov dword [ebx + 0x14], ecx
test eax, eax
je 0x100078a1
or dword [eax + 0x30], 0xffffffff
test byte [ebx + 0xc], 1
je 0x1000796b
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 - 0xc]
jne 0x10007969
mov eax, edx
and al, 0xf
cmp al, 8
je 0x10007907
mov dword [esi + 0x18], str.unknown_compression_method
mov dword [ebx + 4], 0x3f51
xor ecx, ecx
mov eax, dword [ebx + 4]
sub eax, 0x3f34
cmp eax, 0x1e
jbe switch.0x100077f9
push 0xfffffffffffffffe
pop eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10021ccc
mov esp, ebp
pop ebp
ret
shr edx, 4
sub edi, 4
mov ecx, edx
mov dword [ebp - 0xc], edx
and ecx, 0xf
mov dword [ebp - 0x1c], edi
add ecx, 8
cmp dword [ebx + 0x28], 0
jne 0x10007924
mov dword [ebx + 0x28], ecx
cmp ecx, 0xf
ja 0x1000795d
cmp ecx, dword [ebx + 0x28]
ja 0x1000795d
xor edi, edi
shr edx, 8
inc edi
not edx
mov eax, edi
mov dword [ebx + 0x1c], edi
and edx, 2
shl eax, cl
or edx, 0x3f3d
mov dword [ebx + 0x18], eax
mov dword [esi + 0x30], edi
xor ecx, ecx
mov dword [ebx + 4], edx
mov edi, ecx
mov edx, ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x1c], edi
jmp 0x100078e2
mov dword [esi + 0x18], str.invalid_window_size
jmp 0x100078d9
xor ecx, ecx
mov dword [esi + 0x18], str.incorrect_header_check
mov dword [ebx + 4], 0x3f51
jmp 0x100078e2
push 0x10
pop eax
cmp edi, eax
jae 0x100079b5
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10008a93
dec eax
mov ecx, edi
mov dword [ebp - 0x14], eax
add edi, 8
mov eax, dword [ebp - 0x10]
push 0x10
mov dword [ebp - 0x1c], edi
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 0x10]
pop eax
mov dword [ebp - 0xc], edx
cmp edi, eax
jb 0x10007985
xor ecx, ecx
mov dword [ebx + 0x14], edx
cmp dl, 8
je 0x100079c6
mov dword [esi + 0x18], str.unknown_compression_method
jmp 0x10007972
test edx, 0xe000
je 0x100079d7
mov dword [esi + 0x18], str.unknown_header_flags_set
jmp 0x10007972
mov ecx, dword [ebx + 0x24]
test ecx, ecx
je 0x100079e8
mov eax, edx
shr eax, 8
and eax, 1
mov dword [ecx], eax
test dword [ebx + 0x14], 0x200
je 0x10007a11
test byte [ebx + 0xc], 4
je 0x10007a11
mov ecx, dword [ebx + 0x1c]
mov byte [ebp - 8], dl
shr edx, 8
mov byte [ebp - 7], dl
lea edx, [ebp - 8]
push 2
call fcn.10005187
pop ecx
mov dword [ebx + 0x1c], eax
xor eax, eax
mov dword [ebx + 4], 0x3f36
mov edx, eax
mov edi, eax
jmp 0x10007a41
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10008a93
dec eax
mov ecx, edi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 0x10]
add edi, 8
mov dword [ebp - 0xc], edx
cmp edi, 0x20
jb 0x10007a20
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x10007a53
mov dword [eax + 4], edx
test dword [ebx + 0x14], 0x200
je 0x10007a8c
test byte [ebx + 0xc], 4
je 0x10007a8c
mov ecx, dword [ebx + 0x1c]
mov eax, edx
shr eax, 8
mov byte [ebp - 7], al
mov eax, edx
mov byte [ebp - 8], dl
shr edx, 0x18
shr eax, 0x10
mov byte [ebp - 5], dl
lea edx, [ebp - 8]
push 4
mov byte [ebp - 6], al
call fcn.10005187
pop ecx
mov dword [ebx + 0x1c], eax
xor eax, eax
mov dword [ebx + 4], 0x3f37
mov edx, eax
mov edi, eax
jmp 0x10007abc
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10008a93
dec eax
mov ecx, edi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 0x10]
add edi, 8
mov dword [ebp - 0xc], edx
push 0x10
pop eax
cmp edi, eax
jb 0x10007a9b
mov ecx, dword [ebx + 0x24]
test ecx, ecx
je 0x10007ade
movzx eax, dl
mov dword [ecx + 8], eax
mov ecx, edx
mov eax, dword [ebx + 0x24]
shr ecx, 8
mov dword [eax + 0xc], ecx
test dword [ebx + 0x14], 0x200
je 0x10007b07
test byte [ebx + 0xc], 4
je 0x10007b07
mov ecx, dword [ebx + 0x1c]
mov byte [ebp - 8], dl
shr edx, 8
mov byte [ebp - 7], dl
lea edx, [ebp - 8]
push 2
call fcn.10005187
pop ecx
mov dword [ebx + 0x1c], eax
xor ecx, ecx
mov dword [ebx + 4], 0x3f38
mov edx, ecx
mov edi, ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x1c], edi
test dword [ebx + 0x14], 0x400
jne 0x10007bb1
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x10007b31
mov dword [eax + 0x10], ecx
mov dword [ebx + 4], 0x3f39
test dword [ebx + 0x14], 0x400
je 0x10007c51
mov edx, dword [ebx + 0x44]
mov eax, dword [ebp - 0x14]
cmp edx, eax
cmova edx, eax
mov dword [ebp - 0x2c], edx
test edx, edx
je 0x10007c48
mov ecx, dword [ebx + 0x24]
test ecx, ecx
je 0x10007c12
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x10007c12
mov eax, dword [ecx + 0x14]
sub eax, dword [ebx + 0x44]
mov ecx, dword [ecx + 0x18]
mov dword [ebp - 0x20], eax
add eax, edx
cmp eax, ecx
mov eax, dword [ebp - 0x20]
jbe 0x10007bfd
sub ecx, eax
jmp 0x10007bff
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10008a93
dec eax
mov ecx, edi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 0x10]
mov dword [ebp - 0xc], edx
add edi, 8
push 0x10
pop eax
cmp edi, eax
jb 0x10007b8d
mov eax, dword [ebx + 0x24]
mov dword [ebx + 0x44], edx
test eax, eax
je 0x10007bc5
mov dword [eax + 0x14], edx
test dword [ebx + 0x14], 0x200
je 0x10007bee
test byte [ebx + 0xc], 4
je 0x10007bee
mov ecx, dword [ebx + 0x1c]
mov byte [ebp - 8], dl
shr edx, 8
mov byte [ebp - 7], dl
lea edx, [ebp - 8]
push 2
call fcn.10005187
pop ecx
mov dword [ebx + 0x1c], eax
xor ecx, ecx
mov edi, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x1c], edi
jmp 0x10007b31
mov ecx, edx
add eax, dword [ebp - 0x30]
push ecx
push dword [ebp - 0x10]
push eax
call fcn.10021ce0
mov edx, dword [ebp - 0x2c]
add esp, 0xc
test dword [ebx + 0x14], 0x200
je 0x10007c37
test byte [ebx + 0xc], 4
je 0x10007c37
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10007c34
mov ecx, dword [ebx + 0x1c]
push edx
mov edx, eax
call fcn.10005187
pop ecx
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp - 0x2c]
sub dword [ebp - 0x14], eax
add dword [ebp - 0x10], eax
sub dword [ebx + 0x44], eax
xor ecx, ecx
mov eax, dword [ebp - 0x14]
cmp dword [ebx + 0x44], ecx
jne 0x10008a93
mov dword [ebx + 0x44], ecx
mov dword [ebx + 4], 0x3f3a
test dword [ebx + 0x14], 0x800
je 0x10007cfb
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10008a93
mov edi, dword [ebp - 0x10]
mov esi, eax
movzx eax, byte [ecx + edi]
inc ecx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx + 0x24]
mov dword [ebp - 0x20], ecx
test eax, eax
je 0x10007ca8
mov edx, dword [eax + 0x1c]
test edx, edx
je 0x10007ca8
mov edx, dword [ebx + 0x44]
cmp edx, dword [eax + 0x20]
jae 0x10007ca8
mov eax, dword [eax + 0x1c]
mov ecx, dword [ebp - 0x2c]
mov byte [eax + edx], cl
inc dword [ebx + 0x44]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x2c]
test edx, edx
je 0x10007cb3
cmp ecx, esi
jb 0x10007c78
test dword [ebx + 0x14], 0x200
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
je 0x10007ce4
test byte [ebx + 0xc], 4
je 0x10007ce4
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10007ce1
push ecx
mov ecx, dword [ebx + 0x1c]
mov edx, eax
call fcn.10005187
mov edx, dword [ebp - 0x2c]
pop ecx
mov ecx, dword [ebp - 0x20]
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp - 0x14]
add dword [ebp - 0x10], ecx
sub eax, ecx
mov dword [ebp - 0x14], eax
test edx, edx
jne 0x10008a93
xor ecx, ecx
jmp 0x10007d05
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x10007d05
mov dword [eax + 0x1c], ecx
mov dword [ebx + 0x44], ecx
mov dword [ebx + 4], 0x3f3b
test dword [ebx + 0x14], 0x1000
je 0x10007dad
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10008a93
mov edi, dword [ebp - 0x10]
mov esi, eax
movzx eax, byte [ecx + edi]
inc ecx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx + 0x24]
mov dword [ebp - 0x20], ecx
test eax, eax
je 0x10007d5c
mov edx, dword [eax + 0x24]
test edx, edx
je 0x10007d5c
mov edx, dword [ebx + 0x44]
cmp edx, dword [eax + 0x28]
jae 0x10007d5c
mov eax, dword [eax + 0x24]
mov ecx, dword [ebp - 0x2c]
mov byte [eax + edx], cl
inc dword [ebx + 0x44]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x2c]
test edx, edx
je 0x10007d67
cmp ecx, esi
jb 0x10007d2c
test dword [ebx + 0x14], 0x200
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
je 0x10007d98
test byte [ebx + 0xc], 4
je 0x10007d98
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10007d95
push ecx
mov ecx, dword [ebx + 0x1c]
mov edx, eax
call fcn.10005187
mov edx, dword [ebp - 0x2c]
pop ecx
mov ecx, dword [ebp - 0x20]
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp - 0x14]
add dword [ebp - 0x10], ecx
sub eax, ecx
mov dword [ebp - 0x14], eax
test edx, edx
jne 0x10008a93
jmp 0x10007db7
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x10007db7
mov dword [eax + 0x24], ecx
mov edx, dword [ebp - 0xc]
mov dword [ebx + 4], 0x3f3c
test dword [ebx + 0x14], 0x200
je 0x10007e20
jmp 0x10007df3
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10008a93
dec eax
mov ecx, edi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 0x10]
add edi, 8
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x1c], edi
push 0x10
pop eax
cmp edi, eax
jb 0x10007dcc
test byte [ebx + 0xc], 4
je 0x10007e14
movzx eax, word [ebx + 0x1c]
cmp edx, eax
je 0x10007e14
mov dword [esi + 0x18], str.header_crc_mismatch
jmp 0x100078d9
xor eax, eax
mov edx, eax
mov edi, eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x1c], edi
mov ecx, dword [ebx + 0x24]
test ecx, ecx
je 0x10007e3d
mov eax, dword [ebx + 0x14]
sar eax, 9
and eax, 1
mov dword [ecx + 0x2c], eax
mov eax, dword [ebx + 0x24]
mov dword [eax + 0x30], 1
xor ecx, ecx
mov dword [ebx + 0x1c], ecx
mov dword [esi + 0x30], ecx
mov dword [ebx + 4], 0x3f3f
jmp 0x100078e2
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10008a93
dec eax
mov ecx, edi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 0x10]
mov dword [ebp - 0xc], edx
add edi, 8
cmp edi, 0x20
jb 0x10007e51
mov ecx, edx
mov edi, 0xff00
mov eax, edx
and ecx, edi
shl eax, 0x10
add ecx, eax
mov eax, edx
shr eax, 8
and eax, edi
shl ecx, 8
shr edx, 0x18
add eax, ecx
add eax, edx
xor ecx, ecx
mov dword [ebx + 0x1c], eax
mov edx, ecx
mov dword [esi + 0x30], eax
mov edi, ecx
mov dword [ebp - 0xc], edx
mov dword [ebx + 4], 0x3f3e
cmp dword [ebx + 0x10], ecx
je 0x10008a5a
xor eax, eax
inc eax
mov dword [ebx + 0x1c], eax
mov dword [esi + 0x30], eax
mov dword [ebx + 4], 0x3f3f
cmp dword [ebx + 8], ecx
je 0x10007eea
mov ecx, edi
mov dword [ebx + 4], 0x3f4e
and ecx, 7
shr edx, cl
sub edi, ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x1c], edi
jmp 0x100078e0
cmp edi, 3
jae 0x10007f1a
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10008a93
dec eax
mov ecx, edi
mov dword [ebp - 0x14], eax
add edi, 8
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 0x10]
mov dword [ebp - 0xc], edx
cmp edi, 3
jb 0x10007eef
xor ecx, ecx
mov eax, edx
shr edx, 1
and eax, 1
mov dword [ebx + 8], eax
mov eax, edx
and eax, 3
sub eax, ecx
je 0x10007f74
dec eax
je 0x10007f4f
dec eax
je 0x10007f46
dec eax
jne 0x10007f7b
mov dword [esi + 0x18], str.invalid_block_type
mov dword [ebx + 4], 0x3f51
jmp 0x10007f7b
mov dword [ebx + 4], 0x3f44
jmp 0x10007f7b
mov dword [ebx + 0x50], 0x1004dd78
mov dword [ebx + 0x58], 9
mov dword [ebx + 0x54], 0x1004e5b8
mov dword [ebx + 0x5c], 5
mov dword [ebx + 4], 0x3f47
jmp 0x10007f7b
mov dword [ebx + 4], 0x3f41
shr edx, 2
sub edi, 3
jmp 0x10007955
mov ecx, edi
and ecx, 7
shr edx, cl
sub edi, ecx
jmp 0x10007fb2
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10008a93
dec eax
mov ecx, edi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 0x10]
add edi, 8
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0xc], edx
cmp edi, 0x20
jb 0x10007f91
mov eax, edx
mov ecx, edx
not eax
and ecx, 0xffff
shr eax, 0x10
cmp ecx, eax
je 0x10007fdc
mov dword [esi + 0x18], str.invalid_stored_block_lengths
jmp 0x100078d9
mov dword [ebx + 0x44], ecx
xor ecx, ecx
mov edx, ecx
mov dword [ebx + 4], 0x3f42
mov edi, ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x1c], edi
mov dword [ebx + 4], 0x3f43
mov esi, dword [ebx + 0x44]
test esi, esi
je 0x10008041
mov eax, dword [ebp - 0x14]
cmp esi, eax
mov ecx, dword [ebp - 0x18]
cmova esi, eax
cmp esi, ecx
cmova esi, ecx
test esi, esi
je 0x10008a96
push esi
push dword [ebp - 0x10]
push dword [ebp - 0x28]
call fcn.10021ce0
sub dword [ebp - 0x14], esi
add esp, 0xc
add dword [ebp - 0x10], esi
sub dword [ebp - 0x18], esi
add dword [ebp - 0x28], esi
sub dword [ebx + 0x44], esi
mov edx, dword [ebp - 0xc]
mov esi, dword [ebp - 0x24]
jmp 0x100078e0
mov dword [ebx + 4], 0x3f3f
mov esi, dword [ebp - 0x24]
jmp 0x100078e2
cmp edi, 0xe
jae 0x10008080
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10008a93
dec eax
mov ecx, edi
mov dword [ebp - 0x14], eax
add edi, 8
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 0x10]
mov dword [ebp - 0xc], edx
cmp edi, 0xe
jb 0x10008055
xor ecx, ecx
mov eax, edx
sub edi, 0xe
and eax, 0x1f
shr edx, 5
add eax, 0x101
mov dword [ebp - 0x1c], edi
mov dword [ebx + 0x64], eax
mov eax, edx
and eax, 0x1f
shr edx, 5
inc eax
mov dword [ebx + 0x68], eax
mov eax, edx
and eax, 0xf
shr edx, 4
add eax, 4
mov dword [ebp - 0xc], edx
cmp dword [ebx + 0x64], 0x11e
mov dword [ebx + 0x60], eax
ja 0x100080ce
cmp dword [ebx + 0x68], 0x1e
ja 0x100080ce
mov dword [ebx + 0x6c], ecx
mov dword [ebx + 4], 0x3f45
jmp case.0x100077f9.16197
mov dword [esi + 0x18], str.too_many_length_or_distance_symbols
jmp 0x10007972
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10008a93
dec eax
mov ecx, edi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 0x10]
mov dword [ebp - 0xc], edx
add edi, 8
cmp edi, 3
jb 0x100080da
mov eax, dword [ebx + 0x6c]
mov ecx, edx
and ecx, 7
shr edx, 3
mov dword [ebp - 0xc], edx
movzx eax, word [eax*2 + 0x1004e590]
mov word [ebx + eax*2 + 0x74], cx
inc dword [ebx + 0x6c]
sub edi, 3
mov dword [ebp - 0x1c], edi
mov eax, dword [ebx + 0x6c]
cmp eax, dword [ebx + 0x60]
jb 0x100080fe
jmp 0x10008146
mov eax, dword [ebx + 0x6c]
xor ecx, ecx
movzx eax, word [eax*2 + 0x1004e590]
mov word [ebx + eax*2 + 0x74], cx
inc dword [ebx + 0x6c]
cmp dword [ebx + 0x6c], 0x13
jb 0x10008131
lea eax, [ebx + 0x534]
lea ecx, [ebx + 0x70]
mov dword [ebx + 0x50], eax
mov dword [ecx], eax
lea edx, [ebx + 0x58]
lea eax, [ebx + 0x2f4]
mov dword [edx], 7
push eax
push edx
push ecx
push 0x13
lea edx, [ebx + 0x74]
xor ecx, ecx
call fcn.10008c5a
add esp, 0x10
mov dword [ebp - 0x38], eax
test eax, eax
je 0x10008198
mov dword [esi + 0x18], str.invalid_code_lengths_set
mov edx, dword [ebp - 0xc]
mov dword [ebx + 4], 0x3f51
jmp 0x100078e0
and dword [ebx + 0x6c], 0
mov dword [ebx + 4], 0x3f46
mov eax, dword [ebx + 0x68]
mov ecx, dword [ebx + 0x6c]
add eax, dword [ebx + 0x64]
mov dword [ebp - 0x2c], ecx
cmp ecx, eax
jae 0x1000839b
lea esi, [ebx + 0x58]
jmp 0x100081df
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10008a93
mov edx, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x14], eax
mov ecx, edi
movzx eax, byte [edx]
shl eax, cl
add dword [ebp - 0xc], eax
inc edx
mov dword [ebp - 0x10], edx
add edi, 8
mov ecx, dword [esi]
xor edx, edx
mov eax, dword [ebx + 0x50]
inc edx
shl edx, cl
dec edx
and edx, dword [ebp - 0xc]
mov eax, dword [eax + edx*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov dword [ebp - 0x20], eax
cmp ecx, edi
ja 0x100081bc
mov edx, eax
push 0x10
shr edx, 0x10
pop ecx
cmp dx, cx
jae 0x1000822a
shr eax, 8
movzx ecx, al
mov eax, dword [ebp - 0x2c]
sub edi, ecx
shr dword [ebp - 0xc], cl
mov dword [ebp - 0x1c], edi
mov word [ebx + eax*2 + 0x74], dx
inc dword [ebx + 0x6c]
jmp 0x10008362
jne 0x10008295
mov ecx, eax
shr ecx, 8
movzx esi, cl
add esi, 2
jmp 0x1000825b
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x10008a90
dec ecx
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx]
mov ecx, edi
shl edx, cl
add dword [ebp - 0xc], edx
inc dword [ebp - 0x10]
add edi, 8
cmp edi, esi
jb 0x10008239
mov edx, dword [ebp - 0xc]
movzx ecx, ah
mov eax, dword [ebp - 0x2c]
sub edi, ecx
shr edx, cl
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x1c], edi
test eax, eax
je 0x1000837b
movzx eax, word [ebx + eax*2 + 0x72]
mov esi, edx
and esi, 3
shr edx, 2
add esi, 3
mov dword [ebp - 0x20], eax
sub edi, 2
jmp 0x10008335
cmp word [ebp - 0x1e], 0x11
mov edx, dword [ebp - 0xc]
movzx ecx, ah
jne 0x100082e8
lea esi, [ecx + 3]
mov dword [ebp - 0x30], ecx
cmp edi, esi
jae 0x100082d7
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10008a93
dec eax
mov ecx, edi
mov dword [ebp - 0x14], eax
add edi, 8
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 0x10]
mov dword [ebp - 0xc], edx
cmp edi, esi
jb 0x100082ac
mov ecx, dword [ebp - 0x30]
shr edx, cl
mov esi, edx
and esi, 7
add esi, 3
shr edx, 3
push 0xfffffffffffffffd
jmp 0x1000832c
lea esi, [ecx + 7]
mov dword [ebp - 0x30], ecx
cmp edi, esi
jae 0x1000831d
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10008a93
dec eax
mov ecx, edi
mov dword [ebp - 0x14], eax
add edi, 8
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 0x10]
mov dword [ebp - 0xc], edx
cmp edi, esi
jb 0x100082f2
mov ecx, dword [ebp - 0x30]
shr edx, cl
mov esi, edx
and esi, 0x7f
add esi, 0xb
shr edx, 7
push 0xfffffffffffffff9
and dword [ebp - 0x20], 0
pop eax
sub eax, ecx
add edi, eax
mov ecx, dword [ebx + 0x68]
mov eax, dword [ebp - 0x2c]
add ecx, dword [ebx + 0x64]
add eax, esi
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x1c], edi
cmp eax, ecx
ja 0x1000838a
test esi, esi
je 0x1000835f
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebx + 0x6c]
mov word [ebx + eax*2 + 0x74], cx
inc dword [ebx + 0x6c]
dec esi
jne 0x10008351
lea esi, [ebx + 0x58]
mov eax, dword [ebx + 0x68]
mov ecx, dword [ebx + 0x6c]
add eax, dword [ebx + 0x64]
mov dword [ebp - 0x2c], ecx
cmp ecx, eax
jb 0x100081df
mov esi, dword [ebp - 0x24]
jmp 0x1000839b
mov esi, dword [ebp - 0x24]
mov dword [esi + 0x18], str.invalid_bit_length_repeat
jmp 0x100078d9
mov esi, dword [ebp - 0x24]
mov dword [esi + 0x18], str.invalid_bit_length_repeat
mov dword [ebx + 4], 0x3f51
xor ecx, ecx
cmp dword [ebx + 4], 0x3f51
je 0x100083bd
cmp word [ebx + 0x274], cx
jne 0x100083c5
mov dword [esi + 0x18], str.invalid_code____missing_end_of_block
mov dword [ebx + 4], 0x3f51
mov edx, dword [ebp - 0xc]
jmp 0x100078e2
lea eax, [ebx + 0x534]
lea ecx, [ebx + 0x70]
mov dword [ebx + 0x50], eax
mov dword [ecx], eax
lea edx, [ebx + 0x58]
lea eax, [ebx + 0x2f4]
mov dword [edx], 9
push eax
push edx
push ecx
push dword [ebx + 0x64]
xor ecx, ecx
lea edx, [ebx + 0x74]
inc ecx
call fcn.10008c5a
add esp, 0x10
mov dword [ebp - 0x38], eax
test eax, eax
je 0x10008409
mov dword [esi + 0x18], str.invalid_literal_lengths_set
jmp 0x10008189
lea ecx, [ebx + 0x70]
mov eax, dword [ecx]
lea edx, [ebx + 0x5c]
mov dword [ebx + 0x54], eax
lea eax, [ebx + 0x2f4]
push eax
mov eax, dword [ebx + 0x64]
push edx
push ecx
push dword [ebx + 0x68]
add eax, 0x3a
mov dword [edx], 6
push 2
pop ecx
lea edx, [ebx + eax*2]
call fcn.10008c5a
mov edx, dword [ebp - 0xc]
add esp, 0x10
xor ecx, ecx
mov dword [ebp - 0x38], eax
test eax, eax
je 0x10008452
mov dword [esi + 0x18], str.invalid_distances_set
jmp 0x10007972
mov dword [ebx + 4], 0x3f47
mov dword [ebx + 4], 0x3f48
mov eax, dword [ebp - 0x14]
cmp eax, 6
jb 0x100084d1
cmp dword [ebp - 0x18], 0x102
jb 0x100084d1
mov ecx, dword [ebp - 0x28]
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp - 0x18]
mov dword [esi + 0x10], ecx
mov ecx, dword [ebp - 0x10]
mov dword [esi], ecx
mov ecx, esi
mov dword [esi + 4], eax
mov dword [ebx + 0x3c], edx
mov edx, dword [ebp - 0x34]
mov dword [ebx + 0x40], edi
call fcn.10007158
cmp dword [ebx + 4], 0x3f3f
mov eax, dword [esi + 0xc]
mov edx, dword [ebx + 0x3c]
mov edi, dword [ebx + 0x40]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x1c], edi
jne 0x100078e0
or dword [ebx + 0x1bc8], 0xffffffff
jmp 0x100078e0
mov esi, dword [ebx + 0x50]
xor eax, eax
mov dword [ebx + 0x1bc8], ecx
inc eax
mov ecx, dword [ebx + 0x58]
shl eax, cl
dec eax
mov dword [ebp - 0x30], esi
and eax, edx
mov eax, dword [esi + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
jbe 0x10008540
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10008a93
dec eax
mov ecx, edi
mov dword [ebp - 0x14], eax
add edi, 8
movzx eax, byte [esi]
shl eax, cl
mov ecx, dword [ebx + 0x58]
add edx, eax
mov eax, dword [ebx + 0x50]
inc esi
mov dword [ebp - 0xc], edx
xor edx, edx
inc edx
mov dword [ebp - 0x10], esi
shl edx, cl
dec edx
mov dword [ebp - 0x1c], edi
and edx, dword [ebp - 0xc]
mov eax, dword [eax + edx*4]
mov ecx, eax
mov edx, dword [ebp - 0xc]
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
ja 0x100084fa
test al, al
je 0x100085f9
test al, 0xf0
jne 0x100085f9
xor edi, edi
movzx ecx, al
mov ebx, eax
inc edi
shr ebx, 8
mov edx, eax
movzx esi, bl
add ecx, esi
shr eax, 0x10
shl edi, cl
mov ecx, esi
dec edi
mov dword [ebp - 0x20], edx
and edi, dword [ebp - 0xc]
shr edi, cl
mov ecx, dword [ebp - 0x30]
add edi, eax
mov eax, dword [ecx + edi*4]
mov ecx, eax
mov edi, dword [ebp - 0x1c]
shr ecx, 8
movzx esi, cl
movzx ecx, bl
mov ebx, dword [ebp - 0x3c]
add esi, ecx
cmp esi, edi
jbe 0x100085e9
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10008a93
mov esi, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x14], eax
mov ecx, edi
add edi, 8
mov dword [ebp - 0x1c], edi
movzx eax, byte [esi]
shl eax, cl
add dword [ebp - 0xc], eax
inc esi
movzx eax, word [ebp - 0x1e]
mov dword [ebp - 0x10], esi
xor esi, esi
movzx edi, dh
inc esi
movzx ecx, dl
add ecx, edi
shl esi, cl
mov ecx, edi
dec esi
and esi, dword [ebp - 0xc]
shr esi, cl
add esi, eax
mov eax, dword [ebx + 0x50]
mov eax, dword [eax + esi*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, edi
mov edi, dword [ebp - 0x1c]
cmp ecx, edi
ja 0x10008591
movzx ecx, dh
mov edx, dword [ebp - 0xc]
shr edx, cl
sub edi, ecx
mov dword [ebx + 0x1bc8], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [ebx + 0x1bc8], ecx
sub edi, ecx
shr edx, cl
mov ecx, eax
shr ecx, 0x10
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x1c], edi
mov dword [ebx + 0x44], ecx
test al, al
jne 0x10008629
mov dword [ebx + 4], 0x3f4d
jmp 0x10008039
test al, 0x20
je 0x10008640
or dword [ebx + 0x1bc8], 0xffffffff
mov dword [ebx + 4], 0x3f3f
jmp 0x10008039
test al, 0x40
je 0x10008653
mov esi, dword [ebp - 0x24]
mov dword [esi + 0x18], str.invalid_literal_length_code
jmp 0x100078d9
movzx eax, al
and eax, 0xf
mov dword [ebx + 4], 0x3f49
mov dword [ebx + 0x4c], eax
mov esi, dword [ebx + 0x4c]
test esi, esi
je 0x100086b1
jmp 0x10008690
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10008a93
dec eax
mov ecx, edi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 0x10]
mov dword [ebp - 0xc], edx
add edi, 8
cmp edi, esi
jb 0x1000866c
xor eax, eax
mov ecx, esi
inc eax
sub edi, esi
shl eax, cl
dec eax
mov dword [ebp - 0x1c], edi
and eax, edx
shr edx, cl
add dword [ebx + 0x44], eax
add dword [ebx + 0x1bc8], esi
mov dword [ebp - 0xc], edx
mov eax, dword [ebx + 0x44]
mov dword [ebx + 0x1bcc], eax
mov dword [ebx + 4], 0x3f4a
mov ecx, dword [ebx + 0x5c]
xor eax, eax
mov esi, dword [ebx + 0x54]
inc eax
shl eax, cl
dec eax
mov dword [ebp - 0x30], esi
and eax, edx
mov eax, dword [esi + eax*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
jbe 0x1000872a
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10008a93
dec eax
mov ecx, edi
mov dword [ebp - 0x14], eax
add edi, 8
movzx eax, byte [esi]
shl eax, cl
mov ecx, dword [ebx + 0x5c]
add edx, eax
mov eax, dword [ebx + 0x54]
inc esi
mov dword [ebp - 0xc], edx
xor edx, edx
inc edx
mov dword [ebp - 0x10], esi
shl edx, cl
dec edx
mov dword [ebp - 0x1c], edi
and edx, dword [ebp - 0xc]
mov eax, dword [eax + edx*4]
mov ecx, eax
mov edx, dword [ebp - 0xc]
shr ecx, 8
movzx ecx, cl
cmp ecx, edi
ja 0x100086e4
test al, 0xf0
jne 0x100087db
xor edi, edi
movzx ecx, al
mov ebx, eax
inc edi
shr ebx, 8
mov edx, eax
movzx esi, bl
add ecx, esi
shr eax, 0x10
shl edi, cl
mov ecx, esi
dec edi
mov dword [ebp - 0x20], edx
and edi, dword [ebp - 0xc]
shr edi, cl
mov ecx, dword [ebp - 0x30]
add edi, eax
mov eax, dword [ecx + edi*4]
mov ecx, eax
mov edi, dword [ebp - 0x1c]
shr ecx, 8
movzx esi, cl
movzx ecx, bl
mov ebx, dword [ebp - 0x3c]
add esi, ecx
cmp esi, edi
jbe 0x100087cb
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10008a93
mov esi, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x14], eax
mov ecx, edi
add edi, 8
mov dword [ebp - 0x1c], edi
movzx eax, byte [esi]
shl eax, cl
add dword [ebp - 0xc], eax
inc esi
movzx eax, word [ebp - 0x1e]
mov dword [ebp - 0x10], esi
xor esi, esi
movzx edi, dh
inc esi
movzx ecx, dl
add ecx, edi
shl esi, cl
mov ecx, edi
dec esi
and esi, dword [ebp - 0xc]
shr esi, cl
add esi, eax
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + esi*4]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add ecx, edi
mov edi, dword [ebp - 0x1c]
cmp ecx, edi
ja 0x10008773
movzx ecx, dh
mov edx, dword [ebp - 0xc]
sub edi, ecx
shr edx, cl
add dword [ebx + 0x1bc8], ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
add dword [ebx + 0x1bc8], ecx
sub edi, ecx
shr edx, cl
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x1c], edi
test al, 0x40
je 0x10008806
mov esi, dword [ebp - 0x24]
mov dword [esi + 0x18], str.invalid_distance_code
jmp 0x100078d9
mov ecx, eax
mov dword [ebx + 4], 0x3f4b
shr ecx, 0x10
movzx eax, al
and eax, 0xf
mov dword [ebx + 0x48], ecx
mov dword [ebx + 0x4c], eax
mov esi, dword [ebx + 0x4c]
test esi, esi
je 0x1000886c
jmp 0x1000884b
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10008a93
dec eax
mov ecx, edi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 0x10]
mov dword [ebp - 0xc], edx
add edi, 8
cmp edi, esi
jb 0x10008827
xor eax, eax
mov ecx, esi
inc eax
sub edi, esi
shl eax, cl
dec eax
mov dword [ebp - 0x1c], edi
and eax, edx
shr edx, cl
add dword [ebx + 0x48], eax
add dword [ebx + 0x1bc8], esi
mov dword [ebp - 0xc], edx
mov esi, dword [ebp - 0x24]
mov dword [ebx + 4], 0x3f4c
cmp dword [ebp - 0x18], 0
je 0x10008a90
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x18]
mov ecx, dword [ebx + 0x48]
cmp ecx, eax
jbe 0x100088c9
sub ecx, eax
cmp ecx, dword [ebx + 0x30]
jbe 0x100088a9
cmp dword [ebx + 0x1bc4], 0
je 0x100088a9
mov dword [esi + 0x18], str.invalid_distance_too_far_back
jmp 0x100078d9
mov esi, dword [ebx + 0x38]
cmp ecx, dword [ebx + 0x34]
jbe 0x100088bb
sub ecx, dword [ebx + 0x34]
add esi, dword [ebx + 0x2c]
sub esi, ecx
jmp 0x100088c0
sub esi, ecx
add esi, dword [ebx + 0x34]
mov eax, dword [ebx + 0x44]
cmp ecx, eax
jbe 0x100088d3
jmp 0x100088d1
mov esi, dword [ebp - 0x28]
mov eax, dword [ebx + 0x44]
sub esi, ecx
mov ecx, eax
cmp ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x28]
cmova ecx, dword [ebp - 0x18]
sub dword [ebp - 0x18], ecx
sub eax, ecx
mov dword [ebx + 0x44], eax
sub esi, edx
mov al, byte [esi + edx]
mov byte [edx], al
inc edx
dec ecx
jne 0x100088e7
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x28], edx
mov edx, dword [ebp - 0xc]
cmp dword [ebx + 0x44], ecx
jne 0x100078e2
mov dword [ebx + 4], 0x3f48
jmp 0x100078e2
cmp dword [ebp - 0x18], 0
je 0x10008a90
mov esi, dword [ebp - 0x28]
mov al, byte [ebx + 0x44]
inc dword [ebp - 0x28]
dec dword [ebp - 0x18]
mov byte [esi], al
mov dword [ebx + 4], 0x3f48
jmp 0x10008048
cmp dword [ebx + 0xc], ecx
je 0x10008a09
cmp edi, 0x20
jae 0x1000896e
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10008a93
dec eax
mov ecx, edi
mov dword [ebp - 0x14], eax
add edi, 8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], edi
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 0x10]
mov dword [ebp - 0xc], edx
cmp edi, 0x20
jb 0x10008940
xor ecx, ecx
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x18]
add dword [esi + 0x14], eax
add dword [ebx + 0x20], eax
test byte [ebx + 0xc], 4
je 0x100089b4
test eax, eax
je 0x100089b4
mov edx, dword [ebp - 0x28]
cmp dword [ebx + 0x14], ecx
je 0x1000899f
sub edx, eax
jne 0x10008994
mov eax, ecx
jmp 0x100089ab
mov ecx, dword [ebx + 0x1c]
push eax
call fcn.10005187
jmp 0x100089aa
mov ecx, dword [ebx + 0x1c]
sub edx, eax
push eax
call fcn.10004e8f
pop ecx
mov edx, dword [ebp - 0xc]
mov dword [ebx + 0x1c], eax
mov dword [esi + 0x30], eax
test byte [ebx + 0xc], 4
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], eax
je 0x100089fd
mov ecx, edx
mov eax, edx
shl eax, 0x10
and ecx, 0xff00
add ecx, eax
mov eax, edx
shr eax, 8
shl ecx, 8
and eax, 0xff00
add ecx, eax
mov eax, edx
shr eax, 0x18
add ecx, eax
cmp dword [ebx + 0x14], 0
cmovne ecx, edx
cmp ecx, dword [ebx + 0x1c]
je 0x100089fd
mov dword [esi + 0x18], str.incorrect_data_check
jmp 0x100078d9
xor ecx, ecx
mov edx, ecx
mov edi, ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x1c], edi
mov dword [ebx + 4], 0x3f4f
cmp dword [ebx + 0xc], ecx
je 0x10008a83
cmp dword [ebx + 0x14], ecx
je 0x10008a83
cmp edi, 0x20
jae 0x10008a49
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10008a93
dec eax
mov ecx, edi
mov dword [ebp - 0x14], eax
add edi, 8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], edi
movzx eax, byte [eax]
shl eax, cl
add edx, eax
inc dword [ebp - 0x10]
mov dword [ebp - 0xc], edx
cmp edi, 0x20
jb 0x10008a1f
xor ecx, ecx
cmp edx, dword [ebx + 0x20]
je 0x10008a7e
mov dword [esi + 0x18], str.incorrect_length_check
jmp 0x10007972
mov eax, dword [ebp - 0x28]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [esi], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 4], eax
mov dword [ebx + 0x3c], edx
mov dword [ebx + 0x40], edi
push 2
jmp 0x100078f5
mov dword [ebp - 0xc], ecx
mov edi, ecx
mov dword [ebx + 4], 0x3f50
xor eax, eax
inc eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov dword [esi + 0x10], ecx
mov ecx, dword [ebp - 0x10]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 0xc], edx
mov dword [esi], ecx
mov dword [ebx + 0x40], edi
xor edi, edi
mov dword [ebx + 0x3c], eax
mov eax, dword [ebp - 0x34]
cmp dword [ebx + 0x2c], edi
jne 0x10008acb
cmp eax, dword [esi + 0x10]
je 0x10008af4
cmp dword [ebx + 4], 0x3f51
jge 0x10008af4
sub eax, dword [esi + 0x10]
mov ecx, esi
mov edx, dword [esi + 0xc]
push eax
call fcn.100076a5
pop ecx
test eax, eax
je 0x10008af1
mov dword [ebx + 4], 0x3f52
push 0xfffffffffffffffc
jmp 0x100078f5
push 0xfffffffffffffffd
pop eax
jmp 0x10008a8d
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x40]
sub edx, dword [esi + 4]
sub eax, dword [esi + 0x10]
add dword [esi + 8], edx
add dword [esi + 0x14], eax
add dword [ebx + 0x20], eax
test byte [ebx + 0xc], 4
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x34], eax
je 0x10008b46
test eax, eax
je 0x10008b46
mov edx, dword [esi + 0xc]
cmp dword [ebx + 0x14], edi
je 0x10008b31
sub edx, eax
jne 0x10008b26
mov eax, edi
jmp 0x10008b3d
mov ecx, dword [ebx + 0x1c]
push eax
call fcn.10005187
jmp 0x10008b3c
mov ecx, dword [ebx + 0x1c]
sub edx, eax
push eax
call fcn.10004e8f
pop ecx
mov edx, dword [ebp - 0x40]
mov dword [ebx + 0x1c], eax
mov dword [esi + 0x30], eax
cmp dword [ebx + 4], 0x3f47
je 0x10008b58
cmp dword [ebx + 4], 0x3f42
jne 0x10008b5d
mov edi, 0x100
mov ecx, dword [ebx + 8]
neg ecx
mov dword [ebp - 0x30], 0x80
sbb ecx, ecx
xor eax, eax
and ecx, 0x40
cmp dword [ebx + 4], 0x3f3f
cmove eax, dword [ebp - 0x30]
add ecx, edi
add eax, ecx
add eax, dword [ebx + 0x40]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp - 0x38]
test edx, edx
jne 0x100078f6
cmp dword [ebp - 0x34], edx
jne 0x100078f6
push 0xfffffffffffffffb
test eax, eax
pop ecx
cmove eax, ecx
jmp 0x100078f6